Testing new version of Feedwordpress Duplicate Post Filter


UPDATE: I checked in a new revision of 1.3 in rev 187105. This one readds some diagnostic logging and checks the num_rows class scalar to see if any rows were returned in the DB query which is probably the Right Way To Do It(tm).

I’ve recently gotten a couple of emails from people that my Duplicate Post Filter was broken or not working properly. This came as a surprise to me because I haven’t regularly been running the site I originally created the plugin for since around January of 2009. I originally thought maybe my plugin was using deprecated calls or actions, but that’s not it at all.

When I reviewed the code for the first time in over a year, sure enough, there was a really dumb typo in the SQL query which would have caused it to return a false negative every time it was executed, meaning that every post would come back as “not a duplicate” even if it really was. And since I had the opportunity, I refactored the SQL query to more safely and better use the wpdb class methods.

I’ve updated my SVN trunk to 1.3 and I’m going to email the filter to the people who emailed error reports so they can test it. My own limited smoke testing shows that it seems to be functioning. If the other testers report back with success, I’ll tag the 1.3 release on/around Christmas as a little gift. At that point, the WordPress plugin website will do its magic and people will be able to auto-update if they like (which they will I’m sure!)

  1. #1 by sLa - December 22nd, 2009 at 08:09

    Hi,

    yeah, for me this plugin is fantastic and work fine on my 8 aggregator blog’s based on feedwordpress and wp-2.7.1 … that new update confirm me the freshness of project. Only one question: is possible put plugin on a separate directory?

    Thanks!

  2. #2 by Mark Allen - December 22nd, 2009 at 20:42

    Yes, you can install the plugin in a different directory if you want.

  3. #3 by Ryan Solberg - December 24th, 2009 at 10:19

    I’m having issues with it.

    I get multiple post since some of my feeds have the same posts.
    Any tags that I added to the posts revert back to original after an update.
    When I change the Excerpt to add more post details, it also reverts back after an update.

    All these things never happened before I did the most recent update.

  4. #4 by Ryan Solberg - December 24th, 2009 at 10:23

    I’m reverting back to 1.2 to see if I still get the same issues.

  5. #5 by Ryan Solberg - December 24th, 2009 at 21:10

    Works perfect after I reverted back to 1.2.

  6. #6 by Mark Allen - December 25th, 2009 at 00:39

    OK, I will continue to do more testing before I tag and release the new version. Thanks.

  7. #7 by jeff - January 6th, 2010 at 10:41

    Hi there – just tried installing your plugin for the first time last week but it seems to stop all posts from posting. I disabled the plugin and then posts started importing again. I don’t get any errors, so I don’t know how to diagnose it. Perhaps you could later add a feature that shows posts that were filtered out.

  1. No trackbacks yet.

Comments are closed.