Displaying 20 results from an estimated 900 matches similar to: "default.template listed in the menu"
2007 Aug 06
1
(no subject)
[Using webgen 0.4.5, ruby 1.8.5, Ubuntu Linux 7.04]
I want "index.page" to use "index.template" and all other pages to use "default.template".
Attempt 1: Just set the "template" key in "index.page":
---
title: "Index Page"
template: index.page
--- content, markdown
...
Result: "index.page" gets rendered with
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 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 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
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 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:
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 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 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
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 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 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 Dec 26
1
scope of plugns
After more than one hour of countless tries, I ask myself a simple question :
On what items are plugins supposed to execute ?
I''ve tried to create a filelist plugin which, for a page, displays all
file in the same directory (a rather old school view of website, where
each directory contains an entry point).
But, whatever I try, my plugin code is never invoked, and my page
content is never
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
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
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 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.
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
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.
2008 Mar 16
8
include a page in another
Hi,
for my isbn plugin, I''m wishing to incldue generated isbn pages in
caller pages (the ones with <isbn value=""> tags).
But I want my isbn page to be processed before for its tags to be
transformed (like the relocatable or other ones). Besides, i do not
want its header to be included.
Is there an easy solution for that, or should I do the work myself ?
--
Nicolas