<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 19 May 2013 23:53:11 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[TheseDays.com: An Easy Way to Detect Mobile Devices]]></title>
      <guid>http://www.phpdeveloper.org/news/14938</guid>
      <link>http://www.phpdeveloper.org/news/14938</link>
      <description><![CDATA[<p>
On the These Days blog there's <a href="http://labs.thesedays.com/2010/07/29/an-easy-way-to-detect-mobile-devices/">a recent post</a> talking about creating a mobile version of your site and how you can detect if the visitor is using a mobile browser or not using <a href="http://wurfl.sourceforge.net/">WURFL</a>.
</p>
<blockquote>
<a href="http://wurfl.sourceforge.net/">WURFL</a>, The Wireless Universal Resource File (WURFL) is an open source project which collects information about all of the different mobile devices in use. It is constantly being updated, so as long as you keep your WURFL definitions up-to-date you don't have to worry about your detection scripts not recognising new devices. By querying a WURFL database with your visitor's User Agent string, you can not only determine whether the device they are using is a mobile device, but whether it has a touch screen, can make phone calls, is a tablet (iPad) and <a href="http://wurfl.sourceforge.net/help_doc.php#product_info">more</a>.
</blockquote>
<p>
They include a snippet of code that uses the <a href="http://www.tera-wurfl.com/wiki/index.php/Installation">Tera-WURFL service</a> and a call to getCapabilitiesFromAgent to see what kind of client is making the requests and what it supports.
</p>]]></description>
      <pubDate>Wed, 11 Aug 2010 08:24:35 -0500</pubDate>
    </item>
  </channel>
</rss>
