Extron electronics IP Link Series User Manual page 49

Power control interfaces
Table of Contents

Advertisement

Code example
The following figure shows a practical use for both SSIs and query strings. In this example,
the HTML source code contains three SSI commands.
<html>
<head><title>Example 1</title></head>
<h2 b>HTML Example #1</h2 b>
<body>
The following lines demonstrate how to read status from the IPLink Product:
IPLink Product Name: <b><!--#echo var="1I"--></b>
<br>
IPLink Product Description: <b><!--#echo var="2I"--></b>
<br>
IPLink Product Part Number: <b><!--#echo var="N"--></b>
</body>
</html>
Figure 34.
Web Page HTML Source Code Document Showing SSIs
The SSI commands in the figure above request the product name, product description, and
product part number of an IP Link device.
The figure below shows the HTML code that results from the SSIs shown in the above
example.
<html>
<head><title>Example 1</title></head>
<h2 b>HTML Example #1</h2 b>
<body>
The following lines demonstrate how to read status from the IPLink Product:
IPLink Product Name: <b>IPL T PC1</b>
<br>
IPLink Product Description: <b>One Switched 110v AC Receptacle with
Serial and IR communication</b>
<br>
IPLink Product Part Number: <b>60-544-10</b>
</body>
</html>
Figure 35.
Resulting HTML Source Code Served by an IP Link web Server
Notice, in the figure below, that the commands executed by the PC1 in response to SSI
references have been replied to, and were implemented when the web page was served to
the browser.
Figure 36.
Browser View of Previous HTML Source Code
SSI
commands
IPL T PC1 • HTML Configuration and Control
41

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ip link ipl t pc1Ip link ipl t pc1i

Table of Contents