<?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>Thu, 04 Dec 2008 14:26:34 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[ThinkPHP Blog: Accessing Nike+ data with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10191</guid>
      <link>http://www.phpdeveloper.org/news/10191</link>
      <description><![CDATA[<p>
On the ThinkPHP blog today, <i>Stephanie Ehrling</i> has <a href="http://blog.thinkphp.de/archives/323-Accessing-Nike+-data-with-PHP.html">posted about</a> a method for PHP to take in the output of the <a href="http://www.nike.com/nikeplus">Nike+ equipment</a> and put it into a usable form.
</p>
<blockquote>
There is no official API that allows you to use the raw data. Nevertheless the data are sent to the Flash via XML so there is a chance to use them. For PHP Rasmus Lerdorf himself has <a href="http://lerdorf.com/php/nikeplus.phps">implemented a class</a> to access these data. The class allows to authenticate a user and fetch the running data of a user in a XML-Format
</blockquote>
<p>
She gives an example of it in action - simple creation of an object then a call with the username and password. Behind the scenes, the data is pulled in and dropped into a SimpleXML object that includes total distance, total calories burned and data on the most recent run.
</p>]]></description>
      <pubDate>Thu, 15 May 2008 10:26:40 -0500</pubDate>
    </item>
  </channel>
</rss>
