Gergely Nagy > Babble-0.07 > Babble::Theme::XML

Download:
Babble-0.07.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Babble::Theme::XML - XML theme for Babble

DESCRIPTION ^

This theme provides an easy way to output FOAF and OPML subscription rolls for a given Babble. Not needing any kind of style, this theme is rather easy to configure.

TEMPLATE VARIABLES ^

The following variables are used by the template (variables coming from Babble::Document or Babble::Document::Collection sources are not listed here!)

meta_title

The title of the Babble

meta_owner_email

E-Mail address of the Babble maintainer.

meta_owner

Name of the Babble maintainer.

meta_foafroll_link

Link to the FOAF feed the Babble provides.

meta_link

Link to the homepage of the Babble.

meta_image

An image associated with the feed. This must be a HASH reference, containing at least the url and link keys. The title, width ad height keys are also recognised.

This is only supported by the rss10 and rss20 formats.

METHODS ^

output()

This method sets up parameters for the Babble::Output::TTK->output method. It recognises only the -format option, which determines which output format is used. Currently foaf, opml, rss10 and rss20 are provided by the theme.

AUTHOR ^

Gergely Nagy, algernon@bonehunter.rulez.org

Bugs should be reported at http://bugs.bonehunter.rulez.org/babble.

SEE ALSO ^

Babble::Theme, Babble::Output::TTk

syntax highlighting: