RSS Cache problem

  • 1
  • Problem
  • Updated 3 years ago
  • Solved
We generate an RSS internally. It is updated every 60 seconds.
We intake hundred of homeless individuals each day and everyone takes a number. As we process the current guest, the RSS is updated with the most recent number. This shows our guests what number we are serving. 

From 9:00AM to 1:00PM, the RSS is updated every 60 seconds. 
We are using the RSS gadget to display this number, however it is not updating as often as we need. In fact, it is really slow to update. It is cacheing the old number and not updating on our screens. 

Here is the RSS: http://www.ourcalling.org/rss/nowserving2.xml

I know this has been posted and commented on hundreds of times, but there seems to be no definitive answer or clear solution. Any ideas would he helpful. 
Thanks.
Photo of Wayne Walker

Wayne Walker

  • 944 Points 500 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
Hi Wayne,

For the quicker updates that you want to achieve, I don't think the RSS Gadget is the way to go in this case. You may want to consider using the Google Spreadsheet Widget, where you can set the update duration to every 5 minutes. You would have to maintain the information in a Google Spreadsheet instead of an RSS feed, but this way you will see updates far faster than you would in an RSS feed.

Does anyone else have a suggestion to help Wayne accomplish his task?

Thanks!
Photo of Wayne Walker

Wayne Walker

  • 944 Points 500 badge 2x thumb
Our database (filemaker) generates this RSS feed. Whatever we use, we need to be able to generate it programatically. I don't think we can update a google spreadsheet programatically. Any other ideas?
Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
None from me I'm afraid. Hopefully someone from our awesome community has a suggestion!
Photo of Wayne Walker

Wayne Walker

  • 944 Points 500 badge 2x thumb
What about an HTML element? Will that cache?
These are overlays, usually scrolling across the bottom of the screen. Is there a way to do that with an HTML element?
Photo of Ashleigh

Ashleigh

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

Some of our users have set a custom refresh interval using HTML, however we can't guarantee this will work based on your setup.

Your code would look something like this:

<iframe id='iframeid' src="EmbedLink"; frameborder="0" width="w" height="h" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>    
<script>
setInterval('reload()', setIntervalnum); 
function reload() {
    document.getElementById('iframeid').src += '';
reload();
}
</script>

For a scrolling HTML element, see: https://community.risevision.com/rise...



Ashleigh
Photo of Wayne Walker

Wayne Walker

  • 944 Points 500 badge 2x thumb
Where would I put that? My HTML element doesn't use an iframe. Here is the HMTL version of the scroller: http://ourcalling.org/rss/nowserving2.html
Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
Wayne,

Did Ashleigh's recommendation help?
Photo of Wayne Walker

Wayne Walker

  • 944 Points 500 badge 2x thumb
My HTML element doesn't contain an iframe. Where do I place that code?
Photo of Ashleigh

Ashleigh

  • 3,740 Points 3k badge 2x thumb
Wayne,

You could try using our Web Page widget and entering http://ourcalling.org/rss/nowserving2.html into the field.

Otherwise, you can use our HTML widget and paste the following between the <body> tags within the configuration:

<iframe id='scroller src="http://ourcalling.org/rss/nowserving2.html"; frameborder="0" width="500" height="500" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>    
<script>
setInterval('reload()', SETREFRESHINTERVALVALUEHERE); 
function reload() {
    document.getElementById('scroller').src += '';
reload();
}
</script>
Photo of Ashleigh

Ashleigh

  • 3,740 Points 3k badge 2x thumb
Also, to add, you can set a refresh interval using our Web Page Widget as well.