Displaying 20 results from an estimated 800 matches similar to: "Changing the order in the menu for a directory"
2007 Mar 05
1
Creating a simple tag plugin
I want to create a tag processor that is activated by something like:
{flickr: http://www.flickr.com/photos/censi/232006603/}
(it then downloads from flickr the description of the photo -- look
for example at http://www.dis.uniroma1.it/~acensi/category/sss06.html)
This is my flickr.rb:
load_plugin ''webgen/plugins/tags/tag_processor''
module Tags
class FlickrTag <
2006 Dec 29
3
Leading blank lines in codeblocks ignored?
(In the following I write <tab> because my MUA strips tabs)
Consider the code:
----
Paragraph
<tab>
<tab> Line
<tab>
----
or even:
----
Paragraph
<tab><space>
<tab> Line
<tab>
----
Markdown.pl ignores the leading blank line in the code block.
Is this intended behaviour?
--
Andrea Censi
"Life is too important to be taken
2006 Dec 29
6
Doubt about standard syntax
I have a doubt about the standard syntax (actually, it's the only test
that maruku doesn't pass yet).
Lists MUST be preceded by an empty line?
So the following are only 4 paragraphs, without list items, right?
-----------
Paragraph and no space:
* ciao
Paragraph and 1 space:
* ciao
Paragraph and 3 spaces:
* ciao
Paragraph and 4 spaces:
* ciao
-----------
In other words, a
2007 Mar 30
4
Current status of webgen 0.4.3 and 0.5.0 (new plugin system)
Hi everybody!
As the easter holidays have now finally arrived and all the exams are
over, I will have more time for webgen again!
Summary
=======
* Changes included in the upcoming 0.4.3 release
* webgen repository
* Status on 0.5.0
* Detailed information on the new 0.5.0 plugin system
Changes for 0.4.3
-----------------
I have collected all mails/forum entries/ML postings in which bugs
2007 Mar 06
1
I''m crashing my head on this
I get this error:
ERROR -- Invalid page file
</Users/andrea/06MELANIA/censi-2006/andrea_web_site/wg/src/index.page>:
Invalid structure of meta information part
on a file that starts with:
---
title: Sample hello page
inMenu: true
---
which is copied from one of the examples.
I attach the whole file.
--
Andrea Censi
"Life is too important to be taken seriously" (Oscar
2007 Apr 01
11
--color doesn''t work with --drb w/rspec_autotest
If I got this to work, do you think we could/should check in
rspec_autotest into rspec?
I''ve updated rspec_autotest abit, so let me know if you''d like the
modified code.
Scott
2007 Mar 17
1
Webgen and incremental generation (nukumi2 did it)
> There is already a plugin in the feature request tracker (created by
> Fritz Heinrichmeyer) which provides blogging and rss support
> (although for webgen 0.3.8). Based on this and comments of other
> people I have taken notes so as to what one would expect from such a
> plugin and when I have enough time I will post them to this mailing
> list for further discussion!
I add
2006 Dec 27
4
Maruku: a better Markdown interpreter for Ruby.
Hello to all!
Maruku is a Markdown interpreter written in Ruby. It is released under the GPL.
Maruku implements the original Markdown syntax and all the
improvements in PHP Markdown Extra. Moreover, it implements some ideas
from MultiMarkdown, and adds a syntax for specifying metadata for
block elements.
Unlike Bluecloth, Maruku creates an in-memory representation of the
document tree, and this
2007 Mar 09
3
Transformation order
I see that the well-defined order for transforming a page to HTML is:
- Transform the content using the content converter
...
- Replace tags
I think it should be the other way around.
I wrote this plugin that transform
{flickr: <url of the photo>}
into something like:
<div> Foto, caption, etc. </div>
Now, because of the order of transformations, the
2006 Dec 30
4
Escaping inside code blocks?
I am doing unit-tests for Maruku and every once in a while I run into
some doubts.
I am posting a lot to the list, but all of these messages should be
in-topic (tell me if not).
Consider the input:
---
`There is a literal backtick (\`) here.`
`There is a literal backtick (\\`) here.`
``There is a literal backtick (`) here.``
---
The documentation says that line 2 and 3 are equivalent.
2007 Mar 11
0
Tag plugin for writing META elements
I like (and Google likes it too) that each page has a different description.
Use the tag {metainfo: } in your <head>, and add the
"description","author","keywords" fields to the pages'' metainfo.
---
title: Title for the page
description: Description for this page.
keywords: example, plugin, input
---
Content
--
Andrea Censi
"Life is too
2006 Dec 29
3
Revised 2005 proposal for meta-data
Hello to all!
This is the revised 2005 proposal for meta-data, much more in detail:
http://maruku.rubyforge.org/proposal.md
http://maruku.rubyforge.org/proposal.html
http://maruku.rubyforge.org/proposal.pdf
I wait for comments.
At the end of the document, there are some open issues.
And I need a regexp wizard to look over the "grammar" section.
Cheers,
--
Andrea Censi
2007 Mar 04
1
Questions about tags
Two questions about tags:
1) How can I disable tags execution? In my webpage I use a lot of "{"
"}" (LaTeX / Bibtex); also Maruku uses the brackets for uses; plus, I
don''t need tags.
2) Is it possible to change the magic characters "{" and "}"? Ok, not
really a question -- the answer is no, I looked at the source code.
If it was possible to
2007 Mar 11
1
Two questions about menus
1) Feature request: the possibility to indicate a "short title" to
appear in the menu when the title would be too long.
2) Consider this site:
a.page
misc/
sub.page
Now I see in the menu:
A
Misc
| Sub
Is there any way to change "Misc" to an arbitrary string?
I tried with
misc:
title: arbitrary
with no luck.
--
Andrea Censi
"Life is
2007 Jan 10
1
Proposal for meta-data (third revision)
Hello again!
This is the revised revised revised proposal:
http://maruku.rubyforge.org/proposal.md
http://maruku.rubyforge.org/proposal.html
http://maruku.rubyforge.org/proposal.pdf
The main change was to use an opening string of brace+colon "{:" to
not lock-up the precious "{" forever, so that in the future one could
think of using the braces also for other purposes.
2007 Jan 02
3
Revised - Revised 2005 proposal for meta-data
Happy new year!
This is the revised revised proposal:
http://maruku.rubyforge.org/proposal.md
http://maruku.rubyforge.org/proposal.html
http://maruku.rubyforge.org/proposal.pdf
I wait for comments.
--
Andrea Censi
"Life is too important to be taken seriously" (Oscar Wilde)
Web: http://www.dis.uniroma1.it/~censi
2007 Mar 04
1
Maruku + webgen - access to meta-information from content converter
Hi!
I am the author of Maruku (http://maruku.rubyforge.org/), a
Markdown-superset interpreter.
At the moment I am
1) learning webgen
2) integrating Maruku+webgen
3) converting my website to webgen,
so I have many questions (one question, one message).
First one: I wrote the straightforward maruku.rb converter (see attachment).
In a content converter, how can I access the meta-information of
2007 Mar 04
1
default.template listed in the menu
I''m not really sure if this is a bug or a feature :-)
If I use in config.yaml:
File/PageHandler:
defaultMetaInfo:
inMenu: true
I get also the file "default.template" listed in the left menu.
(this happens with the repository version)
--
Andrea Censi
"Life is too important to be taken seriously" (Oscar Wilde)
Web:
2007 Mar 30
2
gallery issue...
Hi,
i''m new of both webgen and ruby, so maybe this can be a dumb question, but
i can''t recognize any solution by myself.
I use webgen 0.4.1 (the newest webgen .deb package).
I''m trying to make a test gallery, without succeeding in it.
i done (ehm, copied) the yeah.gallery file in the root directory:
1 title: Example Gallery
2 imagesPerPage: 32
3 images:
2006 Dec 30
4
best way to use emphasis within code?
I want to use fixed font like a code block but also use italics and bold
at same time.
For example in HTML:
<tt>$ <b>mail -u <i>user</i></b></tt>
What is the best way to do this in markdown, especially if I have several
lines of content that needs to be spaced out correctly?
Thanks
Jeremy C. Reed