NAME
Babble::Output::HTML - HTML output method for Babble
SYNOPSIS
use Babble;
my $babble = Babble->new ();
...
print $babble->output (-type => "HTML",
-template => "example.tmpl",
meta_title => "Example Babble",
meta_desc => "This is an example babble");
DESCRIPTION
This module implements the HTML output method for Babble, thus, it only has one method: output(), which generates HTML output from the available items, using HTML::Template.
METHODS
output($babble, %params)
This output method recognises only the template argument, which will be passed to HTML::Template-new()>. All other arguments will be made available for use in the template.
Along with the arguments passed to this method, the paramaters set up with $babble-add_params()>, an array of channels, and an array of dates will be made available for the template.
See the source of this module, HTML::Template and any of the example templates for details.
AUTHOR
Gergely Nagy, algernon@bonehunter.rulez.org
Bugs should be reported at http://mantis.bonehunter.rulez.org/.
SEE ALSO
Babble, HTML::Template, Babble::Output::RSS
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 58:
You can't have =items (as at line 64) unless the first thing after the =over is an =item