Here is a general outline of the page to be generated.
A DOCTYPE identifier for XHTML
1.0. Although the existing PyStyler web uses HTML,
we want to move toward XHTML, and there's no reason
not to use it for generated pages.
A head element containing:
The page's title element.
A link to the standard TCC stylesheet at /tcc/style.css on the server.
The top navigational bar, a set of
top navigational links. This must
fit on a single line, with the links separated by the
string " / ".
Each link has a short name
consisting of a generic word or phrase such as
“Next” or “Site map”. The
word or phrase always appears, even if it is not a link.
Thus the layout of the top nav bar is static over the
whole site.
The formal page header, formatted as a one-row, two-column table with the page title on the left and the TCC logo graphic on the right.
The page body, followed by a horizontal rule (hr element).
A set of bottom navigational links. Each appears on a separate line, and the entire line is omitted if that link points nowhere.
Each bottom nav link consists of three parts:
A boldfaced generic link type, which will be the same as that link in the top nav link, e.g., “Next”, followed by a colon and space.
One or more destination links, each of which uses the page title (or a close approximation) as its link text. If there are multiple links, they are separated by semicolons.
Another horizontal rule, followed by the colophon:
The “author credit”, which for dynamic pages will credit not a human author, but the script that wrote the page.
The date and time when the page was generated.
The URL of the page, if known.