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 feedid- the item ID that appears in the HTML<DIV>taglimit- (optional) maximum items to show, default is unlimiteddescription- (optional) whether to show the description (yes/no), default is yesmaxlen- (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 cliphtml- (optional) if set to "no" will strip html from the description using HTML::Stripicon- (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
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.