Linczak, Jonathan W. wrote:
Hi all,
I searched and searched and couldn't find a reference to this in the
mailing list (I know someone asked about this earlier), so I'm asking
again. Sorry! :(
I'm launching a new site on the 12th, and I'd like to do something
different with this one. Basically, I'd like to change the URL scheme
from something like this:
/lenya/pubname/authoring/something/exciting.html
to:
/lenya/pubname/authoring/something/exciting/
There's a lot of legitimate reasons why I want to do this,
no reason to explain ;-)
so I won't go into that here. From what I remember from that question
I couldn't find, someone suggested to look at adding something into
the publication sitemap to make this happen. Looking at the sitemap,
I have to admit that I'm a bit confused.
For one, here's the first pipeline in the default pub:
<map:pipeline>
<map:match pattern="**/">
<map:redirect-to uri="index.html"/>
</map:match>
</map:pipeline>
I think this pipeline needs to be changed to something like
<map:pipeline>
<map:match pattern="**/*/">
<map:redirect-to uri="../{1}.html"/>
</map:match>
</map:pipeline>
because it currently doesn't make sense at all and is basically useless.
Please note that my suggestion isn't totally generic, but I hope it explains
what I mean.
HTH
Michi
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]