NAME
Babble::DataSource::HTTP - HTTP source fetcher for Babble
SYNOPSIS
use Babble;
use Babble::DataSource::HTTP;
my $babble = Babble->new ();
$babble->add_sources (
Babble::DataSource::HTTP->new (
-id => "Gergely Nagy",
-url => "http://midgard.debian.net/~algernon/blog/index.xml"
)
);
...
DESCRIPTION
Babble::DataSource::HTTP implements a Babble data source class that reaches out onto the internet to fetch RSS feeds.
METHODS
new(%params)
This method creates a new object. The recognised arguments include -url, which is a mandatory argument, and -user_agent, which can be used to change what User-Agent Babble::DataSource::HTTP will identify itself as.
collect()
This one does the bulk of the job, fetching the feed and parsing it, then returning a Babble::Document::Collection object.
AUTHOR
Gergely Nagy, algernon@bonehunter.rulez.org
Bugs should be reported at http://bugs.bonehunter.rulez.org/babble.
SEE ALSO
Babble::Document, Babble::Document::Collection, Babble::DataSource
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 65:
You can't have =items (as at line 71) unless the first thing after the =over is an =item