[Zope] Browser sniffing for wireless devices

Chris Muldrow muldrow@mac.com
Wed, 02 May 2001 19:05:42 +0000

Anyone doing browser sniffing with Zope to determine whether a user is
coming in with and HDML or WML-enabled phone? I've got some leads on this,
but I REALLY don't want to have to check for every USER_AGENT available. Is
there a good way to check and see A) if it's a WML device B) If not, if it's
an HDML device C) If it's not, is it an HTML device?

AND another wireless Zope conundrum. I'm serving some HDML pages from Zope.
When I feed a Content-Type: text/x-hdml with the page, it doesn't show up on
my Verizon Motorola 2260 phone. When I don't send the content-type, it does
show up. The opposite is true on the Phone.com SDK phone browser--without a
content-type, it chokes, but with a content type, it works. Any

-- Chris Muldrow, muldrow@mac.com