Mac-based Software for Conferencing, Guestbooks, Site Feedback, etc.

ConferWeb Home Page

Software, documentation and data files copyright 1998-2004 Brian Johnson, Department of Architecture, University of Washington.

ConferWeb Substitution Tags

ConferWeb looks for or recognizes a number of HTML-like "tags" which you may place in template files or the Index file in order to mark where text from a user posting should be placed (& etc). Some of these tags ("markers") become a permanent part of the HTML which is served on your site, and are set up as HTML comments. Others are used only while ConferWeb is turning a template file into a new topic thread, reference link, etc. These are set off by the traditional greater-than and less-than signs, but are not generally served and are not laid out as comments.

ConferWeb substitution tags

The following tags are used in ConferWeb "template" files: NewItem.tmpl, response.tmpl, ref_link.tmpl, newitem_email.tmpl and response_email.tmpl. During operation ConferWeb copies these templates, makes substitutions where indicated, and then saves the results to disk or emails them to subscribers. The substitution tags determine the location and nature of the information added to the template text. You might want to reference the sample files provided with this installation as you look at the paragraphs below.

Each tag may be used zero or more times in the template file. They ARE case-sensitive.

The appropriate string for the <FORM ACTION=xxx ...> part of a template. Useful in making templates independent of location, especially when using realm-based authentication.
The HTTP "User Agent" string.
An "auxilliary" variable. If you add a "name=aux1" input to your HTML forms, you may record that value using this tag. It might be used for a user's email address, for example (see folder Guestbook with email).
A second auxilliary variable. The corresponding HTML field name is "aux2".
A third auxilliary variable. The corresponding HTML field name is "aux3".
The name of the index file from which this thread was spawned.
The "name" field from the NewItem form.
The current date, using the format set by datetime.tmpl, if present.
The user's IP address. Might be used (perhaps in a comment) to keep track of who uses your service, in case exclusion of an IP address becomes desirable.
The web path to the forum root (FRoot) folder housing the current forum.
The OS path to the forum.
The "Discussion" field from the NewItem form. The main body of a posting.
The name of the current Confer thread file. (Useful in "reload" links and required for the "response" form's ACTION=)
The "title" from the page currently being processed. Most useful in email notifications.
The "topic" field from the NewItem form.
HTTP "User" field from the HTTP header, when available. See section on "Realm-based User Identification".
The ConferWeb version information (name and number) replace the tag.

©1995-2004 Brian R. Johnson, Dept. of Architecture, University of Washington