extract news article from web
simon.brunning at gmail.com
Wed Dec 29 17:15:53 CET 2004
On 22 Dec 2004 09:22:15 -0800, Zhang Le <sigu4wa02 at sneakemail.com> wrote:
> I'm writing a little Tkinter application to retrieve news from
> various news websites such as http://news.bbc.co.uk/, and display them
> in a TK listbox. All I want are news title and url information.
Well, the BBC publishes an RSS feed, as do most sites like it. You
can read RSS feed with Mark Pilgrim's Feed Parser.
Granted, you can't read *every* site like this. But I daresay that
*most* news related sites publish feeds of some kind these days. Where
they do, using the feed is a *far* better idea than trying to parse
simon at brunningonline.net,
More information about the Python-list