Bryar::Renderer::TT
Bryar::Renderer::TT - Render a blog page with Template Toolkit
my ($content_type, $output) = $self->generate_html(...);
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.
$self->generate($format, $bryar, @documents)
Returns a page from templates and documents provided by the Bryar object.
$class->register_format($format, $filename, $content_type);
Registers a new format that Bryar is capable of producing. This can be used both for spitting out RSS/RDF/ATOM/whatever and for skinning the blog with alternate templates.
This module is free software, and may be distributed under the same terms as Perl itself.
Copyright (C) 2003, Simon Cozens simon@kasei.com
some parts Copyright 2007 David Cantrell david@cantrell.org.uk