RSS Update / Refresh Frequency

  • 1
  • Question
  • Updated 3 years ago
  • Answered
Hi all, as always, kudos to an excellent product.  I've recently installed RV onto my raspberry pi per your instructions, currently running like a champ.

My question / problem is that for this display, I'm using the RSS widget to scroll a custom XML file I host and update from time to time.  However, i can't seem to get my head around the update frequency because when I add a new item to my RSS feed, it doesn't seem to show in a timely fashion (as in hours).  As a test I left my screen running over the weekend, and when I came in today, I saw my new item, but as I try to add new elements today (and last week) as a test, none of them show up.

Is there anything I can do to make it refresh faster?  Could it be something in the Raspberry Pi environment, caching, etc that I need to tweak?  I'm using the fade transition, so as I understand it, it should be refreshing with each iteration, but I can't seem to make that happen in either live or preview mode.

I've tried adding a ttl element of "1" to my feed in hopes it will force an update, no luck so far.

Anyone else come across this, or know any steps I should try to resolve?  My feed checks out on all the validators.

Any help appreciated!
Photo of Kevin Till

Kevin Till

  • 928 Points 500 badge 2x thumb

Posted 4 years ago

  • 1
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Kevin,

Could you provide a link to the RSS feed you're using?
Photo of Kevin Till

Kevin Till

  • 928 Points 500 badge 2x thumb
Sure, here you go:
http://www.sensiblemicro.com/userfiles/RSS/Reception_News.xml

Looking at my signage now, it seems to be ignoring the 1st item in the list, which is just a test for this troubleshooting.
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Kevin,

Thanks for the update! Just curious, does the new item you added show a <pubDate> tag that is in the future?
Photo of Kevin Till

Kevin Till

  • 928 Points 500 badge 2x thumb
No, none of my items show a pubDate tag.  Do you think including that would help?  Does the gadget check that?
Photo of Kevin Till

Kevin Till

  • 928 Points 500 badge 2x thumb
Update2: Well was about to step out, figured I'd check the feed, now my second item is showing correctly, so that only took about 10 minutes.  Maybe it's starting to work now.  I'll test again when I return and report back.
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Kevin,

The gadget will read and sort by pubDate, but you need to be careful of any pubDate tags that are dated for future times.
Photo of Kevin Till

Kevin Till

  • 928 Points 500 badge 2x thumb
Final Update:  Well, I've been timing it, and seems like it's now accepting my new RSS entries after about a 5 minute delay, which is acceptable for my use-case.  Maybe me cleaning up the GUID and ATOM errors had some effect?

Anyhow, thanks for your help Blake, I'll report back if this changed.
Photo of Eyal Radomsky

Eyal Radomsky

  • 1,306 Points 1k badge 2x thumb
Hi Everyone,

I have seen this and other posts from the past and wonder whether anyone found a solution for timely update of self generated RSS feeds.

I am generating multiple RSS feeds to be displayed on the screens; required refresh should be max 10-15 seconds.

Another issue that I noticed is that the RSS feeds to not refresh at the same frequency;  20 or  more RSS feeds on one screen with the same settings are not in sync and are "flashing at different frequencies; it would be more logical to see all feeds "flash/update" all at the same time rather than each one at a different time and even at different frequencies/speeds.

Any recommendation about the above two topics, refresh rate to display and refresh sync on the screen, will be much appreciated.

Thanks

Eyal 
Photo of Ashleigh

Ashleigh

  • 3,740 Points 3k badge 2x thumb
Hi Eyal,

To set a particular refresh rate you may be better off embedding your RSS Feeds via our HTML widget. You will need to contain them in an iframe, and then set the ID along with pulling the URL.

This way, you can run this script:

<script>
setInterval(function(){
    document.getElementById('your_iframe_id').contentWindow.location.reload();
}, 1000);
</script>


This will refresh your feed every 10 seconds.

Thanks!
(Edited)