<?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, 23 May 2013 15:58:58 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[SitePoint PHP Blog: How to Create Your Own Twitter Widget in PHP, Part 3]]></title>
      <guid>http://www.phpdeveloper.org/news/15702</guid>
      <link>http://www.phpdeveloper.org/news/15702</link>
      <description><![CDATA[<p>
The SitePoint PHP blog has <a href="http://blogs.sitepoint.com/2011/01/07/create-your-own-twitter-widget-3/">part three</a> of their "create your own Twitter widget" series posted today. This is the last post of the series and involves a little cleanup on the data pulled from the Twitter API.
</p>
<blockquote>
In <a href="http://blogs.sitepoint.com/create-your-own-twitter-widget-1">part 1 of this series</a>, we examined the Twitter API, created a PHP TwitterStatus class, and imported the latest tweets in JSON format. In <a href="http://blogs.sitepoint.com/create-your-own-twitter-widget-2">Part 2</a>, we parsed the Twitter data, replaced links, and generated the complete HTML for our widget. In this last post, we'll cache our widget and translate tweet dates into a friendlier format - <a href="http://blogs.sitepointstatic.com/examples/tech/twitter/twitterwidget.zip">download the full source code here</a>.
</blockquote>
<p>
They talk about caching the data pulled back from the API (making it faster and less resource-intensive) and how to parse the dates that you get back from the request using the <a href="http://php.net/datetime">DateTime</a> functionality included with PHP.
</p>]]></description>
      <pubDate>Fri, 07 Jan 2011 10:23:59 -0600</pubDate>
    </item>
  </channel>
</rss>
