Support » Fixing WordPress » RSS feeds not showing latest posts

  • Resolved dawnrae

    (@dawnrae)


    This is an odd one. I set up a blog for a client recently who transferred from Blogger to WP. Today, the client informed that a subscriber to her RSS feeds noticed today that it isn’t showing any of her updates. In fact, it’s displaying, I kid you not, five posts from 2005! My client is a very active blogger, posting sometimes two or three times a day, so those are not the only posts in her blog (there are around 300 posts total). Those are the first posts she ever made, in fact. So why the heck are they showing up now … those and only those. I checked the rss and rss2 feeds, both show the same thing. I checked the atom feed and it looked to be correct, displaying the most recent posts. I did a browser refresh and BAM old 2005 posts are there. I’ve loaded the feeds into a stand-alone RSS reader and also in Google reader, all with the same results.
    What gives? Anybody have a clue what would cause this?
    I’ve checked the header of the page and it has the appropriate codes, and I’m using he Subscribe Me plugin, and they all show the same feed (old posts). I’ve tried disabling the plugin but there’s no effect. I’ve turned off wp-cache and deleted the cached data. I’ve cleared my browser cache so many times, I think Safari is permanently chaffed. I’ve turned off the other plugins one at a time and checked the feed again, looking for a conflict, all to no avail.
    I’m at my wits in, really. If anyone can shed some light on the possible reason for this goofiness, it would be greatly appreciated.

    Dawn

Viewing 9 replies - 16 through 24 (of 24 total)
  • dawnrae

    (@dawnrae)

    Nope, that had no effect at all. Still showing the old posts. I wonder if there’s a way to make an RSS feed pull in posts in reverse on purpose.
    For example, if someone for some reason I can’t fathom would actually want to pull in their first posts (like this one is doing) into their RSS feed. Is there a way they could force it to do that.
    My logic in that question being, if I force it to reverse now, would it pull in the new posts?
    My comments feed is working fine, btw.

    Dawn

    dawnrae

    (@dawnrae)

    I’ve disabled and deactivated the wp-cache plugin for the time being while I troubleshoot, to reduce the chances of my seeing a cached version, and I’m clearing my Safari cache each time, and refreshing my RSS reader manually when I check.
    I’ll check on a repair on the DB.
    Thank again, vkaryl

    vkaryl

    (@vkaryl)

    Well, if I think of anything else, I’ll post back.

    moshu

    (@moshu)

    [just because it’s sooooo challenging…]

    There must be something interfering with your “general” feeds
    this monthly feed works:
    http://www.colleengleason.com/wordpress/2006/02/feed
    this category feed works, too: http://www.colleengleason.com/wordpress/category/all-things-considered/feed

    dawnrae

    (@dawnrae)

    That didn’t work either. I think this particular install of WordPress hates me.
    Any suggestions are much appreciated, vkaryl.
    Blessings!

    dawnrae

    (@dawnrae)

    Moshu,
    That’s interesting. The general feeds were working then they suddenly stopped, but I don’t know exactly when. As I said, I’ve tried disabling all plugins and the general feed stays the same, posts from the beginning of the blog instead of the current ones. But that’s not the case with the category feeds, as you showed me. (Thanks for that).
    When I pulled the posts into WP from Blogger, I used the blogger-beta-import tool and pulled the posts into my WP testbed. I attempted to do so at the “live” site once I had everything in place, but the server stalled out. So, to keep from having to manually enter nearly 150 posts, I did an XML export of the posts and comments from my testbed site then pulled them into the “live” site using an import plugin made for WP to WP.
    Afterwards, when I looked at the blog, the posts were showing in reverse order, so I added the following line of code, above the loop, to force the posts to show in the appropriate order (descending):

    <?php query_posts($query_string . “&order=DESC”); ?>

    I wondered earlier if this was causing a problem with the feed and took it out. The pages went back to the reverse order (oldest posts first), but the feed did not change. It was still showing the old posts.
    Is it possible that code has fouled something up somewhere? I don’t see how, but then again, I don’t profess to be an expert in the inner workings of WP.

    Dawn

    dawnrae

    (@dawnrae)

    EUREKA!!!!!!!!
    I figured it out. Talking with you guys helped me turn my brain into thinking another direction.
    The solution, was to add the following line:

    <?php query_posts($query_string . "&order=DESC"); ?>

    before this line:

    <?php $items_count = 0; if ($posts) { foreach ($posts as $post) { start_wp(); ?>

    in the following files in the root WP directory:

    wp-atom.php
    wp-rss.php
    wp-rss2.php
    wp-rdf.php

    Thank you all for your help. Sometimes it works wonders just to talk things out with others.
    Blessings!

    vkaryl

    (@vkaryl)

    Best to you, hope that’s the last of your trials for a while!

    dawnrae

    (@dawnrae)

    Thanks, vkaryl. I appreciate the discussion. It’s amazing how doing that can rattle things loose and make you think in another direction.

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘RSS feeds not showing latest posts’ is closed to new replies.