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


Perlanet documentation  | view source Contained in the Perlanet distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

  $perlanet->run;

DESCRIPTION

Top

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

ATTRIBUTES

Top

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

METHODS

Top

update_opml

Updates the OPML file of all contributers to this planet. If the opml 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.

AUTHOR

Top

Dave Cross, <dave@mag-sol.com>

COPYRIGHT AND LICENSE

Top


Perlanet documentation  | view source Contained in the Perlanet distribution.