The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Babble::Output::RSS - RSS output method for Babble

SYNOPSIS

 use Babble;

 my $babble = Babble->new ();
 ...
 print $babble->output (-type => "RSS",
                        meta_title => "Example Babble",
                        meta_desc => "This is an example babble");

DESCRIPTION

This module implements the RSS output method for Babble, thus, it only has one method: output(), which generates RSS 1.0 output from the available items.

METHODS

output($babble, $params)

This output method recognises the following arguments, either via the passed Babble objects ->{Params} hashref, or via %params:

meta_title

The name of the Babble, used as the RSS channel title.

meta_desc

A short description of the Babble, used as the RSS channel description.

A link to the site for which the RSS is a feed, used as the RSS channel link.

This is an optional argument.

meta_owner_email

The e-mail of the Babble owner, used as the RSS channel creator.

This too, is an optional argument.

meta_image

An image associated with the feed. This must be a HASH reference, containing at least the url and link keys. The title, width ad height keys are also recognised.

AUTHOR

Gergely Nagy, algernon@bonehunter.rulez.org

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

SEE ALSO

Babble, Babble::Output, XML::RSS