<?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>Tue, 18 Jun 2013 19:43:51 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Stoyan Stefanov's Blog: Really simple Really Simple Syndication syndication]]></title>
      <guid>http://www.phpdeveloper.org/news/7995</guid>
      <link>http://www.phpdeveloper.org/news/7995</link>
      <description><![CDATA[<p>
On PHPied.com, <i>Stoyan Stefanov</i> shows how, via a simple bit of code (using some SimpleXML) he <a href="http://www.phpied.com/really-simple-really-simple-syndication-syndication/">replaced the javascript widgets</a> he was previously using for weather information.
</p>
<blockquote>
So it was time for a change, since those buttons were generated by some javascripts, hosted by theweathernetwork, which is kind of a web 1.0 way of sharing content. In the days of APIs and stuff, this is a shame.
</blockquote>
<p>
He dropped theweathernetwork.com's information and went for something a little more API-friendly - the weather feeds that Yahoo! offers. Once he figured out the right URL parameter to pass for the cities, it was just a matter of whipping up a 30 line script (using SimpleXML) to grab the weather information for the city and echo out the data.
</p>]]></description>
      <pubDate>Thu, 07 Jun 2007 07:06:07 -0500</pubDate>
    </item>
  </channel>
</rss>
