<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WpFunc &#187; rss feed</title>
	<atom:link href="http://www.wpfunc.com/tag/rss-feed/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpfunc.com</link>
	<description>Awesome, Quick, Simple WordPress Functions!</description>
	<lastBuildDate>Fri, 09 Jul 2010 09:05:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Fetch and display RSS feeds</title>
		<link>http://www.wpfunc.com/wordpress/fetch-and-display-rss-feeds.html</link>
		<comments>http://www.wpfunc.com/wordpress/fetch-and-display-rss-feeds.html#comments</comments>
		<pubDate>Sat, 05 Dec 2009 12:03:16 +0000</pubDate>
		<dc:creator>KaiseRCrazY</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[fetch feed]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[rss feed]]></category>
		<category><![CDATA[show rss]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=311</guid>
		<description><![CDATA[JBJ (WpRecipes) was released a WordPress tip about RSS. With this tip you can display RSS feed where you want. Only paste this code where you want to show your RSS Feed. Let&#8217;s Begin.
Here is the code;
Don&#8217;t forget change rss url on line 4.
&#60;?php if(function_exists('fetch_feed')) {

	include_once(ABSPATH.WPINC.'/feed.php');
	$feed = fetch_feed('http://feeds.feedburner.com/catswhoblog');

	$limit = $feed-&#62;get_item_quantity(7); // specify number of items
	$items [...]<hr /><div style="text-align:center;">
<a href="http://aweber.com/?339698" title="Email Marketing">
<img src="http://www.aweber.com/banners/email_marketing/468x60_an.gif" alt="Email Marketing $19/Month!" style="border:none;" /></a>
</div><hr />


Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/list-your-rss-feeds-via-wp-list-category.html' rel='bookmark' title='Permanent Link: List Your RSS Feeds via wp_list_category'>List Your RSS Feeds via wp_list_category</a></li>
<li><a href='http://www.wpfunc.com/wordpress/display-custom-content-to-search-engine-visitors.html' rel='bookmark' title='Permanent Link: Display Custom Content to Search Engine Visitors!'>Display Custom Content to Search Engine Visitors!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/most-recent-comments-without-any-plugin.html' rel='bookmark' title='Permanent Link: Most Recent Comments! Without Any Plugin'>Most Recent Comments! Without Any Plugin</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">JBJ (<a href="http://www.wprecipes.com" target="_blank">WpRecipes</a>) was released a WordPress tip about RSS. With this tip you can display RSS feed where you want. Only paste this code where you want to show your RSS Feed. Let&#8217;s Begin.<span id="more-311"></span></p>
<h3>Here is the code;</h3>
<p>Don&#8217;t forget change rss url on line 4.</p>
<pre class="brush: php;">&lt;?php if(function_exists('fetch_feed')) {

	include_once(ABSPATH.WPINC.'/feed.php');
	$feed = fetch_feed('http://feeds.feedburner.com/catswhoblog');

	$limit = $feed-&gt;get_item_quantity(7); // specify number of items
	$items = $feed-&gt;get_items(0, $limit); // create an array of items

}
if ($limit == 0) echo '&lt;div&gt;The feed is either empty or unavailable.&lt;/div&gt;';
else foreach ($items as $item) : ?&gt;

&lt;div&gt;
	&lt;a href=&quot;&lt;?php echo $item-&gt;get_permalink(); ?&gt;&quot;
	  title=&quot;&lt;?php echo $item-&gt;get_date('j F Y @ g:i a'); ?&gt;&quot;&gt;
		&lt;?php echo $item-&gt;get_title(); ?&gt;
	&lt;/a&gt;
&lt;/div&gt;
&lt;div&gt;
	&lt;?php echo substr($item-&gt;get_description(), 0, 200); ?&gt;
	&lt;span&gt;[...]&lt;/span&gt;
&lt;/div&gt;

&lt;?php endforeach; ?&gt;</pre>
<p>This code shows RSS Feed with 200 chars description.</p>
<p><em><strong><a href="http://www.wprecipes.com/wordpress-tip-fetch-and-display-rss-feeds" target="_blank">Here is the original post! </a></strong></em></p>
<a rel='nofollow' target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Ffetch-and-display-rss-feeds.html&amp;title=Fetch%20and%20display%20WpFunc%20feeds&amp;notes=JBJ%20%28WpRecipes%29%20was%20released%20a%20WordPress%20tip%20about%20RSS.%20With%20this%20tip%20you%20can%20display%20RSS%20feed%20where%20you%20want.%20Only%20paste%20this%20code%20where%20you%20want%20to%20show%20your%20RSS%20Feed.%20Let%27s%20Begin.%0D%0A%0D%0AHere%20is%20the%20code%3B%0D%0ADon%27t%20forget%20change%20rss%20url%20on%20line%204.%0D%0A%0D%0A%5Bph'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/delicious.png' class='sociable-img sociable-hovers ' title='del.icio.us' alt='del.icio.us' /></a><a rel='nofollow' target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Ffetch-and-display-rss-feeds.html&amp;title=Fetch%20and%20display%20WpFunc%20feeds&amp;bodytext=JBJ%20%28WpRecipes%29%20was%20released%20a%20WordPress%20tip%20about%20RSS.%20With%20this%20tip%20you%20can%20display%20RSS%20feed%20where%20you%20want.%20Only%20paste%20this%20code%20where%20you%20want%20to%20show%20your%20RSS%20Feed.%20Let%27s%20Begin.%0D%0A%0D%0AHere%20is%20the%20code%3B%0D%0ADon%27t%20forget%20change%20rss%20url%20on%20line%204.%0D%0A%0D%0A%5Bph'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/digg.png' class='sociable-img sociable-hovers ' title='Digg' alt='Digg' /></a><a rel='nofollow' target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Ffetch-and-display-rss-feeds.html&amp;t=Fetch%20and%20display%20WpFunc%20feeds'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/facebook.png' class='sociable-img sociable-hovers ' title='Facebook' alt='Facebook' /></a><a rel='nofollow' target='_blank'  href='http://www.friendfeed.com/share?title=Fetch%20and%20display%20WpFunc%20feeds&amp;link=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Ffetch-and-display-rss-feeds.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png' class='sociable-img sociable-hovers ' title='FriendFeed' alt='FriendFeed' /></a><a rel='nofollow' target='_blank'  href='http://reddit.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Ffetch-and-display-rss-feeds.html&amp;title=Fetch%20and%20display%20WpFunc%20feeds'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/reddit.png' class='sociable-img sociable-hovers ' title='Reddit' alt='Reddit' /></a><a rel='nofollow' target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Ffetch-and-display-rss-feeds.html&amp;title=Fetch%20and%20display%20WpFunc%20feeds'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' class='sociable-img sociable-hovers ' title='StumbleUpon' alt='StumbleUpon' /></a><a rel='nofollow' target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Ffetch-and-display-rss-feeds.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/technorati.png' class='sociable-img sociable-hovers ' title='Technorati' alt='Technorati' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Ffetch-and-display-rss-feeds.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/pdf.png' class='sociable-img sociable-hovers ' title='PDF' alt='PDF' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Ffetch-and-display-rss-feeds.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png' class='sociable-img sociable-hovers ' title='Print' alt='Print' /></a><br/><br/>

<p>Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/list-your-rss-feeds-via-wp-list-category.html' rel='bookmark' title='Permanent Link: List Your RSS Feeds via wp_list_category'>List Your RSS Feeds via wp_list_category</a></li>
<li><a href='http://www.wpfunc.com/wordpress/display-custom-content-to-search-engine-visitors.html' rel='bookmark' title='Permanent Link: Display Custom Content to Search Engine Visitors!'>Display Custom Content to Search Engine Visitors!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/most-recent-comments-without-any-plugin.html' rel='bookmark' title='Permanent Link: Most Recent Comments! Without Any Plugin'>Most Recent Comments! Without Any Plugin</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpfunc.com/wordpress/fetch-and-display-rss-feeds.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
