25 Oct 2009 16:51:03 UTC
- Distribution: Bryar
- Module version: 1.2
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (9)
- Testers (232 / 290 / 2)
- KwaliteeBus factor: 0
- 54.78% Coverage
- License: unknown
- Activity24 month
- Download (31.26KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
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/
$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
some parts Copyright 2007 David Cantrell