[WM] looking for an EASY way to generate some output

Matt Okeson-Harlow matt.technomage.net
Wed May 7 08:26:05 IST 2003


ok, i have looked through the documentation and tried to look the the
mailing list archives, and looked at the sources on webmake.taint.org...

and i cannot get this to work the way i think it should.

here is the situation, i have a single dir with text in it

<contents src="files" name="*.txt" format="text/et" listname="all_files">

now, here is my problem, i want to do something like:

<for name=page values="${all_files}">
 <out name="${page}" file="${page}.html">${out_helper}</out>
</for>

but, this does not work...
i did notice the perl code that looks to be generating a new all_files
listing... but it did not make a whole lot of sense to me...

if anyone could provide a SIMPLE way to generate a file listing, that
would be great!

i know i will still have to link the actuall content manually, that is
fine for now, i just want the output to be automatically created.

-- 
matt okeson-harlow     matt at technomage dot net    http://technomage.net 
($do || !$do) && undef($try) ;  # Master of Perl, Yoda is.  Hmmmm?
send icbm here =--> 43°3'11'N-89°28'52"W




More information about the Webmake-talk mailing list