| 1 |
NAME |
| 2 |
Vitacilina - ¡Ah, qué buena medicina! |
| 3 |
|
| 4 |
DESCRIPTION |
| 5 |
A simple feeds engine exporter that uses YAML to get list of feeds and |
| 6 |
TT as templating system. Some people would call it an aggregator. It was |
| 7 |
intended to be a reliable Planet (<http://planetplanet.org>) |
| 8 |
alternative, then some development ideas evolved into rFeed |
| 9 |
(http://github.com/damog/rfeed). Vitacilina runs on production services |
| 10 |
on a couple of systems. |
| 11 |
|
| 12 |
SYNOPSIS |
| 13 |
use Vitacilina; |
| 14 |
|
| 15 |
my $v = Vitacilina->new( |
| 16 |
config => 'config.yaml', |
| 17 |
template => 'template.tt', |
| 18 |
output => 'output.html', |
| 19 |
limit => '20', |
| 20 |
); |
| 21 |
|
| 22 |
$v->render; |
| 23 |
|
| 24 |
FILES |
| 25 |
config |
| 26 |
The "config" parameter specifies the path to a YAML file specifying a |
| 27 |
list of feeds. Use this format: |
| 28 |
|
| 29 |
http://myserver.com/myfeed: |
| 30 |
name: Some Cool Feed |
| 31 |
http://feeds.feedburner.com/InfinitePigTheorem: |
| 32 |
name: InfinitePigTheorem |
| 33 |
... |
| 34 |
|
| 35 |
template |
| 36 |
A "Template::Toolkit" file which will be taken as the template for |
| 37 |
output. Format: |
| 38 |
|
| 39 |
[% FOREACH p IN data %] |
| 40 |
<a href="[% p.permalink %]">[% p.title %]</a> |
| 41 |
by <a href="[% p.channelUrl %]">[% p.author %]</a> |
| 42 |
<br /> |
| 43 |
[% END %] |
| 44 |
|
| 45 |
The "data" is an ordered array with a bunch of hashes with the simple |
| 46 |
data such as "permalink", "title", "channelUrl", "author", etc. |
| 47 |
|
| 48 |
output |
| 49 |
File path where the output will be written. |
| 50 |
|
| 51 |
EXAMPLES |
| 52 |
Take a look at the "examples/" directory for fully working example. |
| 53 |
|
| 54 |
SEE ALSO |
| 55 |
Git repository is located at <http://github.com/damog/vitacilina>. Also |
| 56 |
take a look at the Stereonaut! blog where similar developments from the |
| 57 |
author are announced and sampled, <http://log.damog.net/>. |
| 58 |
|
| 59 |
AUTHOR |
| 60 |
David Moreno, [email protected]. Alexandr Ciornii contributed with |
| 61 |
patches. |
| 62 |
|
| 63 |
COPYRIGHT |
| 64 |
Copyright (C) 2009 by David Moreno. |
| 65 |
|
| 66 |
This library is free software; you can redistribute it and/or modify it |
| 67 |
under the same terms as Perl itself. |
| 68 |
|