[ale] RSS + TTL
Jim Popovitch
yahoo at jimpop.com
Tue Oct 7 09:47:51 EDT 2008
On Tue, Oct 7, 2008 at 09:18, Chris Fowler <cfowler at outpostsentinel.com> wrote:
> Anyone here playing around with RSS?
>
> I decided to do a little research today to see how I can use RSS in our
> system.
> Most of the items I want the client to see are time sensitive and I need
> the client to read the XML file on the server at least once per 5
> minutes. I've
> added the <ttl> option the feed and it does not seem FireFox 3.0
> respects it.
> I'm tailing apaches access log and I see no attempt to grab the file every
> 5 minutes. Possibly I've did something wrong?
>
> Here is the top of the rss feed file
>
> <?xml version="1.0" ?>
> <rss version="2.0">
> <channel>
> <title>SAM AlarmCenter Organization: DEMO</title>
> <description></description>
> <link>http://demo.opsdc.com/</link>
> <ttl>5</ttl>
> <webMaster>support at demo.opsdc.com</webMaster>
>
I've never seen a ttl stanza in an rss feed, but the following should
work for 2 minute updates:
<?xml version="1.0" ?>
<channel>
<title>SAM AlarmCenter Organization: DEMO</title>
<description></description>
<link>http://demo.opsdc.com/</link>
<syn:updatePeriod>hourly</syn:updatePeriod>
<syn:updateFrequency>30</syn:updateFrequency>
<syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
-Jim P.
> Maybe FF has a minimum?
>
> --
> Chris Fowler
> OutPost Sentinel, LLC
> Support @ SIP/support at pbx.opsdc.com
> or 678-804-8193
> Email Support @ support at outpostsentinel.com
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>
More information about the Ale
mailing list