[ale] RSS + TTL

Chris Fowler cfowler at outpostsentinel.com
Tue Oct 7 10:38:19 EDT 2008


Jim Popovitch wrote:
> 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.
>
>
>
>
>
>   
There must be a limit.  Here is RSS now

<?xml version="1.0" ?>
<!-- <rss version="2.0"> -->

<rdf:RDF
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns="http://purl.org/rss/1.0/"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/"
 xmlns:syn="http://purl.org/rss/1.0/modules/syndication/">

<channel rdf:about="http://outpostsentinel.com">
        <title>SAM AlarmCenter DEMO Organization</title>
        <link>http://demo.opsdc.com</link>
        <description></description>
        <dc:language>en-us</dc:language>
<!--  <dc:rights>Copyright &amp;copy; 1999-2002, 
Azurance.com</dc:rights> -->
        <dc:publisher>OutPost Sentinel, LLC</dc:publisher>
        <dc:creator>support at demo.opsdc.com</dc:creator>
        <dc:subject></dc:subject>
        <syn:updatePeriod>hourly</syn:updatePeriod>
        <syn:updateFrequency>30</syn:updateFrequency>
        <syn:updateBase>1999-11-05T09:00:00-05:00</syn:updateBase>
        <items>
                <rdf:Seq>
                    <rdf:li 
rdf:resource="http://www.infoworld.com/articles/hn/xml/02/10/24/021024hnnpcwest.xml?s=IDGNS" 
/>
                </rdf:Seq>
        </items>
</channel>

<item 
rdf:about="http://www.infoworld.com/articles/hn/xml/02/10/24/021024hnnpcwest.xml?s=IDGNS">
<title>Network chip makers focus on security</title>
<link>http://www.infoworld.com/articles/hn/xml/02/10/24/021024hnnpcwest.xml?s=IDGNS</link>
</item>

</rdf:RDF>

I'm tailing the access_log and I see no attempts for FF to get the XML 
file and
we also see not attempts by myyahoo to get the file.  We are testing both
news readers.



>
>
>   
>> 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
>>
>>     
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>   


-- 
Chris Fowler
OutPost Sentinel, LLC
Support @ SIP/support at pbx.opsdc.com
 or 678-804-8193
Email Support @ support at outpostsentinel.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20081007/106dfbe0/attachment.html 


More information about the Ale mailing list