How can I flush the RSS cache?
-
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('https://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-->'; ?>
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘How can I flush the RSS cache?’ is closed to new replies.