The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Bryar::Renderer::TT - Render a blog page with Template Toolkit

SYNOPSIS

        $self->generate_html(...);
        $self->generate_rss(...);

DESCRIPTION

This takes a Bryar blog, and the documents selected by the Bryar::Collector, and turns them into a page.

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.

METHODS

generate_html

    $self->generate_html($bryar, @documents)

Returns a HTML page from templates and documents provided by the Bryar object.

generate_rss

    Bryar::Renderer::TT->generate_rss

This is a useful method, and should have a useful description.

LICENSE

This module is free software, and may be distributed under the same terms as Perl itself.

AUTHOR

Copyright (C) 2003, Simon Cozens simon@kasei.com

SEE ALSO

1;