GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MOJOMOJO::FORMATTER::RSS (3)

.ds Aq ’

    module_loaded

Return true if the module is loaded.

NAME

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

CONTENTS

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 6, after the Include), so that transcluding a page from the wiki that brings in a feed, will display the feed in the transcluded section as well.

    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 feed content for inclusion, up to a specified number of entries. Will store a cached version in $c->cache.

SEE ALSO

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

AUTHORS

Marcus Ramberg <mramberg@cpan.org>

LICENSE

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MOJOMOJO::FORMATTER::RSS (3) 2013-05-13

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.