Custom Web Pages; Server Side Includes (Ssis); Query Strings - Extron electronics IP LINK IPL T PCS4 User Manual

Ip link power control interfaces
Table of Contents

Advertisement

Custom Web Pages

On the PCS4, custom web pages are supported. You can determine the layout and
appearance of the pages displayed on your screen. Server side includes (SSIs) enable you to
obtain information from the unit and display the information on web pages. Query strings
allow you to send information and commands to the unit to change its configuration or
provide you with feedback. (See

Server Side Includes (SSIs)

Server sides includes are a type of HTML comment that directs the web server to dynamically
generate data for a web page whenever it is requested. SSIs typically use SIS commands to
communicate with the products or attached control devices. Using SSIs, you can design and
display custom pages, with PCS4 information provided by the SIS commands.
The basic format for an Extron SSI is:
<
!—#echo var="x"—
where
When a web page is requested, the web server removes the SSI and replaces it with the
answer to the SIS command within quotes.
*type with no spaces
Figure 24.
In the figure above, the

Query Strings

A query string is the portion of a URL that appears after the question mark. The query string
contains parameters or instructions for the web server to execute. The basic format for a
query string within a link is:
where
When a link is accessed on a web page, the URL is passed to the web server to tell it which
web page to return to the browser. The portion of the URL after the question mark is the
query string, which contains the SIS command that the IPL T PCS4 will remove and execute.
Like SSI formatted commands, query strings can use any valid SIS command.
>
is the SIS command to be executed.
x
Server Side Include Using
the Host SIS command
SIS Command
<!--#echo var="
Example of SSI Command
command is used to request the PCS4 part number.
N
<a href="index.html?cmd=x">Receptacle 1</a>
is the SIS command to be executed.
x
"Query
Strings," on the next page.)
N
"-->
SIS command
to be processed
by the IP Link
IPL T PCS4 • HTML Configuration and Control
35

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ip link ipl t pcs4i

Table of Contents