Thorsten Scherler wrote:
El jue, 06-10-2005 a las 00:22 +0200, Miroslav Mocek escribió:
ok, I am really lost, so I tried to get first DirectoryGenerator
running. (should be simpler, I hope)
I wasn't successfull. What I did:
I've created subdir "my" in content/xdocs and put 2 files in it -
first.xml and second.xml (which are just easier versions of index.xml now)
I've put this 3 lines in my sitemap.xmap. (found in
http://cocoon.zones.apache.org/demos/release/docs/userdocs/generators/directory-generator.html)
<map:match pattern="my*">
try <map:match pattern="my">
This will generate with the file reader not with the directory
generator. Miroslav see Cocoon docs on how to use generators (linked in
Thorsetens mail).
Ross