NAME
WWW::Alltop::TopicListing - A TopicListing from Alltop.com
SYNOPSIS
use WWW::Alltop::TopicListing;
use WWW::Mechanize;
use Log::Log4perl qw/:easy/;
Log::Log4perl->easy_init( $ALL );
my $tl = WWW::Alltop::TopicListing->new(
url => 'http://www.slashdot.org/',
name => 'Slashdot',
mech => WWW::Mechanize->new
);
print $tl->rss_url;
DESCRIPTION
A topic listing representation from Alltop.com, used to handle the listing (or feed).
ATTRIBUTES
- name
-
The name of the site for the listing. (eg Slashdot)
- url
-
The URL of the TopicListing, or html representation that should (hopefully) contain the feed.
- mech
-
A WWW::Mechanize instance
- logger
-
A Log::Log4perl logger instance.
METHODS
- rss_url()
-
Attempts to fetch the RSS url of the TopicListing, by browsing to the site. When not found, it will return an empty string.
SEE ALSO
WWW::Alltop WWW::Alltop::Topic