Vitacilina(3pm)

πŸ“¦
version 0.2 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

🩹 NAME 🩹

okay so bestie, meet Vitacilina β€” a Perl module, and honestly? Β‘Ah, quΓ© buena medicina! πŸ’– This is the Vitacilina(3pm) page, so if you're in the User Contributed Perl Documentation section of your man pages, you're exactly where you need to be. πŸŽ€


✨ DESCRIPTION ✨

So what is Vitacilina, you ask? It's a simple feeds engine exporter, no cap. πŸ¦‹

  • It uses YAML to get a list of feeds.
  • It uses TT (Template Toolkit) as its templating system.

Some people would call it an aggregator. Points were made. πŸ’…

It was intended to be a reliable Planet alternative (<http://planetplanet.org>), and then some development ideas evolved into rFeed (<http://github.com/damog/rfeed>). And bestie β€” Vitacilina runs on production services on a couple of systems. Not a side quest. Main character energy. πŸ‘‘


🌈 SYNOPSIS 🌈

here's the whole vibe, copy-paste ready:

use Vitacilina;

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

$v->render;

that's it. that's the whole thing. ->render and you're done. periodt. ✨


πŸŽ€ FILES πŸŽ€

πŸ“„ config

The config parameter specifies the path to a YAML file specifying a list of feeds. Use this format, bestie:

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

yep, that's the whole format. feed URL as the key, stuff like name underneath. iconic. πŸ“

🧚 template

A Template::Toolkit file which will be taken as the template for output. Format goes a lil somethin' like this:

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

The data is an ordered array with a bunch of hashes with the simple data such as permalink, title, channelUrl, author, etc. so yeah, loop over it, grab what you want, slay. πŸ’–

🎯 output

File path where the output will be written. literally just the file path. simple as that. πŸ‘‘


πŸ”₯ EXAMPLES πŸ”₯

Take a look at the examples/ directory for fully working example. go peek, iykyk. πŸ‘€


πŸ‘‘ SEE ALSO πŸ‘‘


πŸ’œ AUTHOR πŸ’œ

David Moreno, david@axiombox.com. Alexandr Ciornii contributed with patches. 🫢


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.


πŸ’€ lowkey the legal bit: this library is free software, and if you redistribute it or modify it, you do it under the same terms as Perl itself. no inventing your own license, bestie. fr fr.

and that's the whole page!! 🌈 this one's from perl v5.38.2, dated 2024-05-19, under the Vitacilina(3pm) section of the User Contributed Perl Documentation β€” so if you ever need to cite it, now you know. mwah πŸ’…πŸ’–βœ¨

πŸ“¦ where this page comes from