• I feel like the boy who cried wolf wolf. I hope this time I am in the right.

    I turned debugging mode on, on the FeedWordPress plugin, and found out something interesting:

    I had a feed which had an updated post in it. The result of the FeedWordPress was to update that feed twice, at least that’s what the debug output shows.

    Here is the output:

    Check currently scheduled feeds for new and updated posts.
    Updating R-statistics blog from <http://www.r-statistics.com/feed/?cat=R&gt; …
    Diag| Polling feed [http://www.r-statistics.com/feed/?cat=R]
    Diag| Considering item [http://www.r-statistics.com/?p=521] “Tips for the R beginner (a 5 page overview)”
    Diag| Updating existing post # 45069, “Tips for the R beginner (a 5 page overview)”
    Diag====| Adding post meta-data: {syndication_source, syndication_source_uri, syndication_source_id, rss:comments, wfw:commentRSS, syndication_feed, syndication_feed_id, syndication_permalink, syndication_item_hash}
    Diag====| Adding post meta-datum to post [48000]: [syndication_source] = string(17) “R-statistics blog”
    Diag====| Adding post meta-datum to post [48000]: [syndication_source_uri] = string(27) “http://www.r-statistics.com&#8221;
    Diag====| Adding post meta-datum to post [48000]: [syndication_source_id] = string(39) “http://www.r-statistics.com/feed/?cat=R&#8221;
    Diag====| Adding post meta-datum to post [48000]: [rss:comments] = string(86) “http://www.r-statistics.com/2010/08/tips-for-the-r-beginner-5-pages-overview/#comments&#8221;
    Diag====| Adding post meta-datum to post [48000]: [wfw:commentRSS] = string(82) “http://www.r-statistics.com/2010/08/tips-for-the-r-beginner-5-pages-overview/feed/&#8221;
    Diag====| Adding post meta-datum to post [48000]: [syndication_feed] = string(39) “http://www.r-statistics.com/feed/?cat=R&#8221;
    Diag====| Adding post meta-datum to post [48000]: [syndication_feed_id] = string(2) “19”
    Diag====| Adding post meta-datum to post [48000]: [syndication_permalink] = string(77) “http://www.r-statistics.com/2010/08/tips-for-the-r-beginner-5-pages-overview/&#8221;
    Diag====| Adding post meta-datum to post [48000]: [syndication_item_hash] = string(32) “4edeeceeab388f941cc5fdcb5a92ff4c”
    Diag====| Adding post meta-data: {syndication_source, syndication_source_uri, syndication_source_id, rss:comments, wfw:commentRSS, syndication_feed, syndication_feed_id, syndication_permalink, syndication_item_hash}
    Diag====| Adding post meta-datum to post [45069]: [syndication_source] = string(17) “R-statistics blog”
    Diag====| Adding post meta-datum to post [45069]: [syndication_source_uri] = string(27) “http://www.r-statistics.com&#8221;
    Diag====| Adding post meta-datum to post [45069]: [syndication_source_id] = string(39) “http://www.r-statistics.com/feed/?cat=R&#8221;
    Diag====| Adding post meta-datum to post [45069]: [rss:comments] = string(86) “http://www.r-statistics.com/2010/08/tips-for-the-r-beginner-5-pages-overview/#comments&#8221;
    Diag====| Adding post meta-datum to post [45069]: [wfw:commentRSS] = string(82) “http://www.r-statistics.com/2010/08/tips-for-the-r-beginner-5-pages-overview/feed/&#8221;
    Diag====| Adding post meta-datum to post [45069]: [syndication_feed] = string(39) “http://www.r-statistics.com/feed/?cat=R&#8221;
    Diag====| Adding post meta-datum to post [45069]: [syndication_feed_id] = string(2) “19”
    Diag====| Adding post meta-datum to post [45069]: [syndication_permalink] = string(77) “http://www.r-statistics.com/2010/08/tips-for-the-r-beginner-5-pages-overview/&#8221;
    Diag====| Adding post meta-datum to post [45069]: [syndication_item_hash] = string(32) “4edeeceeab388f941cc5fdcb5a92ff4c”
    Diag| Considering item [http://www.r-statistics.com/?p=517] “Rose plot using Deducers ggplot2 plot builder”
    Diag| Considering item [http://www.r-statistics.com/?p=507] “ggplot2 plot builder is now on CRAN! (through Deducer 0.4 GUI for R)”
    Diag| Considering item [http://www.r-statistics.com/?p=499] “Blogging about R – presentation and audio”
    Diag| Considering item [http://www.r-statistics.com/?p=483] “Richard Stallman talk+Q&A at the useR! 2010 conference (audio files attached)”
    Diag| Considering item [http://www.r-statistics.com/?p=474] “Want to join the closed BETA of a new Statistical Analysis Q&A site – NOW is the time!”
    Diag| Considering item [http://www.r-statistics.com/?p=459] “New versions for ggplot2 (0.8.8) and plyr (1.0) were released today”
    Diag| Considering item [http://www.r-statistics.com/?p=442] “StackOverFlow and MetaOptimize are battling to be the #1 “Statistical Analysis Q&A website” – to whom would you signup?”
    Diag| Considering item [http://www.r-statistics.com/?p=435] “Visualization of regression coefficients (in R)”
    Diag| Considering item [http://www.r-statistics.com/?p=424] “Contest: Road Traffic Prediction for Intelligent GPS Navigation”
    completed in 3 seconds
    Update complete. 0 new posts were syndicated and 1 existing posts were updated

    Also, another interesting thing is that I changed the site wide setting to not update posts which where updated, but it still updated it. I then looked and found that for this feed there was an override that said to update that feed even if the site-wide update feature said not to update it.
    So the bug might have something to do with that (or there is a bug in the debugging output).

    I would be glad to know if this turns out to be true.

    Tal

    http://wordpress.org/extend/plugins/feedwordpress/

  • The topic ‘[plugin FeedWordPress] Bug: double update for updated feeds’ is closed to new replies.