NAME

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

SYNOPSIS

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

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

SoggyOnion

AUTHOR

Ian Langworth, <ian@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2004 by Ian Langworth

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.