<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Parsing Twitter with RegExp</title>
	<atom:link href="http://saturnboy.com/2010/02/parsing-twitter-with-regexp/feed/" rel="self" type="application/rss+xml" />
	<link>http://saturnboy.com/2010/02/parsing-twitter-with-regexp/</link>
	<description>Code, Work, and Life</description>
	<lastBuildDate>Wed, 25 Aug 2010 09:44:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: justin</title>
		<link>http://saturnboy.com/2010/02/parsing-twitter-with-regexp/comment-page-1/#comment-156</link>
		<dc:creator>justin</dc:creator>
		<pubDate>Thu, 08 Jul 2010 20:17:47 +0000</pubDate>
		<guid isPermaLink="false">http://saturnboy.com/?p=1055#comment-156</guid>
		<description>@Austin: Sounds like your server is super lame.  Maybe you should ask for an upgrade?  Good luck.</description>
		<content:encoded><![CDATA[<p>@Austin: Sounds like your server is super lame.  Maybe you should ask for an upgrade?  Good luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Austin</title>
		<link>http://saturnboy.com/2010/02/parsing-twitter-with-regexp/comment-page-1/#comment-155</link>
		<dc:creator>Austin</dc:creator>
		<pubDate>Tue, 06 Jul 2010 19:53:57 +0000</pubDate>
		<guid isPermaLink="false">http://saturnboy.com/?p=1055#comment-155</guid>
		<description>Now what&#039;s the solution if you&#039;re running php 4.4.4 and JSON isn&#039;t on the server?

I suppose you can do a JSON backwards compatibility, anyone have a ref to that?</description>
		<content:encoded><![CDATA[<p>Now what&#8217;s the solution if you&#8217;re running php 4.4.4 and JSON isn&#8217;t on the server?</p>
<p>I suppose you can do a JSON backwards compatibility, anyone have a ref to that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel Esquivel</title>
		<link>http://saturnboy.com/2010/02/parsing-twitter-with-regexp/comment-page-1/#comment-126</link>
		<dc:creator>Gabriel Esquivel</dc:creator>
		<pubDate>Sun, 02 May 2010 22:01:33 +0000</pubDate>
		<guid isPermaLink="false">http://saturnboy.com/?p=1055#comment-126</guid>
		<description>Thank you so much!</description>
		<content:encoded><![CDATA[<p>Thank you so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: justin</title>
		<link>http://saturnboy.com/2010/02/parsing-twitter-with-regexp/comment-page-1/#comment-94</link>
		<dc:creator>justin</dc:creator>
		<pubDate>Thu, 25 Mar 2010 19:46:08 +0000</pubDate>
		<guid isPermaLink="false">http://saturnboy.com/?p=1055#comment-94</guid>
		<description>@Steve: Here&#039;s a simple file cache implementation for you...

&lt;p class=&quot;bottom&quot;&gt;Here is &lt;code&gt;tweets_cron.php&lt;/code&gt; (also include the &lt;code&gt;getTweets()&lt;/code&gt; function from the blog post):&lt;/p&gt;

&lt;pre lang=&quot;php&quot;&gt;$tweets = getTweets(&#039;saturnboy&#039;);
if ($tweets !== false) {
    file_put_contents(&#039;tweets_saturnboy.txt&#039;, $tweets);
}&lt;/pre&gt;

&lt;p class=&quot;bottom&quot;&gt;Here is a snippet from my blog sidebar (not really, but stay with me):&lt;/p&gt;

&lt;pre lang=&quot;php&quot;&gt;$tweets = file_get_contents(&#039;tweets_saturnboy.txt&#039;);
print $tweets;&lt;/pre&gt;

Done.  Just put &lt;code&gt;tweets_cron.php&lt;/code&gt; in the crontab hourly or faster.  Of course, if you need multiple users, you can use an array of usernames and loop.</description>
		<content:encoded><![CDATA[<p>@Steve: Here&#8217;s a simple file cache implementation for you&#8230;</p>
<p class="bottom">Here is <code>tweets_cron.php</code> (also include the <code>getTweets()</code> function from the blog post):</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$tweets</span> <span style="color: #339933;">=</span> getTweets<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'saturnboy'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$tweets</span> <span style="color: #339933;">!==</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #990000;">file_put_contents</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'tweets_saturnboy.txt'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$tweets</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p class="bottom">Here is a snippet from my blog sidebar (not really, but stay with me):</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$tweets</span> <span style="color: #339933;">=</span> <span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'tweets_saturnboy.txt'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">print</span> <span style="color: #000088;">$tweets</span><span style="color: #339933;">;</span></pre></div></div>

<p>Done.  Just put <code>tweets_cron.php</code> in the crontab hourly or faster.  Of course, if you need multiple users, you can use an array of usernames and loop.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://saturnboy.com/2010/02/parsing-twitter-with-regexp/comment-page-1/#comment-93</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 25 Mar 2010 16:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://saturnboy.com/?p=1055#comment-93</guid>
		<description>Looks great... any chance you would provide final complete code?

Thanks,
Steve</description>
		<content:encoded><![CDATA[<p>Looks great&#8230; any chance you would provide final complete code?</p>
<p>Thanks,<br />
Steve</p>
]]></content:encoded>
	</item>
</channel>
</rss>
