[WM] Auto generating "up" metadata

Paolo Zoppetti paolo.zoppetti.majorana.org
Fri Jan 3 10:27:05 GMT 2003


I have a directory structure that is like the structure of my site

e.g.:
/
  index.txt
/programming
  index.txt
  style.txt

I would like to automatically generate the "up" metadata for each page.
How can I do that? I tried to use the <{set}> directive but I don't know how to strip the last part of my page's name to obtain only the first one (that is: I would like to obtain programming from programming/style, foo/bar from foo/bar/bar1). Is it possible using the set directive?

Thanks in advance,
Paolo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://amgod.boxhost.net/pipermail/webmake-talk/attachments/20030103/220e25c6/attachment.htm


More information about the Webmake-talk mailing list