Manual Reference Pages - WWW::GOOGLE::NEWS::TW (3)
WWW::Google::News::TW - Access to Googles Taiwan News Service (Not Usenet)
use WWW::Google::News::TW qw(get_news);
my $results = get_news();
my $results = get_news_for_topic(XX);
This module provides a couple of methods to scrape results from Google Taiwan News, returning
a data structure similar to the following (which happens to be suitable to feeding into XML::RSS).
XX => [
update_time => 11XXX,
source => XXXXX-,
summary => XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ,
url => http://udn.com/NEWS/LIFE/LIFS2/2233728.shtml,
headline => XXXXXXXXXXXXXX
XX => [
update_time => 2XXX,
source => XXXX-,
summary => XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ,
url => http://188.8.131.52:828/xxcb.rednet.com.cn/Articles/04/09/10/544900.HTM,
headline => 2004XXXXXXXX
Scrapes <http://news.google.com.tw/news?ned=ttw> and returns a reference
to a hash keyed on News Section, which points to an array of hashes keyed on URL and Headline.
get_news_for_topic( $topic )
Queries <http://news.google.com.tw/news?ned=tw> for results on a particular topic,
and returns a pointer to an array of hashes containing result data.
* I havent think about it yet....
Cheng-Lung Sung <firstname.lastname@example.org>
Greg McCarroll <email@example.com>, Bowen Dwelle <firstname.lastname@example.org>
for the basis of this module
Copyright 2004,2005,2006,2007 by Cheng-Lung Sung <email@example.com>.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 173:
Non-ASCII character seen before =encoding in get_news_for_topic(XX);. Assuming UTF-8
Around line 214:
You forgot a =back before =head1
|perl v5.20.3 ||WWW::GOOGLE::NEWS::TW (3) ||2007-12-27 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.