Forums

[resolved] How can I flush the RSS cache? (6 posts)

  1. WordpressChina
    Member
    Posted 1 month ago #

    I am posting the headlines of other blogs on my WP blog via RSS. For the last week, 4 of the feeds are updating fine, but two seem stuck -- even though the source feeds have information from today, my WP blog still has information cached from 10 days ago.

    Is there a way to "flush" the RSS cache on my blog? I have access to PHPMyAdmin, so is there a way to run a query, and if so what should I do?

    This is the code I'm using to grab RSS feeds:

    <?php
    require_once(ABSPATH . WPINC . '/rss-functions.php');
    $rss = fetch_rss('http://LINKTOFEED');
    echo '<!--Start-->';
    for($i=0;$i<4;$i++) {
    $item=$rss->items[$i];
    echo '<p><a href="'.$item['link'].'">'.$item
    ['title'].'</a></p>';
    }
    echo '<!--RSS FEED STOPS HERE-->';
    ?>
  2. WordpressChina
    Member
    Posted 1 month ago #

    Sorry to bump after 2 days, but this is rather urgent and I can't find RSS flushing info elsewhere -- I'm sure others have had similar problems, right?

  3. timfitz
    Member
    Posted 1 month ago #

    I am having the same problem.

  4. WordpressChina
    Member
    Posted 1 month ago #

    Yes, does anyone have any advice for timfitz and me?

  5. Otto42
    Moderator
    Posted 1 month ago #

    In the wordpress options table, look for rows that have a key of rss_big-bunch-of-gibberish-here. Those are the cache entries. Delete those rows.

    Note, only delete the rows with the gibberish looking keys. Don't delete rss_anything_else.

  6. WordpressChina
    Member
    Posted 3 weeks ago #

    Tks!!!

Reply

You must log in to post.

About this Topic