
MLC 104 IP Plus Series • Special Applications
136
Customizing HTML Files to Control Devices, Modify Embedded Web
Pages, and Send E-mail Alerts
This section discusses methods that someone familiar with HTML can use to make the
MLC perform customized functions or to alter the MLC embedded web pages. One option
is to create server-side includes (SSIs) to send commands to the MLC, itself, or to devices
connected to its control ports. Another is to write query strings and insert them into web
pages stored on the MLC. Or you can put a server-side include command into an e-mail file
to customize alert e-mails sent out by the MLC.
First we detail SSIs, then show you how to integrate them into HTML files to upload into the
MLC.
NOTE:
Before attempting to develop new web pages, the user should have a working
knowledge of JavaScript, HTML, and Server Side Includes.
Creating and Using Server Side Includes (SSIs)
About server side includes and the MLC
The MLC embedded web pages, GlobalViewer web pages, and e-mails include device- or
situation-specific content such as unit temperature, button status, projector connection
status, or lists of available driver commands. How does the MLC know which information to
use and when to use it?
The MLC processes SSIs, which are a type of HTML instructions that dynamically tell the
MLC what material or files to include in the contents of a web page or e-mail or to send out
one of the ports on the MLC. SSIs can include embedded instructions (scripts) and style
sheets (to set up the page layout), and also specify what information to insert into the web
pages. These instructions run on the internal web server of the MLC.
To give the MLC customized instructions for creating e-mails and adding content to web
pages, you can create your own server side includes and place them within an HTML page
or an e-mail file. These SSIs use Extron Simple Instruction Set (SIS) commands to ask for
and display information from the MLC, itself. When a web page is requested, the web server
(the MLC) replaces the SSI command with the response to the SIS command.
Should you create a customized SSI? Weigh the benefits (ability to customize messages
from the MLC or information displayed on its GV web pages) against the drawbacks (the
more SSIs being used, the slower the server processor) when planning your installation.
NOTE:
For the MLC and most other web servers, an SSI-enabled HTML file must have
a file extension of
.shtml
.
Содержание MLC 104 IP Plus Series
Страница 6: ......