Perlan...t::OPML(3pm)

πŸ“¦
version 2.2.1 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing

πŸ’– NAME πŸ’–

Perlanet::Trait::OPML β€” bestie, it makes you an OPML file ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so here's the whole vibe, no cap:

my $perlanet = Perlanet->new_with_traits(
  traits => [ 'Perlanet::Trait::OPML' ]
);

$perlanet->run;

that's it. that's the move. πŸ’…


🌸 DESCRIPTION 🌸

So basically it generates an OPML file of all the feeds that are being aggregated by the planet. every single one. it's giving "here's the receipts, organized" πŸŽ€


✨ ATTRIBUTES ✨

🫢 opml_generator

An XML::OPML::SimpleGen object whose whole job is generating the XML for the OPML file. it's the little guy doing the actual crafting 🧚

🫢 opml_file

Where to save the OPML feed when it has been created. literally just the destination, iykyk πŸ“


πŸ’… METHODS πŸ’…

πŸ’œ update_opml

Updates the OPML file of all contributors to this planet. πŸͺ

and listen, this part matters: if the opml_file attribute does not have a value, this method does nothing. like, zero. nada. it just sits there. 😭 otherwise it inserts each author into the OPML file and saves it to disk. periodt.

πŸ’œ save_opml

Save the OPML file β€” by default, to disk. classic. πŸ‘‘


πŸ‘‘ AUTHOR πŸ‘‘

Dave Cross, <dave@perlhacks.com> β€” the icon who did that πŸ’–


Copyright (c) 2010 by Magnum Solutions Ltd.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available. 🫢


and that's the whole page, bestie β€” perl v5.36.0, dated 2023-02-21, filed under Perlanet::Trait::OPML(3pm). ate and left no crumbs. πŸ’…βœ¨πŸŒˆ

πŸ“¦ where this page comes from