SoggyOnion::Plugin::RSS - get feeds using XML::RSS


SoggyOnion documentation  | view source Contained in the SoggyOnion distribution.

Index


NAME

Top

SoggyOnion::Plugin::RSS - get feeds using XML::RSS

SYNOPSIS

Top

In config.yaml:

    options:
      maxlen: 100

    layout:
      - title: Stuff
        name:  stuff.html
        items:
          - rss: http://search.cpan.org/recent.rdf
            id:     cpan
            limit:  10
            description: no
            html:   no
            maxlen: 150
            icon:   http://cpan.org/images/icon.png

DESCRIPTION

Top

This is a plugin for SoggyOnion that gets RSS feeds.

Item Options

* rss - the URI of the feed
* id - the item ID that appears in the HTML <DIV> tag
* limit - (optional) maximum items to show, default is unlimited
* description - (optional) whether to show the description (yes/no), default is yes
* maxlen - (optional) what length to trim the description returned by the feeds. Default is 0, which lets the description be of infinite length.Note: if you change this, you might clip
* html - (optional) if set to "no" will strip html from the description using HTML::Strip
* icon - (optional) URI of an image to use as the channel icon

Global Options

* maxlen - (optional) same as the item option, but sets the default maximun length for all items unless you specify it per-item.

SEE ALSO

Top

SoggyOnion

AUTHOR

Top

Ian Langworth, <ian@cpan.org>

COPYRIGHT AND LICENSE

Top


SoggyOnion documentation  | view source Contained in the SoggyOnion distribution.