rss displayer doesn't update

Permalink
I've made a news page with several rss feeds. But they would update automatically. When I edit the block and update, the correct feed is shown. I'm not planning to update every block by hand every hour or so.

Some one got a solution?

 
doctypedesigner replied on at Permalink Reply
Same damn problem dude, I need a solution soon as well! Anybody?
Keyfin replied on at Permalink Reply
Nothing? anybody ...?!
FooSoft replied on at Permalink Reply
I've got the exact same problem as well
robbw replied on at Permalink Reply
I see that even nearly nine months after posting your complaint, the issue STILL hasn't been resolved. I just recently added the RSS Displayer block to my front page, and I'm having the same problem. The feed won't update until I go into page edit mode and mess with the RSS block. Only THEN will it update once I save my changes. I'm going to get tired of this routine REAL quick!
russgrue replied on at Permalink Reply
Hey Everyone,

The problem is that C5 and SimplePie the RSS library both cache the feed and will use that in preference to fetching a fresh copy of the feed.

There are a few things you can do.

1) Clear the cache or disable cacheing on the page with the RSS feed.
2) Modify the RSS_Displayer block to set "enable-cache" to be false.
3) Modify the SimplePie library to either disable the cache or set the cache time to a lower number.

I accidentally did all three of these things on my development and production server so I don't know which one is the best to use, I'd say a combination of 1 and 2. If you aren't experienced enough to know how todo what I've suggested let me know and I'll post some code segments.

Hope this helps
Russ
robbw replied on at Permalink Reply
How do you modify the RSS_Displayer block to set "enable-cache" to be false? I do not see that option anywhere.
russgrue replied on at Permalink Reply
In the function view()...

add the line...

$feed->enable_cache (false);


before the line...

$feed->init();


This is what you need to do but with further investigation it has not worked for me and I've logged a bug with the developers. It may work for you so give it a try but so far resetting the cache is the only thing that's working for me.

Russ