<?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: How to Import and Display Feeds in WordPress 2.8 and Beyond</title>
	<atom:link href="http://digwp.com/2009/11/import-and-display-feeds-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://digwp.com/2009/11/import-and-display-feeds-in-wordpress/</link>
	<description>Take your WordPress skills to the next level.</description>
	<lastBuildDate>Sat, 11 Feb 2012 16:22:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Tips Menulis Online</title>
		<link>http://digwp.com/2009/11/import-and-display-feeds-in-wordpress/#comment-3319</link>
		<dc:creator>Tips Menulis Online</dc:creator>
		<pubDate>Thu, 11 Feb 2010 14:29:06 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=961#comment-3319</guid>
		<description>Very usefull. Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>Very usefull. Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Starr</title>
		<link>http://digwp.com/2009/11/import-and-display-feeds-in-wordpress/#comment-3077</link>
		<dc:creator>Jeff Starr</dc:creator>
		<pubDate>Sun, 10 Jan 2010 03:02:11 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=961#comment-3077</guid>
		<description>By default, WordPress won&#039;t process PHP from within posts. For that you a need a plugin.. I think there&#039;s one called &quot;PHPexec&quot;, but I&#039;ve never used it and can&#039;t recommend executing PHP from within post content. But it is an option if you aren&#039;t comfortable placing the code into a template file.</description>
		<content:encoded><![CDATA[<p>By default, WordPress won&#8217;t process PHP from within posts. For that you a need a plugin.. I think there&#8217;s one called &#8220;PHPexec&#8221;, but I&#8217;ve never used it and can&#8217;t recommend executing PHP from within post content. But it is an option if you aren&#8217;t comfortable placing the code into a template file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sonic75</title>
		<link>http://digwp.com/2009/11/import-and-display-feeds-in-wordpress/#comment-3070</link>
		<dc:creator>Sonic75</dc:creator>
		<pubDate>Sat, 09 Jan 2010 06:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=961#comment-3070</guid>
		<description>Hi Jeff,
  Thank you SO MUCH for this!   I am very excited reading this!

My (probably) biggest problem, still?  Probably lack of experience in coding.

For reference:  I followed the directions of &quot;#4. Embed an RSS Reader&quot; from another URL at  http://www.smashingmagazine.com/2009/02/02/mastering-wordpress-shortcodes/ .  It worked perfectly.  Except that when used it only shows titles/links.  Not excerpts or actual content.

So, searching around the internet for a better solution (that could show some content), I found your post here.

The other post had code that made a function, that I pasted into my theme&#039;s functions.php file.  Then I used [function_name] in the post&#039;s HTML to call it, and display the results on a blog page.

I have eagerly looked at your plug-&amp;-play code above-- several times-- but unfortunately I am not knowledgeable enough yet to know how to turn it into a function, etc., and access it from a blog post.

How do I use this?   How do I access it in the HTML of a blog post, to have the content show up on a blog page?

Thank you for taking mercy on me and bringing the &quot;plug-&amp;-play&quot; instructions down to an even simpler level !!</description>
		<content:encoded><![CDATA[<p>Hi Jeff,<br />
  Thank you SO MUCH for this!   I am very excited reading this!</p>
<p>My (probably) biggest problem, still?  Probably lack of experience in coding.</p>
<p>For reference:  I followed the directions of &#8220;#4. Embed an RSS Reader&#8221; from another URL at  <a href="http://www.smashingmagazine.com/2009/02/02/mastering-wordpress-shortcodes/" rel="nofollow">http://www.smashingmagazine.com/2009/02/02/mastering-wordpress-shortcodes/</a> .  It worked perfectly.  Except that when used it only shows titles/links.  Not excerpts or actual content.</p>
<p>So, searching around the internet for a better solution (that could show some content), I found your post here.</p>
<p>The other post had code that made a function, that I pasted into my theme&#8217;s functions.php file.  Then I used [function_name] in the post&#8217;s HTML to call it, and display the results on a blog page.</p>
<p>I have eagerly looked at your plug-&amp;-play code above&#8211; several times&#8211; but unfortunately I am not knowledgeable enough yet to know how to turn it into a function, etc., and access it from a blog post.</p>
<p>How do I use this?   How do I access it in the HTML of a blog post, to have the content show up on a blog page?</p>
<p>Thank you for taking mercy on me and bringing the &#8220;plug-&amp;-play&#8221; instructions down to an even simpler level !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad</title>
		<link>http://digwp.com/2009/11/import-and-display-feeds-in-wordpress/#comment-2832</link>
		<dc:creator>Chad</dc:creator>
		<pubDate>Wed, 16 Dec 2009 22:02:52 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=961#comment-2832</guid>
		<description>I think my problem might be bigger but for all of the RSS feeds in my site I get this error.

&lt;code&gt;RSS Error: WP HTTP Error: couldn&#039;t connect to host&lt;/code&gt;

This appears in the dashboard and I get similar errors when placing the snippet into the page.  I developing this locally on MAMP.</description>
		<content:encoded><![CDATA[<p>I think my problem might be bigger but for all of the RSS feeds in my site I get this error.</p>
<p><code>RSS Error: WP HTTP Error: couldn't connect to host</code></p>
<p>This appears in the dashboard and I get similar errors when placing the snippet into the page.  I developing this locally on MAMP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Starr</title>
		<link>http://digwp.com/2009/11/import-and-display-feeds-in-wordpress/#comment-2464</link>
		<dc:creator>Jeff Starr</dc:creator>
		<pubDate>Wed, 25 Nov 2009 17:05:38 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=961#comment-2464</guid>
		<description>You can specify &lt;em&gt;any&lt;/em&gt; cache duration (in seconds) using this:

&lt;code&gt;$feed-&gt;set_cache_duration (43200);&lt;/code&gt;

This will update the feed every 12 hours, but you could theoretically set it for any amount of time (just don&#039;t go crazy!)</description>
		<content:encoded><![CDATA[<p>You can specify <em>any</em> cache duration (in seconds) using this:</p>
<p><code>$feed-&gt;set_cache_duration (43200);</code></p>
<p>This will update the feed every 12 hours, but you could theoretically set it for any amount of time (just don&#8217;t go crazy!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Montana Flynn</title>
		<link>http://digwp.com/2009/11/import-and-display-feeds-in-wordpress/#comment-2455</link>
		<dc:creator>Montana Flynn</dc:creator>
		<pubDate>Tue, 24 Nov 2009 22:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=961#comment-2455</guid>
		<description>Wow, I had no idea it was that easy.   I will use this to pull my latest tweet instead of JS.   My concern is how often does it update?</description>
		<content:encoded><![CDATA[<p>Wow, I had no idea it was that easy.   I will use this to pull my latest tweet instead of JS.   My concern is how often does it update?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Starr</title>
		<link>http://digwp.com/2009/11/import-and-display-feeds-in-wordpress/#comment-2451</link>
		<dc:creator>Jeff Starr</dc:creator>
		<pubDate>Tue, 24 Nov 2009 18:01:39 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=961#comment-2451</guid>
		<description>Okay thanks, that&#039;s good to know. Definitely makes things a little cleaner. I&#039;ll update the article after checking it out for myself.</description>
		<content:encoded><![CDATA[<p>Okay thanks, that&#8217;s good to know. Definitely makes things a little cleaner. I&#8217;ll update the article after checking it out for myself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DD32</title>
		<link>http://digwp.com/2009/11/import-and-display-feeds-in-wordpress/#comment-2447</link>
		<dc:creator>DD32</dc:creator>
		<pubDate>Tue, 24 Nov 2009 07:21:10 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=961#comment-2447</guid>
		<description>Just a quick note:
you do NOT have to specifically include ANY file for the fetching of feeds in WordPress 2.8+, thats done transparently.

So, All you should do is this:

&lt;code&gt;if ( function_exists(&#039;fetch_feed&#039;) ) {&lt;/code&gt;
&lt;code&gt;$feed = fetch_feed(&#039;http://....&#039;);&lt;/code&gt;
&lt;code&gt;}&lt;/code&gt;

&lt;code&gt;wp-includes/feed.php&lt;/code&gt; is included automatically for you (to access the various feed template functions and &lt;code&gt;fetch_feed()&lt;/code&gt;), And requires SimplePie if required to load the feed.</description>
		<content:encoded><![CDATA[<p>Just a quick note:<br />
you do NOT have to specifically include ANY file for the fetching of feeds in WordPress 2.8+, thats done transparently.</p>
<p>So, All you should do is this:</p>
<p><code>if ( function_exists('fetch_feed') ) {</code><br />
<code>$feed = fetch_feed('http://....');</code><br />
<code>}</code></p>
<p><code>wp-includes/feed.php</code> is included automatically for you (to access the various feed template functions and <code>fetch_feed()</code>), And requires SimplePie if required to load the feed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Starr</title>
		<link>http://digwp.com/2009/11/import-and-display-feeds-in-wordpress/#comment-2443</link>
		<dc:creator>Jeff Starr</dc:creator>
		<pubDate>Mon, 23 Nov 2009 23:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=961#comment-2443</guid>
		<description>Ahh yes.. I totally forgot about that. Will get it added soon. Thanks for the heads up! :)</description>
		<content:encoded><![CDATA[<p>Ahh yes.. I totally forgot about that. Will get it added soon. Thanks for the heads up! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kylegetsspam</title>
		<link>http://digwp.com/2009/11/import-and-display-feeds-in-wordpress/#comment-2442</link>
		<dc:creator>kylegetsspam</dc:creator>
		<pubDate>Mon, 23 Nov 2009 23:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=961#comment-2442</guid>
		<description>Nah, I saw that one just fine.  But you don&#039;t have it linked in via &#039;rel = &quot;alternative&quot;&#039; in your HTML header code, so the orange RSS icon doesn&#039;t show up in Firefox&#039;s address bar.

It&#039;s not a big deal; it&#039;s just the first place I looked for it.  :P</description>
		<content:encoded><![CDATA[<p>Nah, I saw that one just fine.  But you don&#8217;t have it linked in via &#8216;rel = &#8220;alternative&#8221;&#8216; in your HTML header code, so the orange RSS icon doesn&#8217;t show up in Firefox&#8217;s address bar.</p>
<p>It&#8217;s not a big deal; it&#8217;s just the first place I looked for it.  :P</p>
]]></content:encoded>
	</item>
</channel>
</rss>

