Perlanet::Trait::Tidy - run posts through HTML::Tidy


Perlanet documentation  | view source Contained in the Perlanet distribution.

Index


NAME

Top

Perlanet::Trait::Tidy - run posts through HTML::Tidy

SYNOPSIS

Top

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

  $perlanet->run;

DESCRIPTION

Top

Before a post is added to the aggregated feed, it will be ran through HTML::Tidy.

Configuring

To configure the HTML::Tidy instance, you should override the _build_tidy method. This method takes no input, and returns a HTML::Tidy instance.

ATTRIBUTES

Top

tidy

An instance of HTML::Tidy used to tidy the feed entry contents before outputting. For default settings see source..

AUTHOR

Top

Oliver Charles, <oliver.g.charles@googlemail.com>

COPYRIGHT AND LICENSE

Top


Perlanet documentation  | view source Contained in the Perlanet distribution.