Simon Cozens > Bryar-2.1 > Bryar::Renderer::TT

Download:
Bryar-2.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  6
Open  3
View/Report Bugs
Module Version: 1.0   Source   Latest Release: Bryar-4.0

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;

syntax highlighting: