cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Royal <pro...@managingpartners.com>
Subject Re: something that bugs me
Date Thu, 01 Nov 2001 14:27:29 GMT
At 08:08 PM 10/30/2001 +0100, you wrote:
>    <map:match pattern="**images/*.jpg">
>     <map:read src="images/{2}.jpg" mime-type="image/jpeg"/>
>    </map:match>
>
>could be condensed into
>
>    <map:match pattern="**images/*.*">
>     <map:read src="images/{2}.gif" mime-type="image/{3}"/>
>    </map:match>

it won't work for jpeg's unless you name them .jpeg as the mime type and 
the extension don't match :)
-pete

-- 
peter royal -> proyal@managingpartners.com
managing partners, inc. -> http://www.managingpartners.com


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


Mime
View raw message