You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Dave <ja...@yahoo.com> on 2006/11/18 09:20:59 UTC

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

Re: RSS help

Posted by mi...@trollope.org.
On Sat, Nov 18, 2006 at 12:20:59AM -0800, Dave wrote:

> 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?

  
Developing Feeds with RSS and Atom by Ben Hammersley

There are many similar books.

Thanks.

mp

-- 
Michael Powe		michael@trollope.org		Naugatuck CT USA
"The most likely way for the world to be destroyed, most experts
agree, is by accident.  That's where we come in. We're computer
professionals. We cause accidents."  -- Nathaniel Borenstein, inventor
of MIME

Re: RSS help

Posted by Jonathan Harley <jo...@parkplatz.net>.
Dave wrote:
> 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?

If you can save out entries that you want made into an RSS feed into
static files, you could use one of the Apache modules which exist
to serve up a directory index in RSS format. This is a good solution
because normally, past entries in a feed never change once they're
generated.

If you want it to be generated completely dynamically within your
application, I'd recommend the Rome library (https://rome.dev.java.net)
which includes generators for Atom and all varieties of RSS found in
the wild.


Jonathan.
-- 
.....................................................................
           Dr Jonathan Harley   .
                                .   Email: jon@parkplatz.net
            Zac Parkplatz Ltd   .   Office Telephone: 024 7633 1375
            www.parkplatz.net   .   Mobile: 079 4116 0423

Re: RSS help

Posted by Edgar Alves <ea...@mobicomp.com>.
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 <sa...@wirkle.com> 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:javaone9@yahoo.com] 
>> 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: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>>
>> ---------------------------------
>> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: RSS help

Posted by Dave <ja...@yahoo.com>.
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 <sa...@wirkle.com> 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:javaone9@yahoo.com] 
> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
> 
> ---------------------------------
> 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?

-- 
Santosh.

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



 
---------------------------------
Sponsored Link

Mortgage rates near 39yr lows. $310,000 Mortgage for $999/mo -  Calculate new house payment

Re: RSS help

Posted by Santosh Puranshettiwar <sa...@wirkle.com>.
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 <mi...@edm-concepts.com> 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:javaone9@yahoo.com] 
> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>  
> ---------------------------------
> 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?

-- 
Santosh.

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


RE: RSS help

Posted by Dave <ja...@yahoo.com>.
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 :)
Dave


Michael Hencin <mi...@edm-concepts.com> 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:javaone9@yahoo.com] 
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



 
---------------------------------
Sponsored Link

Mortgage rates near 39yr lows. $420,000 Mortgage for $1,399/mo - Calculate new house payment

RE: RSS help

Posted by Michael Hencin <mi...@edm-concepts.com>.
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:javaone9@yahoo.com] 
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org