[WM] WebMake dealing with spaces in content name
Ralph Pape
ralph.pape.web.de
Thu Jul 3 12:31:04 IST 2003
Hi all,
is there a way webmake can deal with spaces in content names?
I separated my content in files like "Lion Iterno 235.txt". These names
I use to generate a menu automatically.
Sure I could use _ as replacement for the spaces in the names, but I
have also contens with regular _ in it. So I can't replace all _ to
spaces. :(
I use the code below to generate the all_files list.
<contents
src="./raw" name=".../*.txt" format="text/et"
listname="all_files" namesubst="s/\.txt//"
/>
But if I get the list in a perl block with
my @newlist = get_list("all_files");
the filenames with spaces are converted to multiple entries in the
newlist, not one like "Lion Iterno 235".
How can this be solved? Any ideas?
Greeting Ralph
More information about the Webmake-talk
mailing list