<?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"
	>
<channel>
	<title>Comments on: How To:  Avoid Duplicate Posts</title>
	<atom:link href="http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/feed/" rel="self" type="application/rss+xml" />
	<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/</link>
	<description>Weblog Tools Blogging Tools Blog</description>
	<pubDate>Tue, 02 Dec 2008 19:32:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: 20+ plugin per Wordpress e non solo &#124; Area3000</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1239876</link>
		<dc:creator>20+ plugin per Wordpress e non solo &#124; Area3000</dc:creator>
		<pubDate>Mon, 27 Oct 2008 06:04:43 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1239876</guid>
		<description>[...] Come evitare i contenuti duplcati [...]</description>
		<content:encoded><![CDATA[<p>[...] Come evitare i contenuti duplcati [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 30+ (More) Most Wanted Wordpress Tips, Tricks and Hacks &#124; Web Burning Blog</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1239571</link>
		<dc:creator>30+ (More) Most Wanted Wordpress Tips, Tricks and Hacks &#124; Web Burning Blog</dc:creator>
		<pubDate>Wed, 22 Oct 2008 07:32:55 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1239571</guid>
		<description>[...] How To Avoid Duplicate Posts [...]</description>
		<content:encoded><![CDATA[<p>[...] How To Avoid Duplicate Posts [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 30+ (More) Most Wanted Wordpress Tips, Tricks and Hacks &#124; Wordpress</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1238807</link>
		<dc:creator>30+ (More) Most Wanted Wordpress Tips, Tricks and Hacks &#124; Wordpress</dc:creator>
		<pubDate>Sat, 04 Oct 2008 08:08:01 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1238807</guid>
		<description>[...] How To Avoid Duplicate Posts [...]</description>
		<content:encoded><![CDATA[<p>[...] How To Avoid Duplicate Posts [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MTB</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1236530</link>
		<dc:creator>MTB</dc:creator>
		<pubDate>Mon, 01 Sep 2008 13:38:36 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1236530</guid>
		<description>Nice tutorial.  How would you get three loops to work.  Basically, in this order: Feature loop (1 post), Standard Loop (1 posts), Specific Category Loop (5 posts).  I'm trying not to repeat content between the three loops.  I have the Feature Loop and Standard loop working, I'm just not getting the third (Specific Category) loop to function. Thanks.</description>
		<content:encoded><![CDATA[<p>Nice tutorial.  How would you get three loops to work.  Basically, in this order: Feature loop (1 post), Standard Loop (1 posts), Specific Category Loop (5 posts).  I&#8217;m trying not to repeat content between the three loops.  I have the Feature Loop and Standard loop working, I&#8217;m just not getting the third (Specific Category) loop to function. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Most Desired WordPress Hacks: 11 Common Requests and Fixes</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1236250</link>
		<dc:creator>Most Desired WordPress Hacks: 11 Common Requests and Fixes</dc:creator>
		<pubDate>Wed, 27 Aug 2008 23:20:53 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1236250</guid>
		<description>[...] i provided here handles a single featured post. Thats why i provided a link to a nice solution by Weblog Tools Collection that shows how to avoid duplicating multiple [...]</description>
		<content:encoded><![CDATA[<p>[...] i provided here handles a single featured post. Thats why i provided a link to a nice solution by Weblog Tools Collection that shows how to avoid duplicating multiple [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Most Desired WordPress Hacks: 11 Common Requests and Fixes</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1236216</link>
		<dc:creator>Most Desired WordPress Hacks: 11 Common Requests and Fixes</dc:creator>
		<pubDate>Wed, 27 Aug 2008 11:11:12 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1236216</guid>
		<description>[...] How To: Avoid Duplicate Posts, shows how to avoid duplicating multiple posts instead of single post. [...]</description>
		<content:encoded><![CDATA[<p>[...] How To: Avoid Duplicate Posts, shows how to avoid duplicating multiple posts instead of single post. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1231744</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Thu, 26 Jun 2008 03:34:47 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1231744</guid>
		<description>Ronald emailed me and helped me out.  See &lt;a href="http://weblogtoolscollection.com/archives/2008/04/19/paging-and-custom-wordpress-loops/" rel="nofollow"&gt;this article for help.&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Ronald emailed me and helped me out.  See <a href="http://weblogtoolscollection.com/archives/2008/04/19/paging-and-custom-wordpress-loops/">this article for help.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1231376</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Mon, 23 Jun 2008 22:28:58 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1231376</guid>
		<description>Just to clarify.  I had incorrectly placed the code to remove the filter.  Now that I have corrected that the problem is slightly different.  When I click the "Previous Post" link, it still displays the error, and the chronologically lists the 5 last posts (not 6-10, but 1-5 from the first page).  No "Previous Posts" link appears at the bottom of this 2nd page.  In effect, it displays the first page all over again without the exclusions and then fails to display the navigation.</description>
		<content:encoded><![CDATA[<p>Just to clarify.  I had incorrectly placed the code to remove the filter.  Now that I have corrected that the problem is slightly different.  When I click the &#8220;Previous Post&#8221; link, it still displays the error, and the chronologically lists the 5 last posts (not 6-10, but 1-5 from the first page).  No &#8220;Previous Posts&#8221; link appears at the bottom of this 2nd page.  In effect, it displays the first page all over again without the exclusions and then fails to display the navigation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1231375</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Mon, 23 Jun 2008 22:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1231375</guid>
		<description>Thank you so much Ronald for this post - it has helped me greatly.  I have come across a new problem however.  When I click the "Previous Posts" link, it displays an error (see below) and then proceeds to display all my posts, including those already displayed.  If I keep clicking "Previous Posts" it will even display posts not yet published, but in Draft mode, and also all my pages (Contact, About).

The error I get:

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'post_strip' was given in /../wp-includes/plugin.php on line 163

I am using WordPress 2.5

Also, my setup is a little different than your example loop.  I display the last article from one author in one loop and save the ID.  Then I have another loop that displays the last post from the other author, and it makes the variable = variable + new ID.  Then I run the generic loop to display the last 5 posts excluding the two that have already been displayed.  This is to feature the last post from each author at the top.  Just slightly different from your example.  It works fine except for the navigation.

TIA for any help.</description>
		<content:encoded><![CDATA[<p>Thank you so much Ronald for this post - it has helped me greatly.  I have come across a new problem however.  When I click the &#8220;Previous Posts&#8221; link, it displays an error (see below) and then proceeds to display all my posts, including those already displayed.  If I keep clicking &#8220;Previous Posts&#8221; it will even display posts not yet published, but in Draft mode, and also all my pages (Contact, About).</p>
<p>The error I get:</p>
<p>Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, &#8216;post_strip&#8217; was given in /../wp-includes/plugin.php on line 163</p>
<p>I am using WordPress 2.5</p>
<p>Also, my setup is a little different than your example loop.  I display the last article from one author in one loop and save the ID.  Then I have another loop that displays the last post from the other author, and it makes the variable = variable + new ID.  Then I run the generic loop to display the last 5 posts excluding the two that have already been displayed.  This is to feature the last post from each author at the top.  Just slightly different from your example.  It works fine except for the navigation.</p>
<p>TIA for any help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WordPress Talk &#124; [Blog Tutorials]</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1228905</link>
		<dc:creator>WordPress Talk &#124; [Blog Tutorials]</dc:creator>
		<pubDate>Wed, 04 Jun 2008 13:08:55 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1228905</guid>
		<description>[...] How to Avoid Duplicate Posts in the WordPress Loop - This post by Weblog Tools Collection explains how to avoid duplicate posts in both a single WordPress loop and a double WordPress loop. [...]</description>
		<content:encoded><![CDATA[<p>[...] How to Avoid Duplicate Posts in the WordPress Loop - This post by Weblog Tools Collection explains how to avoid duplicate posts in both a single WordPress loop and a double WordPress loop. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WordPress Talk - May 29, 2008</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1228232</link>
		<dc:creator>WordPress Talk - May 29, 2008</dc:creator>
		<pubDate>Thu, 29 May 2008 08:01:27 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1228232</guid>
		<description>[...] How to Avoid Duplicate Posts in the WordPress Loop - This post by Weblog Tools Collection explains how to avoid duplicate posts in both a single WordPress loop and a double WordPress loop. [...]</description>
		<content:encoded><![CDATA[<p>[...] How to Avoid Duplicate Posts in the WordPress Loop - This post by Weblog Tools Collection explains how to avoid duplicate posts in both a single WordPress loop and a double WordPress loop. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BANAGO</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1227626</link>
		<dc:creator>BANAGO</dc:creator>
		<pubDate>Fri, 23 May 2008 15:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1227626</guid>
		<description>Very helpful post for every wordpress coder.</description>
		<content:encoded><![CDATA[<p>Very helpful post for every wordpress coder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WordCast &#124; WordCast 13: WPancake</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1227356</link>
		<dc:creator>WordCast &#124; WordCast 13: WPancake</dc:creator>
		<pubDate>Tue, 20 May 2008 23:48:24 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1227356</guid>
		<description>[...] Avoid Duplicate Posts [...]</description>
		<content:encoded><![CDATA[<p>[...] Avoid Duplicate Posts [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Skylog &#187; Blog Archive &#187; links for 2008-05-20</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1227160</link>
		<dc:creator>Skylog &#187; Blog Archive &#187; links for 2008-05-20</dc:creator>
		<pubDate>Tue, 20 May 2008 06:30:58 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1227160</guid>
		<description>[...] How To: Avoid Duplicate Posts (tags: wordpress) [...]</description>
		<content:encoded><![CDATA[<p>[...] How To: Avoid Duplicate Posts (tags: wordpress) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Links for 20-05-2008 &#124; Velcro City Tourist Board</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1227137</link>
		<dc:creator>Links for 20-05-2008 &#124; Velcro City Tourist Board</dc:creator>
		<pubDate>Tue, 20 May 2008 03:32:19 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1227137</guid>
		<description>[...] - How To: Avoid Duplicate Posts [Wordpress] &#8220;Here’s how to show two individual [Wordpress] l loops without duplicating posts in either [...]</description>
		<content:encoded><![CDATA[<p>[...] - How To: Avoid Duplicate Posts [Wordpress] &#8220;Here’s how to show two individual [Wordpress] l loops without duplicating posts in either [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1227057</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sun, 18 May 2008 18:32:47 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1227057</guid>
		<description>Sorry about the posting code issue. Pastebin is the best option.</description>
		<content:encoded><![CDATA[<p>Sorry about the posting code issue. Pastebin is the best option.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronald Huereca</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1227054</link>
		<dc:creator>Ronald Huereca</dc:creator>
		<pubDate>Sun, 18 May 2008 17:25:45 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1227054</guid>
		<description>@Epic, 
Yes, that is an easier way of doing it, but say you want to display five posts.  If there are two duplicates, then only three would be shown.

@Johnbillion,
You hit the nail on the head.  That's why I decided to modify the original query, which would return the correct number of posts without the duplicates.

@All,
As Epic pointed out, posting code here is problematic.  I suggest using Pastebin and posting the link here.  Thanks.</description>
		<content:encoded><![CDATA[<p>@Epic,<br />
Yes, that is an easier way of doing it, but say you want to display five posts.  If there are two duplicates, then only three would be shown.</p>
<p>@Johnbillion,<br />
You hit the nail on the head.  That&#8217;s why I decided to modify the original query, which would return the correct number of posts without the duplicates.</p>
<p>@All,<br />
As Epic pointed out, posting code here is problematic.  I suggest using Pastebin and posting the link here.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johnbillion</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1227043</link>
		<dc:creator>johnbillion</dc:creator>
		<pubDate>Sun, 18 May 2008 11:17:38 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1227043</guid>
		<description>@Epic Alex

Just glancing over &lt;a href="http://pastebin.com/f40e39dc9" rel="nofollow"&gt;your code&lt;/a&gt; it looks to me like if your second loop encounters duplicates then it will end up not showing the correct number of posts. Your code is removing the duplicate posts after five have been selected from the database. If two of those are duplicates, only the remaining three will be shown. If all five are duplicates, no posts will be shown!

Do correct me if I'm wrong as I haven't tested your code.</description>
		<content:encoded><![CDATA[<p>@Epic Alex</p>
<p>Just glancing over <a href="http://pastebin.com/f40e39dc9">your code</a> it looks to me like if your second loop encounters duplicates then it will end up not showing the correct number of posts. Your code is removing the duplicate posts after five have been selected from the database. If two of those are duplicates, only the remaining three will be shown. If all five are duplicates, no posts will be shown!</p>
<p>Do correct me if I&#8217;m wrong as I haven&#8217;t tested your code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Epic Alex</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1227042</link>
		<dc:creator>Epic Alex</dc:creator>
		<pubDate>Sun, 18 May 2008 09:51:27 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1227042</guid>
		<description>I've tried posting code a couple of times just now, and i keep getting some kind of spam error, so i'll put the code in a &lt;a href="http://pastebin.com/f40e39dc9" title="pastebin" rel="nofollow"&gt;pastebin&lt;/a&gt;.

Basically I think there is a quicker and easier way of doing this, by storing the ids in an array and then searching that array in the second loop.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tried posting code a couple of times just now, and i keep getting some kind of spam error, so i&#8217;ll put the code in a <a href="http://pastebin.com/f40e39dc9" title="pastebin">pastebin</a>.</p>
<p>Basically I think there is a quicker and easier way of doing this, by storing the ids in an array and then searching that array in the second loop.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gelay.j@gmail.com</title>
		<link>http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/#comment-1227033</link>
		<dc:creator>Gelay.j@gmail.com</dc:creator>
		<pubDate>Sun, 18 May 2008 02:18:49 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3563#comment-1227033</guid>
		<description>Something to think about further. Thanx.</description>
		<content:encoded><![CDATA[<p>Something to think about further. Thanx.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
