Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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

Attributes

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

   opml_file
       Where to save the OPML feed when it has been created

Author

       Dave Cross, <dave@perlhacks.com>

Description

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

Methods

update_opml
       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_opml
       Save the OPML file, by default to disk.

Name

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

Synopsis

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

         $perlanet->run;

See Also