Custom Web Pages; Server Side Includes (Ssis); Query Strings - Extron electronics IP Link Series User Manual

Power control interfaces
Table of Contents

Advertisement

Custom Web Pages

On the IPL T PC1, 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 side 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 PC1 information provided by the SIS commands (see
Programming and Control
The basic format for an Extron SSI is
to be executed.
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 32.
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:
<a href="index.html?cmd=x">Receptacle 1</a>
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 PC1 will remove and execute.
Like SSI formatted commands, query strings can use any valid SIS command.
The query string in the figure below turns off DHCP on the IP Link device.
Figure 33.
Server Side Include Using
the Host SIS command
SIS Command
<!--#echo var="
N
SIS command
to be processed
by the IP Link
Example of the SSI Command
command is used to request the PC1 part number.
N
is the SIS command to be executed.
x
?
<a href="index.html
Starts
HTML Code
Tells web server
query string.
for a Link
command follows.
Example of a URL with a Query String Using an SIS Command
Query strings
below).
on page 47 the for these commands).
<!—#echo var="x"—>
"-->
SIS Command*
|
">
Receptacle on
cmd=
W1*1PC
SIS Command
HTML Code
To Be Processed
that SIS
for a Link
by the IP Link
IPL T PC1 • HTML Configuration and Control
, where
is the SIS command
x
</a>
Linked Text
Closes
link.
*Enter with no spaces.
SIS
40

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ip link ipl t pc1Ip link ipl t pc1i

Table of Contents