Code example – Extron Electronics IPL T PC1i User Guide User Manual
Page 47
![background image](/manuals/311925/47/background.png)
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.
SSI
commands
HTML Example #1
The following lines demonstrate how to read status from the IPLink Product:
IPLink Product Name:
IPLink Product Description:
IPLink Product Part Number:
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 Example #1
The following lines demonstrate how to read status from the IPLink Product:
IPLink Product Name:
IPL T PC1
IPLink Product Description:
One Switched 110v AC Receptacle with
Serial and IR communication
IPLink Product Part Number:
60-544-10
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
IPL T PC1 • HTML Configuration and Control
41