FeedWordPress 0.99 is hereby released; enjoy WordPress 2.2 and 2.3 compatability, bug fixes, major new features, and updates without cron(posted on 24 September 2007)

Update 2007-11-21: FeedWordPress 0.99 is now out of date. You can download the latest release — 0.991 at the time of this writing — from the project homepage.

The public (non-beta) release of FeedWordPress version 0.99 is now available for download.

There have been changes to the way that FeedWordPress’s code is organized since version 0.98. If you successfully installed either of the beta releases, you don’t need to do anything special to install the current release. However, if you are upgrading from version 0.98 or before, be sure to see the installation instructions below.

Changes since version 0.98

This release provides compatibility with WordPress 2.2 and 2.3. It has been extensively tested against WordPress version 2.2.3 and the version 2.3 release candidate. I think that all the compatibility issues have been hammered out; of course, if you notice any problems, please let me know and I’ll get on a bugfix as soon as possible.

Version 0.99 also includes an overhaul to the user interface, some significant new features, and a number of bug fixes:

  • AUTOMATIC UPDATES WITHOUT CRON: FeedWordPress now allows you to automatically schedule checks for new posts without using external task scheduling tools such as cron. In order to enable automatic updates, go to Syndication –> Options and set “Check for new posts” to “automatically.” When this option is turned on, FeedWordPress will check for new posts automatically (1) when someone views your page, (2) if it has been ten minutes (or whatever interval you set) since the last time someone viewed your page. This offers a way to keep FeedWordPress up-to-date without having to schedule a cron script. It also simplifies the process of updating if you do choose to use a cron script — just have curl fetch your home page on a fixed schedule (so, for example, I would execute curl http://feministblogs.org/ every 15 minutes to keep Feminist Blogs up-to-date). Note that this is not the same thing as precisely scheduled updates — at a minimum, FeedWordPress will not check for new posts unless and until the next time somebody views your page. But for practical purposes it does allow you to keep your aggregator updated without having to run cron, and it is as close to precisely scheduled updates as you can get without using real scheduling tools such as cron.

    An important side-effect of the changes to the update system is that if you were previously using the cron job and the update-feeds.php script to schedule updates, you need to change your cron set-up. The old update-feeds.php script no longer exists. Instead, if you wish to use a cron job to guarantee updates on a particular schedule, you should have the cron job fetch the front page of your blog (for example, by using curl http://www.zyx.com/blog/ > /dev/null) instead of activating the update-feeds.php script. If automatic updates have been enabled, fetching the front page will automatically trigger the update process.

  • INTERFACE REORGANIZATION: All FeedWordPress functions are now located under a top-level “Syndication” menu in the WordPress Dashboard. To manage the list of syndicated sites, manually check for new posts on one or more feeds, or syndicate a new site, you should use the main page under Syndication. To change global settings for FeedWordPress, you should use Syndication –> Options.

  • FILE STRUCTURE REORGANIZATION: Due to a combination of changing styles for FeedWordPress plugins and lingering bugs in the FeedWordPress admin menu code, the code for FeedWordPress is now contained in two different PHP files, which should be installed together in a subdirectory of your plugins directory named feedwordpress. (See README.text for installation and upgrade instructions relating to the change.)

  • MULTIPLE CATEGORIES SETTING: Some feeds use non-standard methods to indicate multiple categories within a single category element. (The most popular site to do this is del.icio.us, which separates tags with a space.) FeedWordPress now allows you to set an optional setting, for any feed which does this, indicating the character or characters used to divide multiple categories, using a Perl-compatible regular expression. (In the case of del.icio.us feeds, FeedWordPress will automatically use \s for the pattern without your having to do any further configuration.) To turn this setting on, simply use the “Edit” link for the feed that you want to turn it on for.

  • REGULAR EXPRESSION BUG FIXED: Eliminated a minor bug in the regular expressions for e-mail addresses (used in parsing RSS author elements), which could produce unsightly error messages for some users parsing RSS 2.0 feeds.

  • DATE / UPDATE BUG FIXED: A bug in date handling was eliminated that may have caused problems if any of (1) WordPress, or (2) PHP, or (3) your web server, or (4) your MySQL server, has been set to use a different time zone from the one that any of the others is set to use. If FeedWordPress has not been properly updating updated posts, or has been updating posts when there shouldn’t be any changes for the update, this release may solve that problem.

  • GOOGLE READER BUGS FIXED: A couple of bugs that made it difficult for FeedWordPress to interact with Google Reader public feeds have been fixed. Firstly, if you encountered an error message reading “There was a problem adding the newsfeed. [SQL: ]” when you tried to add the feed, the cause of this error has been fixed. Secondly, if you succeeded in getting FeedWordPress to check a Google Reader feed, only to find that the title of posts had junk squashed on to the end of them, that bug has been fixed too. To fix this bug, you must install the newest version of the optional MagpieRSS upgrade.

  • FILTER PARAMETERS: Due to an old, old bug in WordPress 1.5.0 (which was what was available back when I first wrote the filter interface), FeedWordPress has traditionally only passed one parameter to syndicateditem and syndicatedpost filters functions — an array containing either the Magpie representation of a syndicated item from the feed, or the database representation of a post about to be inserted into the WordPress database. If you needed information about the feed that the item came from, this was accessible only through a pair of global variables, $fwpchannel and $fwpfeedmeta.

    Since it’s been a pretty long time since WordPress 1.5.0 was in widespread usage, I have gone ahead and added an optional second parameter to the invocation of the syndicateditem and syndicatedpost filters. If you have written a filter for FeedWordPress that uses either of these hooks, you can now register that filter to accept 2 parameters. If you do so, the second parameter will be a SyndicatedPost object, which, among other things, allows you to access information about the feed from which an item is syndicated using the $post->feed and the $post->feedmeta elements (where $post is the name of the second parameter).

    NOTE THAT THE OLD GLOBAL VARIABLES ARE STILL AVAILABLE, for the time being at least, so existing filters will not break with the upgrade. They should be considered deprecated, however, and may be eliminated in the future.

  • FILTER CHANGE / BUGFIX: the array that is passed as the first argument syndicatedpost filters no longer is no longer backslash-escaped for MySQL when filters are called. This was originally a bug, or an oversight; the contents of the array should only be escaped for the database after they have gone through all filters. IF YOU HAVE WRITTEN ANY syndicatedpost FILTERS THAT PRESUME THE OLD BEHAVIOR OF PASSING IN STRINGS THAT ARE ALREADY BACKSLASH-ESCAPED, UPDATE YOUR FILTERS ACCORDINGLY.

  • OTHER MINOR BUGFIXES AND INTERNAL CHANGES: The internal architecture of FeedWordPress has been significantly changed to make the code more modular and clean; hopefully this should help reduce the number of compatibility updates that are needed, and make them easier and quicker when they are needed.

Installation instructions

To upgrade an existing installation of FeedWordPress to version 0.99:

  1. Download the FeedWordPress archive in zip or gzipped tar format and extract the files on your computer.

  2. If you are upgrading from version 0.98 or earlier, then you need to create a new directory named feedwordpress in the wp-content/plugins directory of your WordPress installation, and you also need to delete your existing wp-content/update-feeds.php and wp-content/plugins/feedwordpress.php files. The file structure for FeedWordPress has changed and the files from your old version will not be overwritten, which could cause conflicts if you leave them in place.

  3. Upload the new PHP files to wp-content/plugins/feedwordpress, overwriting any existing FeedWordPress files that are there. Also be sure to upgrade wp-includes/rss.php and wp-includes/rss-functions.php if you use the optional MagpieRSS upgrade, or don’t use it yet but do want to syndicate Atom 1.0 feeds.

  4. If you are upgrading from version 0.96 or earlier, immediately log in to the WordPress Dashboard, and go to Options –> Syndicated. Follow the directions to launch the database upgrade procedure. The new versions of FeedWordPress incorporate some long-needed improvements, but old meta-data needs to be updated to prevent duplicate posts and other possible maladies. If you’re upgrading an existing installation, updates and FeedWordPress template functions will not work until you’ve done the upgrade. Then take a coffee break while the upgrade runs. It should, hopefully, finish within a few minutes even on relatively large databases.

  5. If you are upgrading from version 0.98 or earlier, note that the old update-feeds.php has been eliminated in favor of a (hopefully) more humane method for automatic updating. If you used a cron job for scheduled updates, it will not work anymore, but there is another, simpler method which will. See Setting Up Feed Updates to get scheduled updates back on track.

  6. Enjoy your new installation of FeedWordPress.

Replies to FeedWordPress 0.99 is hereby released; enjoy WordPress 2.2 and 2.3 compatability, bug fixes, major new features, and updates without cron (59 so far…) Syndication feed

  1. RUDE replied:

    Hi, I just wanted to tell you this is a fantastic plugin, I’m testing it right now in WP 2.3 and seems to work fine with an exception, it doesnt like the Twitter feeds (finally I’ve done this passing through feedburner first), also I get an error later to push the “use this feed” button:

    Fatal error: Cannot use object of type WP_Error as array in /usr/home/rudeworks.com/web/rw3/wp-includes/taxonomy.php on line 1010

    Hope it helps ;-)

  2. RUDE replied:

    Another thing:

    Custom Settings (for use in templates) don’t seem to work. It’s meant to put some extra values in custom fields, right?

  3. RUDE replied:

    One more: Syndication options appear under Syndication parent and under the WP Options menu.

  4. RUDEWORKS:

    [...] al plugin FeedWordpress (que por fin tiene versión compatible con WordPress 2.3) puedo incluir como miniposts las [...]

  5. Rad Geek’s Projects » How to deal with dates and timestamps in WordPress:

    [...] If I hadn’t moved across the country recently, I probably never would have discovered a bug in how FeedWordPress handles the timestamps of syndicated posts. Fortunately, I did, and this bug is fixed in the recently-released version 0.99. [...]

  6. RUDE replied:

    Ok, I was wrong, It likes the Twitter’s .rss and .atom feeds, but It doesn’t like the feed:// type links ;-)

    Fantastic plug-in, I repeat.

  7. chandu replied:

    Fantastic update after long time. Thanks for keeping it active.

  8. chandu replied:

    After upgrading to the latest version. All my syndicated posts are going to Uncategorized folder. I have even replaced the RSS functions in wp-includes with the ones provided in zip file also. Any idea why?

  9. xiando replied:

    I’d just like to say.. Thanks. :-)

    I haven’t tried the new version, I’m about to, but I really don’t need to in order to know that you’ve used much time and effort to give me access to the feedwordpress technology and I am very thankfull that you did. so again, thank you.

  10. Vincent replied:

    Wow! thanks. cant wait to try it out. I’m particularly excited about the 2.3 compatibility. One question though.. are you going to add tag support - as well as categories?

  11. VSP1 replied:

    Issue with 2.3, admin-db.php has been removed…is there any quick fix to this. I can get the plugin to activate obviously by commenting out the require statement for it, but obviously nothing gets saved to the DB.

  12. xiando replied:

    You really need to add some clever check to see if feedwordpress 0.99 is already doing an update, I tried the “automatic” update and I suddenly had a bunch (like 10 after a while) of httpd processes who were doing updates of the same blog. This resulted in total outrage load average of 40 (!) on the server and posts from the same blog being posted numerous times.

    I added a check which checks against the IP address before starting an automatic update and cronned curl and that works and makes sure it doesn’t start numerous processes doing updates… I’m actually amazed you haven’t noticed this (which makes me wondre if it’s the WP 2.2 version I use right now which causes it or something like that) because this should(?) be a problem for any frequently visited site using feedwordpress..

  13. ShadyCraig replied:

    Hi, thanks for the great plugin!

    I’m having a couple of problem though that perhaps someone can help me with?

    Syndicating http://pipes.yahoo.com/pipes/pipe.run?cmd=Run%2BPipe&id=noiFVCYU3BGcFPqRJhOy0Q&render=rss&run=1&textinput1=gtm gives me a bunch of errors (repeated maybe 20 times): Warning: Missing argument 1 for updatefeedsmention() in httpdocs/blog/wp-content/plugins/feedwordpress/feedwordpress.php on line 411

    Updating from <> …

    I just upgraded due to other problems with 0.981 so maybe it’s an upgrade/compatibility issue?

    Shady

  14. ShadyCraig replied:

    Ah sorry it was: http://pipes.yahoo.com/pipes/pipe.run?cmd=Run%2BPipe&id=noiFVCYU3BGcFPqRJhOy0Q&render=rss&run=1&textinput1=gtm

    Shady

  15. David replied:

    I am still using WP 1.5.2 and FWP version .99 throws an error in line 89 of FWP because it can’t find stripslashes_deep which apparently is a WP 2.x function. I just added it to functions-formatting.php, but thought you would like to know.

  16. David replied:

    While I’m thinking about it - ever since .981 (and now with .99) whenever I update all feeds manually the message displayed is

     Updating n from <n>
    

    Where the “n” within brackets is hyperlinked to mysite.com/n . It doesn’t prevent function, but always makes me nervous.

  17. David replied:

    Sorry for the serial commenting, but in my prior comment the n is actually hyperlinked to mysite.com/wp-admin/n.

  18. Quinnsoft replied:

    I just want to say many thanks to you.:). Great Plugin.

  19. Edwin replied:

    Can’t get it to work anymore :( Had this plugin working in an older version, but now it doesn’t anymore. :(

    I know the sites I want to syndicate do have new posts almost daily, but I don’t get anything from them with feedwordpress.

  20. Edwin replied:

    (adding:)

    % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed

    0 0 0 0 0 0 0 0 –:–:– –:–:– –:–:– 0 100 1698 0 1698 0 0 2135 0 –:–:– –:–:– –:–:– 9702

    Is what I get as reply in mail.

  21. Tom replied:

    Having the categories not being recognized issue as well. Everything is going in the uncategorized folder.

    Great job, by the way.

  22. Mehdi replied:

    Hi Rad Geek Please fix duplicate problem.

  23. rob replied:

    Hi just to let you know I’m having the uncategorized problem to. I tried deleting all of my feed and re inserting them after the upgrade but to no avail. apart from that this is still a great plugin so

    thank you

  24. leesbril replied:

    Great tool. Would even be better if it had something like a ‘rewrite’ and ‘link to’ functionality that WP-O-Matic has. I’m testing both.

  25. ShadyCraig replied:

    Hello, I started using this plugin recently, thought I’d share a couple of things.

    I had some problems with feeds that don’t validate (although I think that sometimes they should). Anyway I get around this by parsing the feed through feedburner, or perhaps yahoo pipes. One of the feeds is actually passed though both to clean it up!

    I’m having some issues with duplicate posts. This is only happening so far with feeds from ebay, but I think other are havign this problem too. To get around this I always syndicate posts to draft status but I have to check frequently to publish the posts.

    I have a question: What determines if a post is unique? Knowing this perhaps I could resolve or work-around my duplicate post issue. I’m happy to do some debug or become a beta-tester to help resolve this issue. :-)

    Still a great plugin though!

  26. Griff Wigley replied:

    Charles, this plugin is exactly what I’ve been looking for. And it’s working with WP 2.3, except for the duplication problem mentioned above.

    I, too, have set it to draft mode to prevent dupes from being published but it still puts another 10 per blog draft mode which I then have to manually delete.

    Hope you can tackle this.

  27. Handig replied:

    Hi, I installed it on Wordpress 2.3 but after I activate the plugin. I can see the Syndication button on the right. But if I click on it, it directs me to the homepage of my own website instead of the menu.

    Strange? Can you help out?

  28. Griff Wigley replied:

    Anyone else having trouble with carriage returns getting stripped from the post so that all text ends up getting mashed together?

  29. magacin66 replied:

    (Sorry for my english)

    I use FeedWordPress since 2006 april and I hadn’t any problem. I have a site called Planeta Canarias.

    But, after the September 17, 2007, this plugin don’t syndicate the feeds from Feedburner and I haven’t make any change.

    Does somebody know about this? Thanks!!!

  30. Nash replied:

    Great Plug-in. I am using it with v2.3.

    The only issue I am getting is while syndicating any Atom feed. It seems that its not working with any ATOM feed rather it working perfectly fine with the RSS feeds.

    Any Suggestions ?

  31. Alessandro Pagano replied:

    Hi guys, thank you for this wonderful plugin. Since i installed 0.99 version, i’ve a problem. many post duplicates. I have just one source and i set the updating “automatically” (every 5 minutes) and i also have a cron that fetch my homepage every 15min. I have so many duplicates!! (even five for each articles) How can i solve it ? Probably i could stop automatic update, and do it only with cron… but how i con do this ? Thanks in advance…

  32. saul replied:

    Two things others have mentioned that I have noticed as well. 1) duplicate posts - I’m syndicating content from my blog hosted at Wordpress.com to a Wordpress 2.3 blog hosted myself at Dreamhost and it gets the last 10 or so posts each time and tries to create them as new posts. I have the syndicated content added as drafts for now and just delete the dups. Note: it only makes one duplicated entry of an existing post, not many duplicate entries. I don’t have a high posting volume, so I wonder what will happen once I get past the first 10 posts or so that were not added to the Dreamhosted blog via this plugin. 2) Categories - not being added to syndicated posts. Everything comes across as Uncategorized.

    Otherwise, its a great plugin. Just what I was looking for to transition to the new blog while I’m getting things setup.

    Thanks,

  33. Christopher replied:

    Hi, just wanted to say thanks for a great plugin.

    I do have a question, though.

    Right now, I’ve set the permalinks to point to the originating url. How would I still grab the permalink for the post page on my site, though?

  34. jimmy replied:

    This plugin has great potential unfortunately it isn’t cooperating with any feeds I give it, not even feedburner.

    I get the same error each time I submit a feed: Fatal error: Cannot use object of type WP_Error as array in /home/[Deleted]/wp-includes/taxonomy.php on line 1010

    Any ideas?

  35. Cal Evans replied:

    Allow me to add my voice to the chorus of “Great Job”! As a WP plugin author myself, I know how hard it can be.

    I’d like to request one feature for a future version:

    I import all as draft and some posts never get published. However, if I delete them, they are re-added the next update. Would it be possible to keep a list of previously imported posts (base it on permalink?) and only add those that do not appear in the list?

    Again, great job!

    =C=

  36. methodista replied:

    PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE explain how to catch duplicate posts! It’s driving me absolutely insane and is a major problem with this plugin (and always has been). I understand the problem might be with the RSS feeds themselves, but so far Yahoo News, Google News and Ebay feeds are all “broken.” I’d say that’s reason enough for you to offer a fix. Thanks!

  37. aski replied:

    Hi, I’m getting this error: Fatal error: Call to undefined function debug() in /wordpress/wp-includes/rss.php on line 492.

    I deactivated Feedwordpress and the error diseappears.

    Feedwordpress works but the error is annoying for my visitors.

    What can it be?

  38. aski replied:

    Sorry, Forget to add this information.

    My site has Wordpress 2.2.2, PHP5 and Feedwordpress 0.99b2

  39. tricky replied:

    nice to see a new version! i´m gonna try it now. i wonder if you fixed the bug when having two sub categories with the same name, but different parent, causing it to add to the first one, instead of the cat. you choose for a feed´s default.

  40. BIll replied:

    Thank you so much for creating this plugin! When I came up with the idea for my website, I assumed there would me multitudes of plugins to do this, and I tried a bunch. Feedwordpress was the only one that worked.

  41. hurry replied:

    When I click on “Use this feed” to add it, it gives this error:

    Fatal error: Cannot use object of type WPError as array in /home/username/publichtml/wp-includes/taxonomy.php on line 1010

    I am using 0.99 and WP 2.3. Pleas eprovide a fix. Thanks.

  42. eric replied:

    any hope for having photo support?

  43. Bruno replied:

    my feedwordpress’ed site http://beta.divulgarciencia.com running 2.3 shows this error:

    WordPress database error: [Duplicate entry 'blog about science Cincia' for key 2] INSERT INTO blogscienciausers (userlogin, userpass, useremail, userurl, userregistered, usernicename, displayname) VALUES (’blog about science Cincia’, ‘45e449412221aba34a8dbf474795a40b’, ”, ‘http://jmgs.wordpress.com’, ‘2007-10-30 19:16:31′, ‘blog-about-science-cincia’, ‘blog about science » Ciência’)

  44. Bruno replied:

    Well, actually that was 0.99 runnin’ on a 2.0.11. I am going to update to 2.3 to see if the same problem happens.

  45. Bruno replied:

    Running 2.3.1 I select the link category to the right one and the select box defaults back to another one that I set. But the setting seems to be saved.

    This is one the field: “Syndicated Link category:”

  46. Kolz Blog » Blog Archive » How to deal with dates and timestamps in WordPress:

    [...] handles the timestamps of syndicated posts. Fortunately, I did, and this bug is fixed in the recently-released version 0.99. To explain what I mean, I’ll have to back up a bit, first. There are a couple things that [...]

  47. Gerhard Lehnhoff replied:

    **** International Version ****

    Hi Rad,

    great plugin, exactly what I need.

    BUT, it is hardly internationalised. As I have to have it in German language, I will do this job if nobody else has done it so far and will create the equivalent po- and mo-files.

    What do you think? You would have then to do all future changes on the new internationalised version.

    Please give me a reply preferable to my email-address.

    Cheers - gl

  48. Gerhard Lehnhoff replied:

    *** Problem: Contributor deleted ****

    Hi Rad,

    I deleted the “6: Contributers” and don’t get it back anymore. Even a deactivation and activation of the plugin does not work.

    Any idea to solve my problem?

    Cheers - gl

  49. Eunjin replied:

    Hi Rad. I love your product but this duplicate thing….not good. hehe I was wondering if I can downgrade to the previous version then upgrade again when this thing is fixed.

  50. Waldo Jaquith replied:

    All feeds that I’m syndicating from wordpress.com (the hosted WordPress install service) have the content of each post recorded as, simply, “A.” This is true in the display as well as the preview, when first adding the feed. It only affects RSS feeds — Atom works fine. Subscribing to the feed in Google Reader and NewsFire works fine, the feeds validate, and viewing the raw RSS looks just fine.

    I strongly suspect that the “A” is a result of PHP echoing a fragment of the word “Array,” when FeedWordPress is expecting a string. At least, that’s generally what’s wrong with my code when that happens. :)

    Thanks so much for FeedWordPress. It was well worth the $5 contribution, and I heartily encourage others to likewise contribute to keep the project going.

  51. .. Minda Indra .. » A:

    [...] Hmm.. mungkin sudah waktunya untuk saya meng-upgrade FeedWordPress di Planet Singapura ke versi terbaru? [...]

  52. Waldo Jaquith replied:

    FWIW, this duplicate posts problem is pretty severe. Looking at my log files, I see that many RSS feeds are simply being retrieved twice consecutively, with just a few seconds separating each retrieval. Each of my FeedWordPress installs is on public sites with thousands of readers and hundreds of feeds aggregated, so it’s all a bit of a mess at this point.

  53. Zaphod replied:

    As for the duplicate posts problem, just insert this few lines at line 2119 in feedwordpress.php, between “endforeach;” and “if ($this->useapi(’wpinsert_post’)) :”

    /******* DUPLICATE CHECK ************/ $dupquery = “SELECT ID FROM “.$wpdb->posts.” WHERE guid = \”".$dbpost['guid'].”\” OR postexcerpt = \”".$dbpost['postexcerpt'].”\”"; $resultdup = @$wpdb->query($dup_query);

    if($resultdup) //Already posted: (log and) discard { $handle = fopen(”./dupposts.txt”, “a+”); fprintf($handle, “%s”, “===================== DUPLICATE POST! ======================n”); fprintf($handle, “%s”, “POSTTITLE:”.$dbpost['posttitle'].”n”); fprintf($handle, “%s”, “POSTCONTENT:”.$dbpost['postcontent'].”n”); fprintf($handle, “%s”, “POSTGUID:”.$dbpost['guid'].”n”); fprintf($handle, “%s”, “DUPQUERY:”.$dupquery.”n”); fprintf($handle, “%s”, “DUPQUERYRETURN:”.$resultdup.”n”); fprintf($handle, “%s”, “================================================================nn”); fclose ($handle); return; } /************************************/

    It’s a quick, inelegant and dirty solution: just a query on the db to check if there are other posts with the same guid or post_excerpt. Of course you can modify it to your needs. If the query returns anything, meaning that one or more posts have been found, “return” is called and the new post is not inserted in the DB.

    Duplicate posts are logged into a text file called “dup_posts.txt” under your wordpress root directory. Make sure that it is writable (chmod it to 777). If you want to disable this feature (strongly suggested once that you’ve verified that posts that should be filtered out are actually filtered) just comment out the fopen, fprintf and fclose instructions.

    I do not guarantee that this will work for any Wordpress installation and i will not answer to support requests. If the author of Feedwordpress (thank you for this great software, Rad Geek!) thinks this will not work or it can break Feedwordpress in any way, i hope he will let us know.

    Regards

  54. Zaphod replied:

    I see that the code is hardly readable. I apologize for this. Itry to repost it using the Markdown syntax. If results are the same, given there’s no preview before posting, try to fix the cose manually. I see, for example, that underscores are removed. Here it is:

    /******* DUPLICATE CHECK ************/
    $dup_query = "SELECT ID FROM ".$wpdb->posts." WHERE guid = \"".$dbpost['guid'].”\” OR post_excerpt = \”".$dbpost['post_excerpt'].”\”";
    $result_dup = @$wpdb->query($dup_query);        
    
    if($result_dup) //Already posted: (log and) discard
    {
    $handle = fopen(”./dup_posts.txt”, “a+”);
    fprintf($handle, “%s”, “===================== DUPLICATE POST! ======================\n”);
    fprintf($handle, “%s”, “POST_TITLE:”.$dbpost['post_title'].”\n”);
    fprintf($handle, “%s”, “POST_CONTENT:”.$dbpost['post_content'].”\n”);
    fprintf($handle, “%s”, “POST_GUID:”.$dbpost['guid'].”\n”);
    fprintf($handle, “%s”, “DUP_QUERY:”.$dup_query.”\n”);
    fprintf($handle, “%s”, “DUP_QUERY_RETURN:”.$result_dup.”\n”);
    fprintf($handle, “%s”, “================================================================\n\n”);
    fclose ($handle);       
    return;
    }
    /************************************/
    
  55. max replied:

    Hi-

    Thanks so much for the update.

    I’m still having some problems with posts looking weird. They are syndicating, but it’s not getting the information correctly. Sometimes only a single letter appears, sometimes titles are dropped, or no post content appears at all.

    i have install at http://www.criticalbloggers.org.

    thanks max

  56. Rad Geek’s Projects » FeedWordPress 0.991: bug fixes, reorganization, minor features added — and MU compatability:

    [...] have received some feature requests concerning the new updating system that I introduced in FeedWordPress 0.99. Under the old system, there was a (needlessly complicated) system for having FeedWordPress poll [...]

  57. rryqs replied:

    hi i have used this plugin for long time,great work,but now have problem in

    Fatal error: Cannot use object of type WP_Error as array in /wp-includes/taxonomy.php on line 1014

    any idea?

    thanks

  58. Mark Allen replied:

    This code works much better for me in WordPress 2.3 and 0.992 of the plugin. Add at line 3722 or so. Look for ‘$this->post['postmodifiedgmt'] = … before inserting this:

    // DUPLICATE CHECK 
    $dup_query = "SELECT ID FROM ".$wpdb->posts." WHERE post_title = '".$this->post['post_title'].”‘ AND post_date_gmt = ‘”.$this->post['post_date_gmt'].”‘”;
    $result_dup = @$wpdb->query($dup_query);        
    
    if($result_dup) //Already posted: (log and) discard
    {
          $handle = fopen(”./dup_posts.txt”, “a+”);
          fprintf($handle, “%s”, “POST_TITLE:”.$this->post['post_title'].”\n”);
          fprintf($handle, “%s”, “DUP_QUERY:”.$dup_query.”\n”);
          fprintf($handle, “%s”, “RESULT_DUP:”.$result_dup.”\n”);
          fclose ($handle);       
          return;
     }
    
  59. Mike replied:

    Hi, I really like this pluggin and it works great for me.

    I am a little confused on what the “Custom Settings” is for. Maybe I am just confused with what I read….completely possible.

    I would also like to know if there is a way to “add-on” some text to the end of the description or each post and something different for each feed?

    Basically I would like to have the title link to my page, but a link at the end of the description (or somewhere in the post) to the original site.

    Thanks!

Post a reply

Posting comments

This form is for public comments. Consult About: Comments for policies and copyright details.

You can register for an account and sign in to verify your identity and avoid spam traps.

Formatting Comments

Use Markdown syntax for formatting.

  • *emphasis* = emphasis
  • **strong em** = strong em
  • [link](http://radgeek.com/) = link
  • `[_no_](format)` = [_no_](format)

Code blocks should be indented with four or more spaces at the start of each line:

    function _foo ($_bar) {
        return $_bar;
    } /* foo() */
By:
Your e-mail address will not be published.
Reply:

Sponsorship