Active Pages - SPML - SSITeleFinder's Web Server allows users to create dynamic pages which can selectively provide information to clients on the fly, setup file downloading, manipulate forms data, perform custom logging and more.
Active Pages are created using TeleFinder's Server Parsed HTML (SPML) commands which includes the well-known NCSA/Netscape/Apache Server Side Include (SSI ) command set, plus a number of very powerful extended commands.
SamplesSample pages can be found in Web Space/samples/. Command documentation is on the disk in the "Web Space/webdocs/" directory.
Active Page Performance IssuesSPML involves a small amount of parsing overhead, and should be used in place of Plug-in/CGI and external scripting systems whenever possible.
TeleFinder's file caching speeds up SPML performance by retaining the SPML source in memory where it can be quickly parsed.
SPML SetupTeleFinder has built-in recognition of the ".spml" and ".spm" file extensions and will parse them as Active Pages automatically. Other file types can be interpreted as Active Pages as well, see "Request Handlers" for more information on assigning a handler to a file type.
The default page may have a ".spml" or ".spm" file extension. The file type search order is ".spml", ".html", ".spm" and finally ".htm." These types are combined with the Server's Default Page name.
TeleFinder's error pages must have the ".spml" file type.
SPML Include File FormatThe document is parsed as an HTML document, with special commands embedded as comments. A command has the
<!-- #command param="value1" param="value2" ... --> or,
<!-- #command "value1" "value2" ... -->
- The values should be enclosed in double quotes.
- Quoting is necessary if the value contains embedded spaces.
- Many commands only allow a single attribute-value pair.
- Commands and parameters are case-sensitive
Web Docs Index