Aqua DiveLog for Palm OS Documentation

Conduit - index and overview template

A typical overview page contains:

list of dives

This section is implemented as a repeat block Any simple keyword, text or HTML statement are allowed in this repeat block.
Use the ref - parameter to generate a Hypertext-Link to the corresponding dive record page.

example:

code example:

<table width="100%" border="2" >
<tr>
  <td><b>dive</b></td>
  <td><b>date</b></td>
  <td><b>time</b></td>
  <td><b>location</b></td>
  <td><b>max depth</b<>/td>
  <td<>b>dive time</b></td>
  <td><b>buddy</b></td>
</tr>

<!--
<PDL_repeat_index>
<tr>
  <td><PDL_dive_number ref>1</PDL_dive_number></td>
  <td><PDL_date ref>01.01.2001</PDL_date></td>
  <td><PDL_time ref>12:00</PDL_time></td>
  <td><PDL_location ref>location</PDL_location> / <PDL_place ref>place</PDL_place></td>
  <td><PDL_dive_depth>30 m</PDL_dive_depth></td>
  <td><PDL_dive_time>30 min</PDL_dive_time></td>
  <td><PDL_buddy>buddy</PDL_buddy></td>
<tr>
</PDL_repeat_index>
//-->

<PDL_INSERTED>
</PDL_INSERTED>
</table>

and how it looks:

dive date time location max depth dive time buddy
1 01.01.2000 12:00 location / place 30 m 30 min buddy
2 02.01.2000 12:00 location / place 30 m 30 min buddy
... ... ... ... ... ... ...

list of divesites

The divesites are implemented similar to the lost of dives, with a repeat block: A subset of PDL-keywords and any text or HTML statement are allowed in this repeat block.
Use the ref - parameter to generate a Hypertext-Link to the corresponding dive record page.

PDL-keywords for this repeat block:
keyword description parameter
<PDL_location > global location of divesite all
<PDL_place > place of divesite all
<PDL_place_altitude > altitude of divesite all
<PDL_place_latitude > latitude of divesite all
<PDL_place_longitude > longitude of divesite all
<PDL_place_description > description of divesite all
<PDL_place_depth > max. depth of divesite all
<PDL_place_water > sea water or fresh water all
<PDL_place_type > type of divesite all

statistic

You can add some statistical data of your dives to your main page.
Just write the proper PDL-keyword to your template, don't forget to close the statement with the slashed keyword.
statistic PDL-keywords:
keyword description parameter
<PDL_avg_depth > average depth of dives all
<PDL_avg_time > average time of dives all
<PDL_cum_time > cumulated dive time all
<PDL_max_depth > maximal depth all
<PDL_max_time > maximal dive time all
<PDL_number_dives > number of dives in the logbook all



Take care to enter the correct filename of your template to the divelog.ini.
keyword description default
IndexTemplate path and filename of the loogbook index template IndexTemplate = .\template\sample_index.html




conduit documentation dive record template divesite template