Marcus Ramberg > MojoMojo-Formatter-RSS-0.01 > MojoMojo::Formatter::RSS

Download:
MojoMojo-Formatter-RSS-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.01   Source  

NAME ^

MojoMojo::Formatter::RSS - Include rss feeds on your page.

DESCRIPTION ^

This formatter takes a feed in the format =feed://<url>, and passes it through XML::Feed to get a formatted feed suitable for inclusion in your page. It also caches them in the chosen Catalyst Cache. By default it will render the first element in the feed, but it can take a numeric parameter to choose number of elements.

METHODS ^

format_content_order

Format order can be 1-99. The RSS formatter runs on 4

format_content

calls the formatter. Takes a ref to the content as well as the context object.

include_rss <c> <url> [<entries>]

returns html formatted content for inclusion.

SEE ALSO ^

MojoMojo,Module::Pluggable::Ordered, XML::Feed, URI::Fetch

AUTHORS ^

Marcus Ramberg <mramberg@cpan.org>

License ^

This module is licensed under the same terms as Perl itself.