Welcome to WebmasterWorld Guest from 34.229.97.16

Forum Moderators: bill & werty

Message Too Old, No Replies

Google news

have You tried to add google RSS to Your site?

     
10:29 am on Aug 12, 2005 (gmt 0)

New User

10+ Year Member

joined:Nov 28, 2003
posts:5
votes: 0


I'm using

-------------------------------
$this_xml_url = "http://news.google.com/news?q=lemurs&output=rss";
eval 'use LWP::Simple qw($ua get)';
$ua->timeout(15);
$xml_result = get($this_xml_url);
-------------------------------
to get RSS from different sites, but google news do not working, I think becasue of "&" in url.

Сan You help me?

2:55 am on Aug 14, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 1, 2002
posts:1018
votes: 2


I'm not having any problems reading the RSS feed from Google. I think you need to take a closer look at your script.
4:39 am on Aug 15, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Sept 9, 2004
posts:643
votes: 0


Go over to [cpan.org...] and look at the LWP documentation. its not the &

[edited by: werty at 1:52 pm (utc) on Aug. 15, 2005]
[edit reason] Fixed URL [/edit]