DOKK / manpages / debian 12 / libperlanet-perl / Perlanet::Trait::OPML.3pm.en
Perlanet::Trait::OPML(3pm) User Contributed Perl Documentation Perlanet::Trait::OPML(3pm)

Perlanet::Trait::OPML - generate an OPML file

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

Generates an OPML file of all feeds that are being aggregated by the planet.

An XML::OPML::SimpleGen object to generate the XML for the OPML file

Where to save the OPML feed when it has been created

Updates the OPML file of all contributors to this planet. If the opml_file attribute does not have a value, this method does nothing, otherwise it inserts each author into the OPML file and saves it to disk.

Save the OPML file, by default to disk.

Dave Cross, <dave@perlhacks.com>

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.

2023-02-21 perl v5.36.0