similar to: Two questions about menus

Displaying 20 results from an estimated 1200 matches similar to: "Two questions about menus"

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
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 <
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 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
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
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 05
1
Changing the order in the menu for a directory
I find the file metaconfig.yaml very useful and I use it for setting the title and order of files. However, I can''t find a way to change the order of a directory. Consider the file layout: index.page dir/sub1.page I want to choose whether the order in the menu is [index,dir] or [dir, index]. I tried with: dir/: orderInfo: 1 or dir: orderInfo: 1
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
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 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
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 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:
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
2008 Jan 04
2
Menu - labels
Webgen uses file paths to generate multilevel menues, bread crumbs etc. And limits the character range in paths to a-zA-Z. As the directory names are used verbatim as menu labels this is fairly limitting for non-english pages. Is there a way to map directory names to configurable UTF8 strings for menu labels? oao
2007 Apr 16
2
id on menu
Hi, how can i make an "id" attribute that can be assigned to every voice of the generated menu? For example: <li class="webgen-menu-item-selected" id="homepage"> <span>HomePage</span> </li> <li id="news"> <a href="news.html">News</a> </li> and so on ... Is there an option of MenuStyle, or
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 Jun 26
6
Poll for new default website style
Hi everybody, after looking a bit around the Internet and checking which website style some users of webgen are using, I found that many people just stay at the default webgen website style (which is not really pretty ;-) So, I''m thinking about changing the default webgen website style to something more Web-2.0-ish, and I would like to know if there is a particular website style
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