Package Pyblosxom :: Package renderers :: Module blosxom
[show private | hide private]
[frames | no frames]

Module Pyblosxom.renderers.blosxom

This is the default blosxom renderer. It tries to match the behavior of the blosxom renderer.
Classes
BlosxomRenderer This is the default blosxom renderer.
Renderer  

Exceptions
NoSuchFlavourException This exception gets thrown when the flavour requested is not available in this blog.

Function Summary
map get_flavour_from_dir(path, taste)
Tries to get the template files for the flavour of a certain taste (html, rss, atom10, ...) in a directory.
  get_included_flavour(taste)
PyBlosxom comes with flavours in taste.flav directories in the flavours subdirectory of the Pyblosxom package.

Function Details

get_flavour_from_dir(path, taste)

Tries to get the template files for the flavour of a certain taste (html, rss, atom10, ...) in a directory. The files could be in the directory or in a taste.flav subdirectory.
Parameters:
path - the path of the directory to look for the flavour templates in
           (type=string)
taste - the flavour files to look for (e.g. html, rss, atom10, ...)
           (type=string)
Returns:
the map of template name to template file path
           (type=map)

get_included_flavour(taste)

PyBlosxom comes with flavours in taste.flav directories in the flavours subdirectory of the Pyblosxom package. This method pulls the template files for the associated taste (assuming it exists) or None if it doesn't.

@param taste The name of the taste. e.g. "html", "rss", ... @type taste string

@returns A dict of template type to template file or None @rtype dict or None

Generated by Epydoc 2.1 on Tue Feb 7 21:43:57 2006 http://epydoc.sf.net