cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Rolappe" <m_rola...@web.de>
Subject AW: Changing mime-type depending on the User-Agent
Date Fri, 11 Apr 2003 11:05:40 GMT
hi lenya,

as you can't dynamically specify the serializer or its mime-type your best
option probably is to utilize 'different' serializers selected by the
browser selector.

i.e. define different xhtml serializers with different mime-types and
<map:serialize> within <map:select type="browser">

> -----Ursprungliche Nachricht-----
> Von: cocoon-users-return-49012-m_rolappe=web.de@xml.apache.org
> [mailto:cocoon-users-return-49012-m_rolappe=web.de@xml.apache.org]Im
> Auftrag von Lenya L. Khachaturov
> Gesendet: Freitag, 11. April 2003 09:52
> An: cocoon-users@xml.apache.org
> Betreff: Changing mime-type depending on the User-Agent
>
>
> Hello,
>
> I would like to serve XHTML with different mime-types, depending on the
> browser (application/xhtml+xml for Mozilla, text/html for the other
> browsers out there). I guess, I should somehow use the Browser Selector
> and pass the correct mime-type to the XHTML Serializer. Could someone
> give me a hint on what should I write in the sitemap?
>
> --
> With best regards,
> Lenya Khachaturov
> mailto:lenya@chemsell.yaroslavl.ru
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>


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


Mime
View raw message