Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: parse google news

__/ [pawan] on Monday 13 February 2006 16:04 \__

> can anybody tell me how to parse google news.i mean by first getting
> the rss feed and then parsing and then storing it .
> 
>    plz somebody tell the whole procedure of doing it.

There is no very simple way as it needs to involve a script or some
programming. The former path involves stitching some bits of Lego, whereas
the latter can be tough and prone to bad handling of exceptions, of which
there are plenty. Here is what I would do:

* Use a grabber or a downloading tool (not a browser) to fetch the feed/s.

 Example: wget http://news.google.com/news?hl=en&q=#+#&ie=UTF-8&output=rss

          where #'s are the pertinent search terms.

To be impartial:

 wget http://news.search.yahoo.com/news/rss?p=#+#&ei=UTF-8&fl=0&x=wrt

To get more option, see the wget manual pages ('man wget')

* Get a free RSS parser, e.g.

  http://magpierss.sourceforge.net/

* Follow documentation that accompanies the tool

That's all there is to say, I guess, unless one echoes the manuals, which are
usually extensive and include plenty of examples.

Good luck!

Roy

-- 
Roy S. Schestowitz      |    "These characters were randomly picked"
http://Schestowitz.com  |    SuSE Linux     |     PGP-Key: 0x74572E8E
  4:25pm  up 27 days 11:26,  13 users,  load average: 0.19, 0.52, 0.62
      http://iuron.com - next generation of search paradigms

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index