Bryar::Renderer::TT - Render a blog page with Template Toolkit
$self->generate_html(...); $self->generate_rss(...);
This takes a Bryar blog, and the documents selected by the Bryar::Collector, and turns them into a page.
Bryar::Collector
You'll probably want to read a Template Toolkit tutorial before mucking with the templates. Take a look at http://www.template-toolkit.org/
This module passes in an array called documents, full of Bryar::Document objects, and a Bryar object which is most useful for calling the config method on to extract things from the Bryar::Config.
documents
Bryar
config
$self->generate_html($bryar, @documents)
Returns a HTML page from templates and documents provided by the Bryar object.
Bryar::Renderer::TT->generate_rss
This is a useful method, and should have a useful description.
This module is free software, and may be distributed under the same terms as Perl itself.
Copyright (C) 2003, Simon Cozens simon@kasei.com
simon@kasei.com
1;
To install Bryar, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bryar
CPAN shell
perl -MCPAN -e shell install Bryar
For more information on module installation, please visit the detailed CPAN module installation guide.