RSS Update time
Permalink
I have a very frequently updated RSS feed displayed on my site (showing songs played at the radio station). The feed itself updates every 3 mins or so, but the content on the C5 is sometimes up to an hour behind.
I've looked around the rss_displayer block for anything involving update time, but struck out. Any suggestions where to edit?
For reference, the site is kzsc.org and the rss feed is on the right sidebar. The feed comes fromhttp://spinitron.com/public/rss.php?station=kzsc...
Thanks!
I've looked around the rss_displayer block for anything involving update time, but struck out. Any suggestions where to edit?
For reference, the site is kzsc.org and the rss feed is on the right sidebar. The feed comes fromhttp://spinitron.com/public/rss.php?station=kzsc...
Thanks!
What I found was that the cache is being done by the simplepie.php under concrete/libraries/3rdparty/simplepie.php
This is a huge file and I am in the middle of doing something so I don't want to get too distracted, but you could maybe try disabling cache by editing cache duration on or around line 472. It is currently set to cache for 3600 seconds which is an hour. This is PROBABLY where your problem is.
the code is this:
Try editing that file with a duration of something that won't get you banned, maybe every 2 minutes or something like that, or 120 intead of 3600.
If your site isn't visited often you could even make it 30 seconds or something like that.
Now if you want you can probably recreate the tree structure outside of the concrete directory and keep the simplepie there unaltered, but i think a simple fix as long as you know where you made the change couldn't hurt.
-Scott