|
|
iCatcher Help
Learn how to set up and use iCatcher's features to their full potential. read more... File download areaDownload all the iCatcher software products, including legacy versions. read more... Wildlife picture galleryi-Catcher Wildlife captures fantastic scenes from nature. Have a look at some of the best. read more... Capture equipmentFind out about suitable equipment for use with iCatcher, from cameras to lighting, and more. read more... CCTV ShopWe have an online shop where you can buy video and capture hardware, as well as iCatcher bundles at discounted price. read more... |
Using HTML Templates with FTP Upload Alerts iCatcher 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>iCatcher 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 iCatcher Console, Alert, Sentry, and Wildlife.
|
|