Thread: Blog question
View Single Post
Old 2009-07-13, 12:49 PM   #14
nate
I can now put whatever you want in this space :)
 
nate's Avatar
 
Join Date: Mar 2009
Location: Merica!
Posts: 543
Quote:
Originally Posted by walrus View Post
FWP is pretty good although I've had problems in the past with it reposting the whole feed and not just the update with some feeds. Not all, just some of them. Which meant you ended up with 10 of each post instead of only one.
FeedWordPress Duplicate Post Filter
this is a filter for the FeedWordPress plugin. If you don't use FeedWordPress this plugin will not be useful to you.

I wrote this filter after seeing the same post in my database 32 times. Maybe you've had the same problem, and I hope this filter helps you solve it.

The filter works by hooking the "syndicated_post" action of FeedWordPress.

For each potential post, the filter compares the (escaped) post title, and either the post guid, or the year-month-day (e.g., 2008-04-12) of the post_date_gmt attributes. If it finds a match of both the title and either the guid or date, it tells FeedWordPress to skip that potential post. Otherwise, it tells FeedWordPress to continue processing it however you have syndication set up on your blog.
__________________
Its just a jump to the left.
nate is offline   Reply With Quote