Hey Jason;

Mobile device detection is an imperfect skill, but there are a few established methods that folks still leverage.
https://en.wikipedia.org/wiki/Apache_Mobile_Filter
https://en.wikipedia.org/wiki/Mobile_device_detection
https://en.wikipedia.org/wiki/User_agent

I would also dig thru the archives of source code for the Mura CMS (getmura.com) to see how they do it / did it in CFML.

I say "Did it" (past tense) - because the trend is really away from maintaining different sets of code and trying to anticipate every portal resolution out there (phone, tablet, small tablet, large phone, phablet?).

Instead, to make use of a responsive page template: one that automatically adjusts to the client device portal size.
http://html5up.net/

One set of source code, all device sizes. Problem solved.

Al

On 2/3/2016 9:19 AM, Jason Allen wrote:
Hi Matthew, 

So for my windows PC, it returned 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36'

I'm guessing my best bet is to parse the string and find 'Windows NT 6.1' and associate that to a Windows Desktop?   Is there a list that you know of that I can use to accurately parse this information rather than guessing?  
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to