cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: something that bugs me
Date Thu, 08 Nov 2001 00:30:48 GMT
Sebastien Koechlin wrote:
> 
> 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

What do you mean?

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------

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


Mime
View raw message