cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Koechlin <skoech...@ivision.fr>
Subject Re: something that bugs me
Date Wed, 07 Nov 2001 13:20:30 GMT
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


Mime
View raw message