NAME
SoggyOnion::Resource - determines which SoggyOnion::Plugin to use
SYNOPSIS
my $item = {
rss => 'http://use.perl.org/useperl.rss',
id => 'use_perl',
limit => 10,
descriptions => 'no',
};
my $resource = SoggyOnion::Resource->new($item);
print $resource->content;
DESCRIPTION
To override how SoggyOnion determines what plugin to use based on what keys are in the item in the configuration, copy this module and add a resourceclass
option in your config.yaml, such as:
...
templatedir: '/path/to/templates'
cachedir: '/tmp/soggycache'
resourceclass: 'My::Custom::ResourceHandler'
...
SEE ALSO
SoggyOnion::Plugin, 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.