sfactor
sfactor

Reputation: 13062

Mobile device identification from http headers

I have a large data-set containing HTTP Header information taken from network measurements. I need to use the UserAgent present in those headers to identify whether the useragent is for a Desktop or a Mobile Device or anything else. After doing that I need to identify the particular mobile device and perform further analysis on these device types.

So, can someone tell me a comprehensive free database of mobile devices. Preferably, there should be an easy interface to match these user-agent strings and get the device information. I primarily work in Perl.

Upvotes: 1

Views: 6451

Answers (4)

Miftis
Miftis

Reputation: 75

Here is the correct Current Link there appears to have been an update to the module to the link broke. If this does break then search HTTP::BrowserDetect

Upvotes: 0

dfine
dfine

Reputation: 11

WURFL is the best option to do this. they provide XML file with more details about the Device.

Upvotes: 1

Mike Ellery
Mike Ellery

Reputation: 2094

HTTP::BrowserDetect might be helpful here. In particular, there is a mobile() method that might help you. The module seems pretty current on UA strings, although it's impossible to be completely up-to-date at any given moment (unless there is a 100% accurate, live repository of all UserAgents in the wild..).

Upvotes: 1

eumiro
eumiro

Reputation: 212885

Is Wikipedia's list free enough?

Or have a look at WURFL.

Upvotes: 3

Related Questions