DESCRIPTION

A simple feeds engine exporter that uses \s-1YAML\s0 to get list of feeds and \s-1TT\s0 as templating system. Some people would call it an aggregator. It was intended to be a reliable Planet (<http://planetplanet.org>) alternative, then some development ideas evolved into rFeed (http://github.com/damog/rfeed). Vitacilina runs on production services on a couple of systems.

SYNOPSIS

 use Vitacilina;

 my $v = Vitacilina->new(
   config => 'config.yaml',
   template => 'template.tt',
   output => 'output.html',
   limit => '20',
 );

 $v->render;

FILES

config

The \*(C`config\*(C' parameter specifies the path to a \s-1YAML\s0 file specifying a list of feeds. Use this format:

http://myserver.com/myfeed: name: Some Cool Feed http://feeds.feedburner.com/InfinitePigTheorem: name: InfinitePigTheorem ...

template

A \*(C`Template::Toolkit\*(C' file which will be taken as the template for output. Format:

[% FOREACH p IN data %] <a href="[% p.permalink %]">[% p.title %]</a> by <a href="[% p.channelUrl %]">[% p.author %]</a> <br /> [% END %]

The \*(C`data\*(C' is an ordered array with a bunch of hashes with the simple data such as \*(C`permalink\*(C', \*(C`title\*(C', \*(C`channelUrl\*(C', \*(C`author\*(C', etc.

output

File path where the output will be written.

EXAMPLES

Take a look at the \*(C`examples/\*(C' directory for fully working example.

RELATED TO Vitacilina…

Git repository is located at <http://github.com/damog/vitacilina>. Also take a look at the Stereonaut! blog where similar developments from the author are announced and sampled, <http://log.damog.net/>.

AUTHOR

David Moreno, [email protected]. Alexandr Ciornii contributed with patches.

COPYRIGHT

Copyright (C) 2009 by David Moreno.

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