<?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>EasyLifeguide &#187; Display Other Blogs Feeds</title>
	<atom:link href="http://www.easylifeguide.net/tag/display-other-blogs-feeds/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.easylifeguide.net</link>
	<description>How To &#124; Make Money Online &#124; Freelancing advice and Tips &#124;  Work From Home Jobs &#124; Resignation Letter Templates &#124; Cover Letter Templates &#124; Philippines</description>
	<lastBuildDate>Thu, 05 Jan 2012 04:18:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How To Display Other Blog&#8217;s Feeds to Your WordPress Blog</title>
		<link>http://www.easylifeguide.net/display-other-blog-feed/</link>
		<comments>http://www.easylifeguide.net/display-other-blog-feed/#comments</comments>
		<pubDate>Mon, 03 Dec 2007 15:47:28 +0000</pubDate>
		<dc:creator>Jers</dc:creator>
				<category><![CDATA[Blogging Tips]]></category>
		<category><![CDATA[Wordpress tips]]></category>
		<category><![CDATA[Display Other Blogs Feeds]]></category>
		<category><![CDATA[how to display feeds from other blogs]]></category>

		<guid isPermaLink="false">http://www.easylifeguide.net/2007/12/03/wordpress-tipshow-to-display-other-blogs-feeds-to-your-wordpress-blog/</guid>
		<description><![CDATA[There are several plug-ins available out there for this functionality, but if you are like me who is a bit lazy , here&#8217;s a simple way to add other blog&#8217;s feeds to your wordpress blog. How To Display Other Blogs [....] <a class="readmore" href="http://www.easylifeguide.net/display-other-blog-feed/"> READ MORE </a> ]]></description>
			<content:encoded><![CDATA[<p>There are several plug-ins available out there for this functionality, but if you are like me who is a bit lazy <img src='http://www.easylifeguide.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  , here&#8217;s a simple way to add other blog&#8217;s feeds to your wordpress blog.</p>
<p><strong>How To Display Other Blogs Feeds to Your WordPress Blog</strong></p>
<ol>
<li>Open the template file you want to put the other blogs&#8217; feeds. For illustration purposes, we will going to edit the sidebar.php. Our goal is to display the latest n posts of our target blog. In my example, we will going to display the latest 3 posts.</li>
<li>To do this, just add the following code anywhere in the sidebar.php where you want to display the feeds, customizing the highlighted text with your own preference :</li>
<pre>&lt;h2&gt;&lt;?php _e('<strong>LifeGuide</strong>'); ?&gt;&lt;/h2&gt;
&lt;?php // Get RSS Feed(s)
include_once(ABSPATH . WPINC . '/rss.php');
$rss = fetch_rss('<strong>http://feeds.feedburner.com/EasyLifeGuide</strong>');
$maxitems = <strong>3</strong>;
$items = array_slice($rss-&gt;items, 0, $maxitems);
?&gt;
&lt;ul&gt;
&lt;?php if (empty($items)) echo '&lt;li&gt;No items&lt;/li&gt;';
else
foreach ( $items as $item ) : ?&gt;
&lt;li&gt;&lt;a href='&lt;?php echo $item['link']; ?&gt;'
title='&lt;?php echo $item['title']; ?&gt;'&gt;
&lt;?php echo $item['title']; ?&gt;
&lt;/a&gt;&lt;/li&gt;
&lt;?php endforeach; ?&gt;
&lt;/ul&gt;</pre>
<li>Apply some CSS customization on the appearance, the above code should look like the image below.</li>
</ol>
<p style="text-align: center;"><img id="others" src="http://www.easylifeguide.net/wp-content/uploads/rss.jpg" alt="rss.jpg" /></p>
<p style="text-align: center;">&nbsp;</p>
<p>Source(s): WordPress Documentation</p>
]]></content:encoded>
			<wfw:commentRss>http://www.easylifeguide.net/display-other-blog-feed/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

