cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Per-Olof Norén <pe...@alma.nu>
Subject Re: [RT] Cocoon web applications
Date Wed, 17 Oct 2001 14:43:24 GMT

----- Original Message -----
From: "Stefan Koehler" <stefan.koehler@interface-projects.de>
To: <cocoon-dev@xml.apache.org>
Sent: Wednesday, October 17, 2001 3:17 PM
Subject: Re: [RT] Cocoon web applications


> > What about a kind of "auto-mount" feature, something like this scenario:
> >
> > in sitemap.xmap:
> >
> > <map:match pattern="automount/**">
> >     <map:mount
> > uri-prefix="automount"
> > src="automount/"
> > check-reload="yes"
> > automount="yes"
> > />
> > </map:match>
> >
> > Then, any directory that is created below automount/ and contains a
> > sitemap.xmap file is mounted dynamically.
>
> This is already possible.  The following pipeline automatically mounts
> sitemaps in subdirectories:
>
>   <map:pipeline>
>       <map:match pattern="*/**">
>           <map:mount uri-prefix="{1}" src="{1}/"/>
>       </map:match>
>   </map:pipeline>
>
> Stefan Köhler

Great!
This example ought to be included in the sitemap docs...
I Personally just don´t have the time right now, though
/Per-Olof



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message