[WM] creating a site with subdirs from flat source?
Thomas Kruse
tkruse.sforce.org
Sun Apr 22 22:00:13 IST 2001
Hi,
I wonder how to manage to tell webmake, that it should create a directory out of my flat "content.inc" file.
I would like to use the "Section" wmmeta tag to remember the final position of the file.
f.e.
<content name="intro.txt" format="text/html">
<wmmeta name="section" value="webmake/docu/" />
<content name="about.txt" format="text/html">
<wmmeta name="section" value="stuff/myself/" />
But after finally getting it to work, with this:
<for name=pg values="${all_stories}">
<out clean="all" name="${pg}" file="${this.section}${pg}.html">
${out_helper}
</out>
</for>
it just keeps the first section found (f.e. webmake/docu/) and puts all stuff there.
(As you can deduce I used the example files to start up with Webmake.)
Unfortunately I am pretty new to Webmake and Perl - perhaps someone could tell me, where I messed up the stuff.
Thanks,
Thomas
More information about the Webmake-talk
mailing list