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

Perlanet::Trait::TemplateToolkit - render the feed via a Template Toolkit template

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

Renders the aggregated set of feeds via a Template Toolkit template.

The Template Toolkit template to use as input

The path to save the resulting output to

The following are exported into your template:

A Perlanet::Feed that represents the aggregation of all posts

Oliver Charles, <oliver.g.charles@googlemail.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