<?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: Display Most Recent Wordpress Posts On Another Site</title>
	<atom:link href="http://sivel.net/2008/01/most-recent-wp-posts/feed/" rel="self" type="application/rss+xml" />
	<link>http://sivel.net/2008/01/most-recent-wp-posts/</link>
	<description>Throwing Hot Coals</description>
	<lastBuildDate>Sat, 06 Mar 2010 22:28:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0-alpha</generator>
	<item>
		<title>By: Brian</title>
		<link>http://sivel.net/2008/01/most-recent-wp-posts/#comment-8419</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Sat, 06 Mar 2010 16:36:36 +0000</pubDate>
		<guid isPermaLink="false">http://sivel.net/archives/50#comment-8419</guid>
		<description>This is fantastic and exactly what I&#039;m looking to do.  Do you know a way of pulling the author name also?  We use FeedBurner if that matters.</description>
		<content:encoded><![CDATA[<p>This is fantastic and exactly what I&#8217;m looking to do.  Do you know a way of pulling the author name also?  We use FeedBurner if that matters.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel Gaujard</title>
		<link>http://sivel.net/2008/01/most-recent-wp-posts/#comment-6751</link>
		<dc:creator>Joel Gaujard</dc:creator>
		<pubDate>Sat, 28 Nov 2009 17:34:29 +0000</pubDate>
		<guid isPermaLink="false">http://sivel.net/archives/50#comment-6751</guid>
		<description>Thanks for your script. With this I made a module for PrestaShop (an open source ecommerce solution).
Thanks a lot !</description>
		<content:encoded><![CDATA[<p>Thanks for your script. With this I made a module for PrestaShop (an open source ecommerce solution).<br />
Thanks a lot !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rishi</title>
		<link>http://sivel.net/2008/01/most-recent-wp-posts/#comment-1940</link>
		<dc:creator>Rishi</dc:creator>
		<pubDate>Wed, 04 Mar 2009 22:54:22 +0000</pubDate>
		<guid isPermaLink="false">http://sivel.net/archives/50#comment-1940</guid>
		<description>Thank you so much for this guide! I&#039;m implementing it on some of my addon domains to show the recent posts on my main domain. :-)</description>
		<content:encoded><![CDATA[<p>Thank you so much for this guide! I&#8217;m implementing it on some of my addon domains to show the recent posts on my main domain. :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://sivel.net/2008/01/most-recent-wp-posts/#comment-1852</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 27 Feb 2009 21:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://sivel.net/archives/50#comment-1852</guid>
		<description>I only use PHP so I cannot vouch for other languages.  Do some google searches for parsing an rss feed using the language your site is written in.</description>
		<content:encoded><![CDATA[<p>I only use PHP so I cannot vouch for other languages.  Do some google searches for parsing an rss feed using the language your site is written in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: @Queenofgeek</title>
		<link>http://sivel.net/2008/01/most-recent-wp-posts/#comment-1848</link>
		<dc:creator>@Queenofgeek</dc:creator>
		<pubDate>Fri, 27 Feb 2009 19:12:29 +0000</pubDate>
		<guid isPermaLink="false">http://sivel.net/archives/50#comment-1848</guid>
		<description>How do you do this on a NON php site?</description>
		<content:encoded><![CDATA[<p>How do you do this on a NON php site?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://sivel.net/2008/01/most-recent-wp-posts/#comment-1818</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Tue, 24 Feb 2009 20:42:36 +0000</pubDate>
		<guid isPermaLink="false">http://sivel.net/archives/50#comment-1818</guid>
		<description>http://kayarc.com/blog/2009/02/mysql-query-for-most-recent-wordpress-post/

&lt;code&gt;/*mysql query*/
$sql = “SELECT post_date, post_title, post_content, guid, DATE_FORMAT(post_date, ‘%m-%d-%Y %H:%i%s’)AS post_date FROM wp_posts WHERE post_status=’publish’ ORDER BY post_date DESC LIMIT 0,1″;
$query = mysql_query($sql);
$array = mysql_fetch_row($query);

/*variables*/
$post_date = $array[&#039;0&#039;];
$post_title = $array[&#039;1&#039;];
$post_content = $array[&#039;2&#039;];
$post_url = $array[&#039;3&#039;];

$latest_blog_post = &lt;&lt;&lt;EOD
/*design view*/
&lt;a href=”$post_url”&gt;$post_title&lt;/a&gt;&lt;br /&gt;
EOD;

/*echo view*/
echo $latest_blog_post;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p><a href="http://kayarc.com/blog/2009/02/mysql-query-for-most-recent-wordpress-post/" rel="nofollow">http://kayarc.com/blog/2009/02/mysql-query-for-most-recent-wordpress-post/</a></p>
<p><code>/*mysql query*/<br />
$sql = “SELECT post_date, post_title, post_content, guid, DATE_FORMAT(post_date, ‘%m-%d-%Y %H:%i%s’)AS post_date FROM wp_posts WHERE post_status=’publish’ ORDER BY post_date DESC LIMIT 0,1″;<br />
$query = mysql_query($sql);<br />
$array = mysql_fetch_row($query);</p>
<p>/*variables*/<br />
$post_date = $array['0'];<br />
$post_title = $array['1'];<br />
$post_content = $array['2'];<br />
$post_url = $array['3'];</p>
<p>$latest_blog_post = &lt;&lt;&lt;EOD<br />
/*design view*/<br />
&lt;a href=”$post_url”&gt;$post_title&lt;/a&gt;&lt;br /&gt;<br />
EOD;</p>
<p>/*echo view*/<br />
echo $latest_blog_post;</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://sivel.net/2008/01/most-recent-wp-posts/#comment-942</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Wed, 24 Sep 2008 08:12:16 +0000</pubDate>
		<guid isPermaLink="false">http://sivel.net/archives/50#comment-942</guid>
		<description>Hi Matt!

Exactly what I need on my site. Thanks :) Only things extra I need, if possible, is the post image thumbnail and post text (not whole text, just the first little part of article) to be included with the link.

Thanks again!</description>
		<content:encoded><![CDATA[<p>Hi Matt!</p>
<p>Exactly what I need on my site. Thanks :) Only things extra I need, if possible, is the post image thumbnail and post text (not whole text, just the first little part of article) to be included with the link.</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Catherine</title>
		<link>http://sivel.net/2008/01/most-recent-wp-posts/#comment-125</link>
		<dc:creator>Catherine</dc:creator>
		<pubDate>Sun, 01 Jun 2008 03:38:48 +0000</pubDate>
		<guid isPermaLink="false">http://sivel.net/archives/50#comment-125</guid>
		<description>Hi - is it possible to use your code to also pull in a thumbnail image from another wordpress blog? It&#039;s one that I also run, so there are no copyright issues. :-) It&#039;s on the same server in fact, just a different account.

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi &#8211; is it possible to use your code to also pull in a thumbnail image from another wordpress blog? It&#8217;s one that I also run, so there are no copyright issues. :-) It&#8217;s on the same server in fact, just a different account.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Global Fusion</title>
		<link>http://sivel.net/2008/01/most-recent-wp-posts/#comment-124</link>
		<dc:creator>Global Fusion</dc:creator>
		<pubDate>Sat, 22 Mar 2008 00:14:14 +0000</pubDate>
		<guid isPermaLink="false">http://sivel.net/archives/50#comment-124</guid>
		<description>Matt,

Thanks a lot for your response. I am trying to figure this out  since our ecommerce site is based on php and smarty. So home.php calls up home.tpl which is the main template for the shopping cart. Within home.tpl there are different {include file=&quot;xxx/xxxxx.tpl&quot;}, and one of them happens to be the one I want to replace with your blog snippet. The reason is that our blog is updated more frequently that the news mod we got

I&#039;m going to ask for feedback in the shopping cart forum and see how we can make this happen. If you happen to be familiar with x-cart shopping cart, your feedback will be appreciated.

Again, thanks for your help.</description>
		<content:encoded><![CDATA[<p>Matt,</p>
<p>Thanks a lot for your response. I am trying to figure this out  since our ecommerce site is based on php and smarty. So home.php calls up home.tpl which is the main template for the shopping cart. Within home.tpl there are different {include file=&#8221;xxx/xxxxx.tpl&#8221;}, and one of them happens to be the one I want to replace with your blog snippet. The reason is that our blog is updated more frequently that the news mod we got</p>
<p>I&#8217;m going to ask for feedback in the shopping cart forum and see how we can make this happen. If you happen to be familiar with x-cart shopping cart, your feedback will be appreciated.</p>
<p>Again, thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://sivel.net/2008/01/most-recent-wp-posts/#comment-123</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 21 Mar 2008 00:41:05 +0000</pubDate>
		<guid isPermaLink="false">http://sivel.net/archives/50#comment-123</guid>
		<description>@Global Fusion:  First, the page that you want to display the most recent posts must be a php page (ie ending in .php and not .html, .htm, or the likes)

Second, place the first snippet of code listed anywhere in your page.  Usually you would put this at the very top.

Third, place the code in the third code box into your page where you want it to display.

That is pretty much it.</description>
		<content:encoded><![CDATA[<p>@Global Fusion:  First, the page that you want to display the most recent posts must be a php page (ie ending in .php and not .html, .htm, or the likes)</p>
<p>Second, place the first snippet of code listed anywhere in your page.  Usually you would put this at the very top.</p>
<p>Third, place the code in the third code box into your page where you want it to display.</p>
<p>That is pretty much it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>