|
__init__(self,
request,
stdoutput=sys.stderr)
Constructor: Initializes the Renderer |
source code
|
|
map
|
|
|
_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 |
source code
|
|
string
|
|
string
|
|
(string, string)
|
_processEntry(self,
entry,
current_date)
Main workhorse of pyblosxom stories, comments and other miscelany
goes here |
source code
|
|
|
_run_callback(self,
chain,
input)
Makes calling blosxom callbacks a bit easier since they all have
the same mechanics. |
source code
|
|
|
|
|
outputTemplate(self,
output,
entry,
template_name,
override=0)
Find the flavour template for template_name, run any blosxom
callbacks, substitute entry into it and append the template to the
output. |
source code
|
|
|
render(self,
header=1)
Figures out flavours and such and then renders the content
according to which flavour we're using. |
source code
|
|
|
|
|
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. |
source code
|
|
|
|
|
|
|
write(self,
data)
Convenience method for programs to use instead of accessing
self._out.write() |
source code
|
|