The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Babble::DataSource::OPML - OPML source fetcher for Babble

SYNOPSIS

 use Babble;
 use Babble::DataSource::OPML;

 my $babble = Babble->new ();
 $babble->add_sources (
	Babble::DataSource::OPML->new (
		-id => "Planet Debian",
		-location => "http://planet.debian.net/opml.xml"
	)
 );
 ...

DESCRIPTION

Babble::DataSource::OPML implements an unordinary data source for Babble. Instead of collecting data itself, this class parses an OPML document, and passes the information to a set of Babble::DataSource::RSS objects. For each outline, a new object is created, and the new() method returns an array of Babble::DataSource::RSS objects.

METHODS

    new(%params)

    Parses the OPML document specified in the -location parameter, and returns an array of Babble::DataSource::RSS objects.

    collect()

    Returns an error - this should not be called, ever.

AUTHOR

Gergely Nagy, algernon@bonehunter.rulez.org

Bugs should be reported at http://bugs.bonehunter.rulez.org/babble.

SEE ALSO

Babble::DataSource::RSS, Babble::DataSource, Babble::Transport

1 POD Error

The following errors were encountered while parsing the POD:

Around line 66:

You can't have =items (as at line 72) unless the first thing after the =over is an =item