<?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, 26 May 2013 04:30:23 -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>
    <item>
      <title><![CDATA[Simon Harris' Blog: Making Phone Calls and Sending SMS with HTML]]></title>
      <guid>http://www.phpdeveloper.org/news/14630</guid>
      <link>http://www.phpdeveloper.org/news/14630</link>
      <description><![CDATA[<p>
In a recent post o his blog <i>Simon Harris</i> talks about how you can <a href="http://pointbeing.net/weblog/2010/01/making-phone-calls-and-sending-sms-with-html.html">make phone calls and send SMS messages</a> from your PHP applications (well, sort of). He shows how to trigger phone calls and SMS on certain phones by way of an HTML page.
</p>
<blockquote>
Okay, so you can't really make phone calls and send SMS messages using only HTML; that would be silly. However, if you are developing web sites and web applications for mobile handsets, you can take advantage of some features in XHTML Mobile Profile which make it easy for a user to call a number without typing that number in. You can also use the same mechanism to trigger - on the user's handset - an SMS or MMS dialog with the intended recipient's number and the message content prepopulated.
</blockquote>
<p>
He includes three examples if it in action (using PHP to render the page) - creating a link to make a call from the HTML, sending an SMS if the text inside a link and doing the same with a MMS message. He uses the <a href="http://wurfl.sourceforge.net/">WURFL project</a> to make it all work and code snippets are included.
</p>]]></description>
      <pubDate>Thu, 10 Jun 2010 08:59:06 -0500</pubDate>
    </item>
  </channel>
</rss>
