cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: language aware images
Date Mon, 07 May 2001 13:24:14 GMT


On Mon, 7 May 2001, Torsten Curdt wrote:

> Sorry, if this is too OT but...
> I was thinking about something like this:
>
>  <map:match pattern="images/**.gif">
>     <map:act type="lang-select">
>      <map:read src="images/{lang}/{1}.gif" mime-type="image/jpg"/>
>     </map:act>
>  </map:match>
>
> Unfortunately this is predestined to give strange
> browser caching behavior when changing the language.

Wrong syntax. It should be:

      <map:read src="images/{lang}/{../1}.gif" mime-type="image/jpg"/>

Giacomo

BTW: can you move these question to the cocoon-user list because they
don't have anything to do with the development.


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


Mime
View raw message