[WM] creating a site with subdirs from flat source?

Justin Mason jm.jmason.org
Mon Apr 23 16:09:57 IST 2001


Thomas Kruse said:

> 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 o
> f 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> 

Try ${pg.txt.section} instead of ${this.section}, "this" doesn't 
work in <out> parameters...

--j.




More information about the Webmake-talk mailing list