[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements CountableComprehensive browser detection - ScientiaMobile

I am investigating use of Tera-WURFL PHP api as a comprehensive browser detection solution. I am very impressed with the range of features and mobile devices that are stored and the data that can be parsed back. So impressed that I find it rather absurd that there isn't a single mote about desktop browser capabilities. I have used the latest web browser patch, verified that it is updating the database correctly. But this apparently only provides a 'conclusive match' for an otherwise undetected desktop browser UA string.

I would like to acquire a commercial license and use Tera-WURFL to detect browsers, versions, operating systems and such and store them to track what our customer base is using to view which products and link it to other usage statistics. We have the budget for the licenses, and my understanding of the xml schema so far leads me to believe we could maintain our own patch of the desktop browsers we are interested in. But having to devote ongoing developer resources to the maintenance of this file seems like a deal breaker. At the very least, I would expect the desktop browsers (Firefox, IE, Chrome, Opera, Safari and Konqueror at the least -- also, these are the browsers currently included with the generic match web_browsers_patch.xml) to have the following data parse about them:

Intelligible unique identifier

Actual user agent string (instead of DO_NOT_MATCH

A clear indication that they are not a mobile browser (e.g. 'product_info' => 'mobile_browser' => false)

Device OS (e.g. Windows, Linux etc.)

OS version number (e.g. NT 6.1: WOW64 (Win7 64bit))

Browser family (possibly stored in 'brand_name' or ' model_name'

Browser version number ('mobile_browser_version' seems like the best matched place in the current return schema, but a misnomer)

Release date would be nice to have

Information on the rest of the browser information would be nice to have as well (javascript, image formats, bugs etc.)

I would really like to use the WURFL project for this. But without at least basic detection of desktop browser version and OS, I won't be able to move forward. Is there someone maintaining a patch file with this information in it? Is there any other way to get WURFL to work for my requirements short of maintaining my own patch xml on top of the licensing fees and WURFL xml and api updates? Do the commercial repository licenses (FAQ reference) include some of this information?

Thanks for the thorough explanation of your request! Historically, WURFL has been about accurately determining mobile device capabilities, without a focus on desktop web browsers. Since the creation of ScientiaMobile, however, we are pushing hard to detect anything that communicates via HTTP, to include desktop web browsers, smart TVs, game consoles and the like.

In the Database API (aka Tera-WURFL), there is a configuration option called SIMPLE_DESKTOP_ENGINE_ENABLE, which defaults to true. When enabled, once the API realizes the device is a desktop web browser, all attempts to match more accurately are abandoned and a generic web browser match is returned. This is intended to provide very high performance detection of desktop vs. mobile, since most customers do not care what desktop browser is in use; that said, in your environment, you should disable this option so desktop devices are matched properly.

We are also releasing a update to all of our APIs within the next few weeks that will increase the performance and accuracy of desktop browser detection.

With regards to desktop browser capabilities, we currently only maintain a few capabilities for desktop browsers. While we're not planning on adding any desktop-specific capabilities, it would not take much effort for us to maintain a few, like release_date and device_os. In order to determine if the device is a desktop web browser you can check if is_wireless_device, is_tablet and is_smarttv are false.

Slightly embarrassed I missed that config switch. I was fairly certain I had given those files a close reading. I would suggest an FAQ entry about desktop browsers, but if I'm actually the first to ask it, it's not exactly frequent, is it?

That does indeed get some useful information for my desktop browsers. It correctly matches the brand of chrome, firefox and internet explorer. But the version numbering is off. IE is correctly matched as 9.0, Firefox matched as 3.0 (but it should be 3.6.24, it's in the UA string) and chrome gives a blank version number, even though the latest patch xml has strings for 19 and 20. I would really like for the response to include an indication of the platform, but that might be able to be worked around.

Do you have a wiki page or timeline for the API update you mentioned? I'm very interested in where the API's are heading, especially the merging of the Database and PHP APIs you mentioned in the other reply.

UPDATE: this is an old post. Since WURFL users who look for information on how to better detect Desktop web browsers may be directed here by search engines, it is worth bringing to people attention that API 1.5 introduced a significant enhancements thanks to Virtual Capabilites. More info here:

I would really like to use the WURFL project for this. But without at least basic detection of desktop browser version and OS, I won't be able to move forward. Is there someone maintaining a patch file with this information in it? Is there any other way to get WURFL to work for my requirements short of maintaining my own patch xml on top of the licensing fees and WURFL xml and api updates? Do the commercial repository licenses (FAQ reference) include some of this information?

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

6 posts
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
• Page 1 of 1