<?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: WordPress: Related posts by tags</title>
	<atom:link href="http://www.3mind.at/2009/05/06/code-highlighting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.3mind.at/2009/05/06/code-highlighting/</link>
	<description>human after all</description>
	<lastBuildDate>Sat, 12 Jun 2010 12:27:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Wordpress: Related posts by tags &#124; Intenseblog.com</title>
		<link>http://www.3mind.at/2009/05/06/code-highlighting/comment-page-1/#comment-35426</link>
		<dc:creator>Wordpress: Related posts by tags &#124; Intenseblog.com</dc:creator>
		<pubDate>Sat, 12 Jun 2010 12:27:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.3mind.at/?p=918#comment-35426</guid>
		<description>&lt;strong&gt;Wordpress: Related posts by tags...&lt;/strong&gt;

...b&gt; Found&#039; if there aren&#039;t any posts sharing the same tags? I tried to do it myself by adding an else statement, but failed miserably. ......</description>
		<content:encoded><![CDATA[<p><strong>WordPress: Related posts by tags&#8230;</strong></p>
<p>&#8230;b&gt; Found&#8217; if there aren&#8217;t any posts sharing the same tags? I tried to do it myself by adding an else statement, but failed miserably. &#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sélection de fonctionnalités WordPress sans plugins &#124; Blog de Johan BLEUZEN</title>
		<link>http://www.3mind.at/2009/05/06/code-highlighting/comment-page-1/#comment-16161</link>
		<dc:creator>Sélection de fonctionnalités WordPress sans plugins &#124; Blog de Johan BLEUZEN</dc:creator>
		<pubDate>Tue, 30 Mar 2010 07:48:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.3mind.at/?p=918#comment-16161</guid>
		<description>[...] WordPress : Related posts by tag [EN] [...]</description>
		<content:encoded><![CDATA[<p>[...] WordPress : Related posts by tag [EN] [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lister des articles similaires sur un blog WordPress sans utiliser de plugin &#124; Blog de Johan BLEUZEN</title>
		<link>http://www.3mind.at/2009/05/06/code-highlighting/comment-page-1/#comment-15419</link>
		<dc:creator>Lister des articles similaires sur un blog WordPress sans utiliser de plugin &#124; Blog de Johan BLEUZEN</dc:creator>
		<pubDate>Fri, 26 Mar 2010 03:21:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.3mind.at/?p=918#comment-15419</guid>
		<description>[...] Source : www.3mind.at [...]</description>
		<content:encoded><![CDATA[<p>[...] Source : <a href="http://www.3mind.at" rel="nofollow">http://www.3mind.at</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 3mind</title>
		<link>http://www.3mind.at/2009/05/06/code-highlighting/comment-page-1/#comment-13503</link>
		<dc:creator>3mind</dc:creator>
		<pubDate>Mon, 15 Mar 2010 08:18:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.3mind.at/?p=918#comment-13503</guid>
		<description>@ all: Sorry for letting you wait for so long without any response on open questions regarding the script. I&#039;m currently facing a lack of time to spend for this stuff, but as soon as I find some I&#039;ll get back to you!</description>
		<content:encoded><![CDATA[<p>@ all: Sorry for letting you wait for so long without any response on open questions regarding the script. I&#8217;m currently facing a lack of time to spend for this stuff, but as soon as I find some I&#8217;ll get back to you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viktor</title>
		<link>http://www.3mind.at/2009/05/06/code-highlighting/comment-page-1/#comment-10755</link>
		<dc:creator>Viktor</dc:creator>
		<pubDate>Thu, 11 Mar 2010 08:28:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.3mind.at/?p=918#comment-10755</guid>
		<description>Thanks for the script, but here is my problem. The tags are ordered in aphlabetical order. In admin dashboard as well as on the page under my posts. The script from Smashing Magazine was getting only the first tag, but since the ordering is in place, I was getting riddiculous results - the displayed related posts were not related at all. Now I have applied your script and getting same results. A solution for me would be, to get say only the first 2 tags. Can you help me out with this, please?</description>
		<content:encoded><![CDATA[<p>Thanks for the script, but here is my problem. The tags are ordered in aphlabetical order. In admin dashboard as well as on the page under my posts. The script from Smashing Magazine was getting only the first tag, but since the ordering is in place, I was getting riddiculous results &#8211; the displayed related posts were not related at all. Now I have applied your script and getting same results. A solution for me would be, to get say only the first 2 tags. Can you help me out with this, please?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.3mind.at/2009/05/06/code-highlighting/comment-page-1/#comment-8029</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 05 Mar 2010 02:12:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.3mind.at/?p=918#comment-8029</guid>
		<description>Thank you, this is excellent. 

Just wondering if there is a way that i can display next to each similar post, the tags which match the original queried post&#039;s tags</description>
		<content:encoded><![CDATA[<p>Thank you, this is excellent. </p>
<p>Just wondering if there is a way that i can display next to each similar post, the tags which match the original queried post&#8217;s tags</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://www.3mind.at/2009/05/06/code-highlighting/comment-page-1/#comment-7342</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Wed, 03 Feb 2010 17:34:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.3mind.at/?p=918#comment-7342</guid>
		<description>Excellent, thank you...you fixed the issue of only showing related posts to the fist comment...I have another issue with is and no one else seems to have the same problem.

I am having an issue with the Pagebar plugin. The pagebar is displayed directly underneath the related posts in each post. How do I go about removing this?

Or is there a good pagebar code without a plug-in? Any help would be appriciated...thanks again!</description>
		<content:encoded><![CDATA[<p>Excellent, thank you&#8230;you fixed the issue of only showing related posts to the fist comment&#8230;I have another issue with is and no one else seems to have the same problem.</p>
<p>I am having an issue with the Pagebar plugin. The pagebar is displayed directly underneath the related posts in each post. How do I go about removing this?</p>
<p>Or is there a good pagebar code without a plug-in? Any help would be appriciated&#8230;thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: det</title>
		<link>http://www.3mind.at/2009/05/06/code-highlighting/comment-page-1/#comment-7341</link>
		<dc:creator>det</dc:creator>
		<pubDate>Wed, 03 Feb 2010 11:43:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.3mind.at/?p=918#comment-7341</guid>
		<description>3mind, here you can see what&#039;s going on... http://democraciachina.com.ar/2010/02/silencio-por-favor/ there are two posts repeating on similar posts...

thanks</description>
		<content:encoded><![CDATA[<p>3mind, here you can see what&#8217;s going on&#8230; <a href="http://democraciachina.com.ar/2010/02/silencio-por-favor/" rel="nofollow">http://democraciachina.com.ar/2010/02/silencio-por-favor/</a> there are two posts repeating on similar posts&#8230;</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 3mind</title>
		<link>http://www.3mind.at/2009/05/06/code-highlighting/comment-page-1/#comment-7340</link>
		<dc:creator>3mind</dc:creator>
		<pubDate>Wed, 03 Feb 2010 07:28:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.3mind.at/?p=918#comment-7340</guid>
		<description>Hm, I&#039;m not totally sure what you&#039;re trying to explain.
Do you have posts that have one and the same tag multiple times? Didn&#039;t even know that&#039;s possible with Wordpress (doesn&#039;t really make sense either).

If you can provide me with an exact example we can try to figure out the issue and if possible a solution.

BR</description>
		<content:encoded><![CDATA[<p>Hm, I&#8217;m not totally sure what you&#8217;re trying to explain.<br />
Do you have posts that have one and the same tag multiple times? Didn&#8217;t even know that&#8217;s possible with WordPress (doesn&#8217;t really make sense either).</p>
<p>If you can provide me with an exact example we can try to figure out the issue and if possible a solution.</p>
<p>BR</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: det</title>
		<link>http://www.3mind.at/2009/05/06/code-highlighting/comment-page-1/#comment-7339</link>
		<dc:creator>det</dc:creator>
		<pubDate>Tue, 02 Feb 2010 22:38:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.3mind.at/?p=918#comment-7339</guid>
		<description>AWESOME piece of code

been using it on lots of blogs, without any problem so far, except on one of my blogs, where it seems to show lots of duplicated posts...

maybe it has to do with having lots of posts with same tags over and over, but is there a way to prevent that from happening?

thanks</description>
		<content:encoded><![CDATA[<p>AWESOME piece of code</p>
<p>been using it on lots of blogs, without any problem so far, except on one of my blogs, where it seems to show lots of duplicated posts&#8230;</p>
<p>maybe it has to do with having lots of posts with same tags over and over, but is there a way to prevent that from happening?</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bikin Related Post Tanpa Plugin / ID-JAUHARI</title>
		<link>http://www.3mind.at/2009/05/06/code-highlighting/comment-page-1/#comment-6686</link>
		<dc:creator>Bikin Related Post Tanpa Plugin / ID-JAUHARI</dc:creator>
		<pubDate>Fri, 18 Dec 2009 23:22:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.3mind.at/?p=918#comment-6686</guid>
		<description>[...] ini bukan 100% kode murni saya yang salah saya cuplik dari sini dan sini, saya hanya memodifikasi sedemikian rupa sehingga lebih nyaman aja secara saya. Dan patut [...]</description>
		<content:encoded><![CDATA[<p>[...] ini bukan 100% kode murni saya yang salah saya cuplik dari sini dan sini, saya hanya memodifikasi sedemikian rupa sehingga lebih nyaman aja secara saya. Dan patut [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felix</title>
		<link>http://www.3mind.at/2009/05/06/code-highlighting/comment-page-1/#comment-6672</link>
		<dc:creator>Felix</dc:creator>
		<pubDate>Thu, 17 Dec 2009 16:59:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.3mind.at/?p=918#comment-6672</guid>
		<description>Klasse ... besten Dank, den Comment bekommst du natürlich!</description>
		<content:encoded><![CDATA[<p>Klasse &#8230; besten Dank, den Comment bekommst du natürlich!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 3mind</title>
		<link>http://www.3mind.at/2009/05/06/code-highlighting/comment-page-1/#comment-6653</link>
		<dc:creator>3mind</dc:creator>
		<pubDate>Tue, 15 Dec 2009 21:52:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.3mind.at/?p=918#comment-6653</guid>
		<description>ja, vielleicht ein comment mit // www.3mind.at im source und ich hab kein problem damit!</description>
		<content:encoded><![CDATA[<p>ja, vielleicht ein comment mit // <a href="http://www.3mind.at" rel="nofollow">http://www.3mind.at</a> im source und ich hab kein problem damit!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felix</title>
		<link>http://www.3mind.at/2009/05/06/code-highlighting/comment-page-1/#comment-6650</link>
		<dc:creator>Felix</dc:creator>
		<pubDate>Tue, 15 Dec 2009 15:44:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.3mind.at/?p=918#comment-6650</guid>
		<description>Darf ich das Skript direkt in eines meiner Themes einbauen (100% GPL) - Das Skript läuft super und ich muss da Rad ja nicht neu erfinden!</description>
		<content:encoded><![CDATA[<p>Darf ich das Skript direkt in eines meiner Themes einbauen (100% GPL) &#8211; Das Skript läuft super und ich muss da Rad ja nicht neu erfinden!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.3mind.at/2009/05/06/code-highlighting/comment-page-1/#comment-6590</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Mon, 07 Dec 2009 22:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.3mind.at/?p=918#comment-6590</guid>
		<description>This can further be optimized by using the &#039;fields&#039; arg for the wp_get_post_tags() function so the for loop becomes obsolete like so:

&lt;code&gt;
	$tags = wp_get_post_tags($post-&gt;ID, array(&#039;fields&#039;=&gt;&#039;ids&#039;));
	if ($tags) {
		$args=array(
			&#039;tag__in&#039; =&gt; $tags,
			&#039;post__not_in&#039; =&gt; array($post-&gt;ID),
			&#039;showposts&#039;=&gt;5,
			&#039;caller_get_posts&#039;=&gt;1
		);
		$my_query = new WP_Query($args);
		....
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>This can further be optimized by using the &#8216;fields&#8217; arg for the wp_get_post_tags() function so the for loop becomes obsolete like so:</p>
<p><code><br />
	$tags = wp_get_post_tags($post-&gt;ID, array('fields'=&gt;'ids'));<br />
	if ($tags) {<br />
		$args=array(<br />
			'tag__in' =&gt; $tags,<br />
			'post__not_in' =&gt; array($post-&gt;ID),<br />
			'showposts'=&gt;5,<br />
			'caller_get_posts'=&gt;1<br />
		);<br />
		$my_query = new WP_Query($args);<br />
		....<br />
</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
