Section Intro: Page Operators
Meta-HTML contains a few commands which operate on the entire page as it currently exists.
You may find, modify, or delete text which has already been looked at by the interpreter, as well as text which hasn't yet been looked at.
Most of the time, you won't need to use such commands. They can make it hard for other people to understand the sequence of code in your page, and they can sometimes produce unexpected results which are difficult to debug because much of the information has been modified.
Reduces the amount of whitespace in the output page to the minimum
required. This function carefully avoids the contents of
Given VARNAME, operates on the contents of that variable.
Placed as the last instruction on a page, it is an effective way to reduce the amount of data sent back over the network to the connecting browser.
Insert the contents of the file named by WEBPATH into the
document at the point where the
WEBPATH can be given as an absolute pathname, or a relative
pathname. If the path is relative, it is considered to be relative to
the location of the document which contains the
If the named file could not be found on the server, and an ALT=ALTCODE value is given, then that value is placed into the page instead.
Immediately return the HTTP Location directive with URL.
This command is extremely useful in conjunction with
URL may be expressed in relative terms, in absolute terms, or as
a complete URI specification. For example, assume the current
document is located at
<redirect ../foo.mhtml> ==> http://www.metahtml.com/foo.mhtml <redirect /bar/foo.mhtml> ==> http://www.metahtml.com/bar/foo.mhtml <redirect http://www.bsdi.com> ==> http://www.bsdi.com
If the keyword argument TARGET=XXX is supplied, it is the name of the browser window in which to display the new page. If one is working with frames, this can be very useful: a target of "_top" removes all frames, a target of "_new" creates a new window, etc.
Replace the entire contents of the current page with the contents of
the page named by WEBPATH. You probably don't want to use this
Writes the appropriate headers and HTTP information to the connected browser, along with the data that you specify.
<server-push> <html> <head><title>Just a Moment, please</title></head> <body> <h3>Please wait a moment, we are searching the entire Web...</h3> </body> </html> </server-push>
Replaces all occurrences of THIS-STRING with WITH-THAT in the current page. Both THIS-STRING and WITH-THAT are evaluated before the replacement is done. THIS-STRING can be any regular expression allowed by the POSIX extended regular expression matching.
This command can be useful when included as part of a footer
<subst-in-page %name% <get-var forms::FirstName>>
The META-HTML Reference Manual V2.0 Copyright © 1995, 1998, Brian J. Fox
Found a bug? Send mail to email@example.com