Recognising a mobile device

Giganews Newsgroups
Subject: Recognising a mobile device
Posted by:  Alfred Molon (alfred_mol…
Date: Sun, 9 Sep 2012

I'm wondering what would be necessary to create a mobile version of my
site. This could for instance have a simplified page layout with fewer

The first step would probably be to detect the mobile device. I guess
this might be done by reading the user agent string and comparing it
with a database (for instance wurfl, and then
serving a page which fits on the screen. Is this the way of doing it or
is there a better way?


Alfred Molon - Photos of Asia, Africa and Europe