In most Web sites it is important to maintain a consistent appearance on all pages, including those generated by CGI. This can include a consistent background color, tiled image, or a standard header and footer on each page.
The Basic Web Utility looks for the the following case-sensitive global strings:
|
$title |
A required global string that acts as a trigger. All the other global
strings are optional. If the string does not exist, the standard
structure is not invoked. If it does exist, the following tags are
added on the first call to utsend.wbb. <html> <head> <title>$title</title> $otherhead <body $bodyopt> $stdhead
$stdfoot </body> </html>
|
|
$otherhead |
A global string to add additional HTML heading elements to the
document. A common example would be a <META ...> tag, such as
<meta name=keywords content=sdsi;bbweb>.
To improve viewing of the HTML source, place a line-feed between
each header element in the global string. |
|
$bodyopt |
A global string that, if present, is appended to the <body> tag
inside the closing bracket. Establishes default colors or background
tile images. |
|
$stdhead |
A global string to reference a physical disk file that is loaded at
the top of each document, just below the <body> tag. |
|
$stdfoot |
A global string references a physical disk file that is loaded at the
end of each document by a call to utexit.wbb. |
To invoke the standard structure, the first call to utsend.wbb should be the first body text of the document. It is possible to call utsend.wbb with a Location: or Content-type: header. The Basic Web Utility does not interfere with control of the output or the inclusion of the standard structure elements.
If disk files are used as the page source, and standard structure features are also used, eliminate all heading and closing codes generated by the authoring tool. These codes become redundant and appear in the body of the document.