import HTMLgen
class MinimalDocument(Document) def __repr__(self) # Methods inherited by MinimalDocument from Document def __init__(self, resource='', **kw) def append(self, *items) def copy(self) def footer(self) def header(self) def htmlhead(self) def nav_buttons(self) def prepend(self, *items) def write(self, filename = None)
Can be given a resource file as in Document. Uses the following attributes in the same way as Document: title, subtitle, meta, base, bgcolor, background, textcolor, linkcolor, vlinkcolor, cgi. All others ignored.
Add content to the Document object.
Arg items can be plain text or objects; multiple arguments supported.
Return a complete copy of the current Document object.
Generate the standard footer markups.
Generate the standard header markups.
Generate hyperlinked navigation buttons.
If a self.go* attribute is null that corresponding button is replaced with a transparent gif to properly space the remaining buttons.
Add content to the beginning of the Document object.
Arg items can be plain text or objects; multiple arguments supported.
Emit the Document html into file.
In Unix you can use environment variables in filenames. Will print to stdout if no argument.
Copyright © Robin Friedrich
All Rights Reserved
Comments to author: friedric@phoenix.net
Generated: Mon Dec 2 1996