Suppose you want to add a standard trailer to all your pages -- for example, your name with a link to send you email, a copyright notice with a link to your legal information page, and the last date the page was modified.
There is a simpler way to do this than using server-parsed HTML. You can make the server add your trailer to the end of all pages automatically. This saves time two ways:
<!--#include file="..."-->
tag at the end of all your pages.
To specify the trailer you want to use, set the TrailerType, TrailerText, TrailerFmt, and TrailerFindEnd parameters for a virtual server in the Setup Virtual Server page.
TrailerType
, the trailers aren't added.
TrailerText
in a text area on the Setup Virtual Server page. It can contain text and HTML tags. The contents of TrailerText
are URL-encoded in the configuration file. For example, if you want a trailer like this:
--------------------------------------------------------- Comments to web@me.com Copyright © 1995, Me Inc. Last modified: Nov-15-1995
:LASTMOD:
variable adds the most recent modification date of the file to the trailer. This date can be different for different files.
TrailerFmt
specifies the date/time format to use for the :LASTMOD:
variable used in the example that follows. You can use the formats on page 6.
TrailerFindEnd
tells the AOLserver to insert the trailer just before any </BODY>
and </HTML>
end tags. If you don't set it or you set it to "no", the trailer is added after these end tags, and some browsers (including AOLpress) will ignore the trailer.