forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schlierf, Stephan" <Stephan.Schli...@VSA.de>
Subject AW: pattern matching in sitemap (was tab PDF)
Date Wed, 14 Jul 2004 14:16:49 GMT
> -----Urspr√ľngliche Nachricht-----
> Von: Robert McIntosh [mailto:robert.mcintosh@zurichna.com]
> Gesendet: Mittwoch, 14. Juli 2004 16:00
> An: user@forrest.apache.org
> Betreff: pattern matching in sitemap (was tab PDF)
> 
> 
> Alright, I got the tab specific PDF working, however I can't 
> get the URL 
> to work just right. I have in my sitemap:
> 
>         <map:match pattern="PersistenceManual.xml">
>           <map:mount uri-prefix="" src="my_aggregate.xmap" 
> check-reload="yes" />
>         </map:match>
> 
> which means that in my site.xml file I need to do:
> 
> <persistence-manual ...>
> ...
>    <whole_site_pdf label="Full PDF" href="../PersistenceManual.pdf"/>
> ...
> </persistence-manual>
> 
> notice that the href points 'up' one level. This of course works just 
> fine, but I was trying to do something like:
> 
>         <map:match pattern="persistence-manual/PersistenceManual.xml">
>           <map:mount uri-prefix="" src="my_aggregate.xmap" 
> check-reload="yes" />
>         </map:match>
> 
> which would match the relative url that gets generated because of the 
> tab/directory structure.  But that didn't quite do it. I even tried: 
>     <map:match pattern="*/PersistenceManual.xml">
> 
> and it still didn't like.
> 
> Any thoughts?

I'm not quite sure whether I get you right:

Does PersistenceManual.pdf work for you?
Does it include all the files you want to or would you like to narrow it
down ?
For which reason do you want to modify the <map:match pattern="" ...>
element in sitemap.xmap ?

Stephan

Mime
View raw message