<?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: Easy Code to Show Your Most Recent Tweets in WordPress</title>
	<atom:link href="http://jeffsayre.com/2010/03/13/easy-code-to-show-your-most-recent-tweets-in-wordpress-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://jeffsayre.com/2010/03/13/easy-code-to-show-your-most-recent-tweets-in-wordpress-2/</link>
	<description>Thoughts on startups, leadership, the Web, and disruptive technologies</description>
	<lastBuildDate>Sat, 28 Jan 2012 17:35:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Nate</title>
		<link>http://jeffsayre.com/2010/03/13/easy-code-to-show-your-most-recent-tweets-in-wordpress-2/#comment-10059</link>
		<dc:creator>Nate</dc:creator>
		<pubDate>Sat, 16 Jul 2011 00:27:05 +0000</pubDate>
		<guid isPermaLink="false">http://jeffsayre.com/?p=491#comment-10059</guid>
		<description>Thanks Jeff, I tried multiple methods and finally your method worked.

Thanks for sharing!

All the best,

Nate.

ps. we share similar interests and I would enjoy connecting with you on LinkedIn or elsewhere.</description>
		<content:encoded><![CDATA[<p>Thanks Jeff, I tried multiple methods and finally your method worked.</p>
<p>Thanks for sharing!</p>
<p>All the best,</p>
<p>Nate.</p>
<p>ps. we share similar interests and I would enjoy connecting with you on LinkedIn or elsewhere.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jobbogamer</title>
		<link>http://jeffsayre.com/2010/03/13/easy-code-to-show-your-most-recent-tweets-in-wordpress-2/#comment-3031</link>
		<dc:creator>jobbogamer</dc:creator>
		<pubDate>Sun, 22 Aug 2010 07:19:45 +0000</pubDate>
		<guid isPermaLink="false">http://jeffsayre.com/?p=491#comment-3031</guid>
		<description>That worked great, thanks Jeff!</description>
		<content:encoded><![CDATA[<p>That worked great, thanks Jeff!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Sayre</title>
		<link>http://jeffsayre.com/2010/03/13/easy-code-to-show-your-most-recent-tweets-in-wordpress-2/#comment-3024</link>
		<dc:creator>Jeff Sayre</dc:creator>
		<pubDate>Sat, 21 Aug 2010 23:40:55 +0000</pubDate>
		<guid isPermaLink="false">http://jeffsayre.com/?p=491#comment-3024</guid>
		<description>Ah, I thought I had corrected that issue already in the code above. I guess I never made the change.

Look at the code again, on line 33, I&#039;ve changed the echoed output by passing it through an additional function to decode an HTML entities.</description>
		<content:encoded><![CDATA[<p>Ah, I thought I had corrected that issue already in the code above. I guess I never made the change.</p>
<p>Look at the code again, on line 33, I&#8217;ve changed the echoed output by passing it through an additional function to decode an HTML entities.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jobbogamer</title>
		<link>http://jeffsayre.com/2010/03/13/easy-code-to-show-your-most-recent-tweets-in-wordpress-2/#comment-3021</link>
		<dc:creator>jobbogamer</dc:creator>
		<pubDate>Sat, 21 Aug 2010 22:14:59 +0000</pubDate>
		<guid isPermaLink="false">http://jeffsayre.com/?p=491#comment-3021</guid>
		<description>One last try. It shows up as:

&amp; apos ;

but without spaces.</description>
		<content:encoded><![CDATA[<p>One last try. It shows up as:</p>
<p>&amp; apos ;</p>
<p>but without spaces.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jobbogamer</title>
		<link>http://jeffsayre.com/2010/03/13/easy-code-to-show-your-most-recent-tweets-in-wordpress-2/#comment-3020</link>
		<dc:creator>jobbogamer</dc:creator>
		<pubDate>Sat, 21 Aug 2010 22:14:22 +0000</pubDate>
		<guid isPermaLink="false">http://jeffsayre.com/?p=491#comment-3020</guid>
		<description>Oh crap, it replaced the code with the apostrophe. It shows up as &lt;code&gt;&apos;&lt;/code&gt;.</description>
		<content:encoded><![CDATA[<p>Oh crap, it replaced the code with the apostrophe. It shows up as <code>&apos;</code>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jobbogamer</title>
		<link>http://jeffsayre.com/2010/03/13/easy-code-to-show-your-most-recent-tweets-in-wordpress-2/#comment-3019</link>
		<dc:creator>jobbogamer</dc:creator>
		<pubDate>Sat, 21 Aug 2010 22:13:30 +0000</pubDate>
		<guid isPermaLink="false">http://jeffsayre.com/?p=491#comment-3019</guid>
		<description>Great code, thanks!

I&#039;m using it to display three tweets on my site. One question though: How can I stop it showing the codes for non-alphabet characters, and actually show the characters?

Ex. &quot;Today was great, I&#039;m definitely doing that again&quot; shows up as &quot;Today was great, I&apos;m definitely doing that again&quot;</description>
		<content:encoded><![CDATA[<p>Great code, thanks!</p>
<p>I&#8217;m using it to display three tweets on my site. One question though: How can I stop it showing the codes for non-alphabet characters, and actually show the characters?</p>
<p>Ex. &#8220;Today was great, I&#8217;m definitely doing that again&#8221; shows up as &#8220;Today was great, I&apos;m definitely doing that again&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iair S.</title>
		<link>http://jeffsayre.com/2010/03/13/easy-code-to-show-your-most-recent-tweets-in-wordpress-2/#comment-813</link>
		<dc:creator>Iair S.</dc:creator>
		<pubDate>Mon, 19 Apr 2010 16:39:18 +0000</pubDate>
		<guid isPermaLink="false">http://jeffsayre.com/?p=491#comment-813</guid>
		<description>How would the function be, to grab as many latest tweets as you want? not just 1 or 2.

Thank you.</description>
		<content:encoded><![CDATA[<p>How would the function be, to grab as many latest tweets as you want? not just 1 or 2.</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Sayre</title>
		<link>http://jeffsayre.com/2010/03/13/easy-code-to-show-your-most-recent-tweets-in-wordpress-2/#comment-689</link>
		<dc:creator>Jeff Sayre</dc:creator>
		<pubDate>Thu, 25 Mar 2010 20:28:09 +0000</pubDate>
		<guid isPermaLink="false">http://jeffsayre.com/?p=491#comment-689</guid>
		<description>Kory-

All you need to do is the following:

1.) Request the two most recent tweets by setting rpp = 2, instead of one, in the query string.

2.) Then, in the parse_feed function, add an additional variable to extract the second tweet array element:

$tweet_array3 = explode( &quot;&quot;, $tweet_array[2] );

3.) You&#039;ll next need to add another $tweet variable and process it in the same way as the first one--making sure that where ever there is a $tweet variable referenced, you create a new reference for $tweet2. This could be done via a loop if you wished.

$tweet2 = $tweet_array3[0];
... etcetera

4.) Finally, you&#039;ll need to make sure that the new $tweet2 variable is returned and also is referenced in the list() function.

return array ( $tweet, $tweet2, $tweet_extra );

...

list ( $tweet, $tweet2, $tweet_extra ) = parse_feed( file_get_contents( $latest_tweet ) );

Style to your liking!</description>
		<content:encoded><![CDATA[<p>Kory-</p>
<p>All you need to do is the following:</p>
<p>1.) Request the two most recent tweets by setting rpp = 2, instead of one, in the query string.</p>
<p>2.) Then, in the parse_feed function, add an additional variable to extract the second tweet array element:</p>
<p>$tweet_array3 = explode( &#8220;&#8221;, $tweet_array[2] );</p>
<p>3.) You&#8217;ll next need to add another $tweet variable and process it in the same way as the first one&#8211;making sure that where ever there is a $tweet variable referenced, you create a new reference for $tweet2. This could be done via a loop if you wished.</p>
<p>$tweet2 = $tweet_array3[0];<br />
&#8230; etcetera</p>
<p>4.) Finally, you&#8217;ll need to make sure that the new $tweet2 variable is returned and also is referenced in the list() function.</p>
<p>return array ( $tweet, $tweet2, $tweet_extra );</p>
<p>&#8230;</p>
<p>list ( $tweet, $tweet2, $tweet_extra ) = parse_feed( file_get_contents( $latest_tweet ) );</p>
<p>Style to your liking!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kory</title>
		<link>http://jeffsayre.com/2010/03/13/easy-code-to-show-your-most-recent-tweets-in-wordpress-2/#comment-687</link>
		<dc:creator>Kory</dc:creator>
		<pubDate>Thu, 25 Mar 2010 17:55:56 +0000</pubDate>
		<guid isPermaLink="false">http://jeffsayre.com/?p=491#comment-687</guid>
		<description>What if you wanted to grab the 2 most recent tweets? 

Need a loop?</description>
		<content:encoded><![CDATA[<p>What if you wanted to grab the 2 most recent tweets? </p>
<p>Need a loop?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

