On 4/5/07, Nils Kaiser <[EMAIL PROTECTED]> wrote:

 Hello,

 we are using a webservice to check if a user agent is a mobile or full
browser. We have to integrate this on the root path of a site to redirect
mobile browsers to a mobile page.

I'm a little but stunned that mobile browsers don't identify themselves
with some standard term in the user agent string, which would moot
the whole issue.  How often do new ones come out?  A CPAN module,
for instance it could be called WWW:UserAgent::type, could be maintained,
that would provide an answer based on the provided useragent string, by
a concise regular expression, maintained by whoever maintains it.  That's
what has to be going on behind the scenes at the webservice in question
anyway.  A web service seems a fragile way to accomplish this task.  Can
the provider of the service just sell you a subscription to updates to a module
that answers the question locally?

I presume I missed the meeting where the mobile devices gave up on WAP
and went to normal HTTP.

--
"It bothered me so much that I lost my ability to make good
analogies." -- Scott Adams

Reply via email to