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

Ip link power control interface
Hide thumbs Also See for IPL T PCS4:
Table of Contents

Advertisement

im Vertrieb von
Web Page-Based Setup and Control, cont'd

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 Query strings,
later in this chapter.)

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 Extron's Simple Instruction Set
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 x is the SIS command 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.
<!--#echo var="
*type with no spaces
Example of SSI command
In the figure above, the "N" command is used to request the PCS4's part number.

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 x is the SIS command to be executed.
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.
www.camboard.de
4-22
IPL T PCS4 • Web Page-Based Setup and Control
CAMBOARD Electronics
Server Side Include Using
the Host SIS command
SIS Command
SIS command
to be processed
by the IP Link
Tel. 07131 911201
Fax 07131 911203
(SIS
) commands to communicate
N
"-->
ce-info@camboard.de

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ipl t pcs4i

Table of Contents