next up previous
Next: Implementation and Extensibility Up: HTML Editing - Structure Previous: WYSIWYG editing of HTML

Document Templates

In order to simplify the creation of reporting forms, or to create notebook entries with known structured entries (e.g. keywords for search), WWWeasel includes an extensible directory of HTML documents that are used as document templates when creating a ``new'' document. We believe this is an important feature for engineering notebook use because the engineer can set up a variety of template categories to help make the notebook entries consistent.

Template documents may contain an extensible list of special ``macro'' markup elements which dynamically expand themselves into other HTML when the document is published. These macros are just added to the template document (which is just an HTML file) and are interpreted by WWWeasel when writing out the HTML data. Macros included with WWWeasel include:

Clearly, this mechanism could be extended to do, for example, a database query upon publication, which means that documents authored in this way can be somewhat active with respect to handling outside data.


next up previous
Next: Implementation and Extensibility Up: HTML Editing - Structure Previous: WYSIWYG editing of HTML
Niels P. Mayer
11/19/1997