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

Class Renderer

RendererBase --+    
               |    
 BlosxomRenderer --+
                   |
                  Renderer


Method Summary
    Inherited from BlosxomRenderer
  __init__(self, request, stdoutput)
Constructor: Initializes the Renderer
  getContent(self)
Return the content field
  outputTemplate(self, output, entry, template_name, override)
Find the flavour template for template_name, run any blosxom callbacks, substitute entry into it and append the template to the output.
  render(self, header)
Figures out flavours and such and then renders the content according to which flavour we're using.
  _getFlavour(self, taste)
This retrieves all the template files for a given flavour taste.
  _outputFlavour(self, entry, template_name)
Find the flavour template for template_name, run any blosxom callbacks, substitute vars into it and write the template to the output
string _printTemplate(self, entry, template)
Return the content string
string _processContent(self)
Processes the content for the story portion of a page.
(string, string) _processEntry(self, entry, current_date)
Main workhorse of pyblosxom stories, comments and other miscelany goes here
  _run_callback(self, chain, input)
Makes calling blosxom callbacks a bit easier since they all have the same mechanics.
    Inherited from RendererBase
  addHeader(self, *args)
Populates the HTTP header with lines of text
  needsContentType(self, flag)
Use the renderer to determine 'Content-Type: x/x' default is to use the renderer for Content-Type, set flag to None to indicate no Content-Type generation.
  setContent(self, content)
Sets the content
  showHeaders(self)
Updated the headers of the Response instance.
  write(self, data)
Convenience method for programs to use instead of accessing self._out.write()

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