This file is the "readme" file for the ComRails Source.

------------------------------------------------------------------------

ComRails uses the PPWIZARD pre-processor to build all it's HTML pages. It's a great program that allows me to write programs in the REXX language that simplify the maintenance of this complex site.

The ComRails source contains only PPWIZARD code (written using REXX), no graphics or photos are included. Basically it's all the .it and .ih files and some batch files to generate the actual source code. I'm sorry, but it's not very well documented because I'm more interrested in updating the site than writing documentation possibly no on will read :-)

If you find the code usefull, then why not let me know. I can be contacted via email address cpdbear@adam.com.au.

Some of the code I've written that is included in the zip file performs the following:

- A series of programs that generate all the code to build the photo galleries from a list stored in a comma delimited file. The Galleries include index pages, preview galleries and the viewing page for the photos (see common/pic_common_mp_index_v2.ih, pic_cd_index.it)

- A Key Word In Context list for all photos, where the list of photos is obtained from the command delimited files (see common/z_@BuildKwicList_1.it,z_@BuildKwicList_2.it, z_@BuildKwicList_3.it).
- Routine to zip up all the source code and make it available via this page (see common/z_@zip.it)

Cheers
Chris Drymalik

------------------------------------------------------------------------

ComRails Source is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
at your option) any later version.

ComRails Source is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with ComRails Source; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA;

------------------------------------------------------------------------

Some General Documentation (not complete)


Various Macros:

RS_Item Macro - this macro build the header entry and some index information, as comments, that is scanned
  later by various routines to build the indexes.

  Format: <$RS_Item id='indexid' e1='entry1' g1='gauge1' e2='enry2' g2='gauge2'>

    id = The value to use on the '<a href="id">' tag. If none is given a unique ID is gnerated
    entry1...9 = the actual entry that is included in the header ie. "AVCY/ACCP 1234"
    gauge1...9 = gauge associated with entry (optional if missing assumed to be 'S' unless vehicle code begins with 'N')
          S = Standard Gauge
          B = Broad Gauge
          N = Narrow Gauge
          T = Tasmanian System (Narrow Gauge)
          E = Eyre Peninsula System (Narrow Gauge)
          $ = Entry is documentation only. a Header will be gnerated, but it will not be included in the index entries.

