1) If this is a commercial site you are doing this for, you will need to
contact cnn.com and ask them for permission to use their data.  Otherwise
you are opening yourself up to a lawsuit.  Linking is ok, plagerism or flat
out content stealing isn't.  I think it was ticketmaster vs.
some-little-po-dunk-operation that decided this.

2) As for a real answer.  I think you will need to have an excutable go and
get the cnn.com page every 15min or so and parse the thing.  This sound
more like a perl application than a java application.  Or you want to check
out the jakarta regexp library. jakarta.apache.org I think.
--Angus

Krishna Srinivasan wrote:
>
> I'm trying to incorporate newsfeed from an external site say CNN.com and
> show the headlines on my site.
> As news gets updated in CNN.com,my site should also
> show the latest news.
>
> How do i accomplish this?Do i need to open a socket connection with the
> external site or is there any other way to do it?
> Any information will be of great help to me.
>
> Thanks in advance,

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to