|
|
|
| home | news | products | support | live images | contact | cctv shop | free trial |
|
Support Links >>>
i-Catcher Help File download area Wildlife picture gallery Capture equipment |
HTML template help i-Catcher can handle complicated templates. We will explain them using the sample below. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>i-Catcher Console - Chronological History</title>
</head>
<body>
<p>View stills for a particular feed: [feeds]</p>
<table>
[body]
<tr>
<td align=center valign=middle><img src="[pic1]" alt=""></td>
<td align=center valign=middle><img src="[pic2]" alt=""></td>
<td align=center valign=middle><img src="[pic3]" alt=""></td>
</tr>
<tr>
<td align=center>[filename1]</td>
<td align=center>[filename2]</td>
<td align=center>[filename3]</td>
</tr>
<tr><td> </td></tr>
[foot]
</table>
</body>
</html>
The two tags in the text ([body] and [foot]) separate the 3 parts of the template. The header (everything up to [body]) will be inserted once, and the middle section will be repeated until all the images have been inserted into the template. Then the footer will be added onto the end When parsing the middle section, it will look for [pic1], and replace it with the first image, then look for [pic2] and replace that with the next image. It will then carry on until it fails to find a [PicN] (N is incremented each time). The [filenameN] tags will be replaced with exactly the same as [picN], except when it is inserting a place holder. In that situation, it will be left blank. If [body] and [foot] are missing, it will only parse through the file once until it gets to the bottom of the file. There are other tags that are used by i-Catcher Sentry, Wildlife, and Console/Alert.
|
|
© 2007 iCode Systems Ltd. All rights reserved. |