<?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: Simple Related Posts Widget for Wordpress</title>
	<atom:link href="http://curtishenson.com/simple-related-posts-widget-for-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://curtishenson.com/simple-related-posts-widget-for-wordpress/</link>
	<description>Freelance Web Designer and Wordpress Guru</description>
	<pubDate>Tue, 06 Jan 2009 15:01:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Curtis Henson</title>
		<link>http://curtishenson.com/simple-related-posts-widget-for-wordpress/comment-page-1/#comment-325</link>
		<dc:creator>Curtis Henson</dc:creator>
		<pubDate>Tue, 25 Mar 2008 18:42:52 +0000</pubDate>
		<guid isPermaLink="false">http://curtishenson.com/simple-related-posts-widget-for-wordpress/#comment-325</guid>
		<description>Sorry I had to delete the code in your comment because wordpress was still reading it and that caused an error in the page, even with the code tag. 

I think I've fixed the problem with wordpress reading things in the code tag now, can you post your code again?</description>
		<content:encoded><![CDATA[<p>Sorry I had to delete the code in your comment because wordpress was still reading it and that caused an error in the page, even with the code tag. </p>
<p>I think I&#8217;ve fixed the problem with wordpress reading things in the code tag now, can you post your code again?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://curtishenson.com/simple-related-posts-widget-for-wordpress/comment-page-1/#comment-322</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Tue, 25 Mar 2008 16:02:21 +0000</pubDate>
		<guid isPermaLink="false">http://curtishenson.com/simple-related-posts-widget-for-wordpress/#comment-322</guid>
		<description>Thanks for the tip! I got the plugin up and running, and it works. Still, I'd like to try and make a custom script, based on your function. Especially because I would love to have it display some more DVD info than just a link (like thumbnail image, region, subtitle info and vendor links...). But let's see if I got the basics correct first. So far, I've got this script:

-------------------------------------------



-------------------------------------------

Can you tell me where the taglooping should be?
Many thanks!</description>
		<content:encoded><![CDATA[<p>Thanks for the tip! I got the plugin up and running, and it works. Still, I&#8217;d like to try and make a custom script, based on your function. Especially because I would love to have it display some more DVD info than just a link (like thumbnail image, region, subtitle info and vendor links&#8230;). But let&#8217;s see if I got the basics correct first. So far, I&#8217;ve got this script:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Can you tell me where the taglooping should be?<br />
Many thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Curtis</title>
		<link>http://curtishenson.com/simple-related-posts-widget-for-wordpress/comment-page-1/#comment-314</link>
		<dc:creator>Curtis</dc:creator>
		<pubDate>Mon, 24 Mar 2008 17:35:19 +0000</pubDate>
		<guid isPermaLink="false">http://curtishenson.com/simple-related-posts-widget-for-wordpress/#comment-314</guid>
		<description>I think &lt;a href="http://wordpress.org/extend/plugins/wordpress-23-related-posts-plugin/#post-2308" rel="nofollow"&gt;this plugin&lt;/a&gt; will work for you.  It matches posts based on tags and even puts them into your RSS feed.

You could write your own, but my example above might not work exactly the way you want.  Say you have a post with a tag "David Lynch", instead of using get_the_category() you would use get_the_tag().  But this won't work if you have more than one tag you want to match DVDs to.  If you have two tags "David Lynch", and "Eraserhead" the above code will only match one tag (the first one, but you could change that where it says $cat=&#62; $cat[0]).

You will also have to use query_posts() instead of get_posts() because I don't think get_posts() can use tags.  

If you want to use more than one tag there are two ways to go about it.  One you can match all the tags to DVDs, this way is much easier but is very limiting.

Two you'll have to loop through each tag and find posts matching those tags, this is a bit harder but think it could be done without too much cussing. 

Anyway, with all that being said, I would try the plugin first, unless you are a glutton for headaches like me :)

If you decide to program your own let me know how it goes, and if you need any help getting it all to work.</description>
		<content:encoded><![CDATA[<p>I think <a href="http://wordpress.org/extend/plugins/wordpress-23-related-posts-plugin/#post-2308" rel="nofollow">this plugin</a> will work for you.  It matches posts based on tags and even puts them into your RSS feed.</p>
<p>You could write your own, but my example above might not work exactly the way you want.  Say you have a post with a tag &#8220;David Lynch&#8221;, instead of using get_the_category() you would use get_the_tag().  But this won&#8217;t work if you have more than one tag you want to match DVDs to.  If you have two tags &#8220;David Lynch&#8221;, and &#8220;Eraserhead&#8221; the above code will only match one tag (the first one, but you could change that where it says $cat=&gt; $cat[0]).</p>
<p>You will also have to use query_posts() instead of get_posts() because I don&#8217;t think get_posts() can use tags.  </p>
<p>If you want to use more than one tag there are two ways to go about it.  One you can match all the tags to DVDs, this way is much easier but is very limiting.</p>
<p>Two you&#8217;ll have to loop through each tag and find posts matching those tags, this is a bit harder but think it could be done without too much cussing. </p>
<p>Anyway, with all that being said, I would try the plugin first, unless you are a glutton for headaches like me :)</p>
<p>If you decide to program your own let me know how it goes, and if you need any help getting it all to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://curtishenson.com/simple-related-posts-widget-for-wordpress/comment-page-1/#comment-311</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Mon, 24 Mar 2008 14:21:36 +0000</pubDate>
		<guid isPermaLink="false">http://curtishenson.com/simple-related-posts-widget-for-wordpress/#comment-311</guid>
		<description>Hi Curtis,

Thanks for this article! Currently, I'm looking for a solution regarding related posts in WordPress. Being a PHP newbie myself, I would like to ask a bit of your help.

The case is: I have 2 categories of posts ("reviews" and "dvds") and I'm looking for a way to display bits of related dvd posts inside review posts, based on tags.

For example: a review tagged "David Lynch" should contain dvds with the same tag. 

Do you think your solution can be of help, or would you recommend some sort of related posts plugin?

Many thanks!

Best wishes,
Martin</description>
		<content:encoded><![CDATA[<p>Hi Curtis,</p>
<p>Thanks for this article! Currently, I&#8217;m looking for a solution regarding related posts in WordPress. Being a PHP newbie myself, I would like to ask a bit of your help.</p>
<p>The case is: I have 2 categories of posts (&#8221;reviews&#8221; and &#8220;dvds&#8221;) and I&#8217;m looking for a way to display bits of related dvd posts inside review posts, based on tags.</p>
<p>For example: a review tagged &#8220;David Lynch&#8221; should contain dvds with the same tag. </p>
<p>Do you think your solution can be of help, or would you recommend some sort of related posts plugin?</p>
<p>Many thanks!</p>
<p>Best wishes,<br />
Martin</p>
]]></content:encoded>
	</item>
</channel>
</rss>
