cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject Browser selector
Date Tue, 18 Feb 2003 04:01:12 GMT

FYI, 
It looks like you do 
	"User-Agent:"  contains "Nokia"
to trigger the WAP browser type in the BrowserSelector in the default sitemap.

This is not a good idea, unfortunately, as Nokia 9000 series is HTML capable, 
and has the "Nokia" word in the "User-Agent" header, effectively returning 
the wrong content.

In case of Nokia, one should look at the "Accepts:" header and look for "wml" 
instead, but not sure about other phones and PDAs.


Niclas

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


Mime
View raw message