Stefano Mazzocchi wrote:
>
> giacomo wrote:
>
> > > Thinking about it, for those like me who can't learn regexp (sorry, but
> > > I don't have that mindset), what do you think about adding something
> > > like
> > >
> > > <map:match pattern="**images/*.{gif|jpg|png}">
> > > <map:read src="images/{2}.gif" mime-type="image/{3}"/>
> > > </map:match>
> >
> > You like us to mix wildcard and regex matching?
>
> Matchers are pluggable anyway.
>
> But it's not a real issue, forget about it.
We can have a file to do default mapping of mime-type depending on
file extension.
file:/etc/mime.types
--
Sébastien Koechlin - IVision - skoechlin@ivision.fr
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
|