Send the Last-Modified HTTP header from your web application and check
for a If-Modified-Since request header. If you detect that the client
has a fresh version of the feed, respond with a 304 (Not Modified) code.

  -- Edgar

Dave wrote:
> Is there a way that NewsReader knows whether a page has been updated? How? 
> the page is dynamic collecting data from database.
>   Thanks!
>
> Santosh Puranshettiwar <[EMAIL PROTECTED]> wrote:
>   Dave wrote:
>   
>> Thanks,
>>
>> It semms that it is easy to write the XML file for a Feed. But how 
>> does NewsReader know the page (pointed by feed link) has been changed, 
>> what are the changes, updated time?
>>
>> I have not got the idea yet :)
>>
>>     
> The NewsReader /polls/ the feed regularly.
> As such there is no mechanism for notifying changes.
>   
>> Dave
>>
>>
>> Michael Hencin wrote: Dave
>>
>> I went thru the same thing. Basically all you need to do is make an XML file
>> and put it on a web server some place. Then provide the link. People can
>> copy the link and paste it into any rss reader, or if their browser
>> understands what to do, it will add the rss feed link to the integrated
>> reader. 
>>
>> So you need to create the XML file, save that file to your web server. Then
>> provide a link for people to use.
>>
>> Here are some links I came by
>>
>> http://searchenginewatch.com/showPage.html?page=2175271
>>
>>
>> http://en.wikipedia.org/wiki/RSS_%28file_format%29
>>
>> Mike
>>
>>
>> -----Original Message-----
>> From: Dave [mailto:[EMAIL PROTECTED] 
>> Sent: Saturday, November 18, 2006 2:21 AM
>> To: users@myfaces.apache.org; Tomcat Users List
>> Subject: RSS help
>>
>> How to support RSS in a website so that people can subscribe? I googled and
>> found lots of documents about how to subscribe and about news readers, but
>> not talking about how to support RSS functionality in a website?
>>
>> Thanks,
>> Dave
>>
>>
>> ---------------------------------
>> Sponsored Link
>>
>> Mortgage rates as low as 4.625% - $150,000 loan for $579 a month.
>> Intro-*Terms
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>> ---------------------------------
>> Sponsored Link
>>
>> Mortgage rates near 39yr lows. $420,000 Mortgage for $1,399/mo - Calculate 
>> new house payment
>>
>>     
>
> Also, I wonder how this question pertains to this mailing list?
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to