ComRails Source Code Comrails Logo

ComRails Logo

ComRails PPWIZARD 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 author, Dennis Bareis describes the program as:

What is PPWIZARD? It is a free generic text manipulation tool which most people use as a html preprocessor. It is powerful and yet easy to use. If you know what server side includes are then you could think of PPWIZARD as a "super SSI". Preprocessors allow you to easily include external files (to include html files such as common html headers, footers or navigation) or perhaps to include the result of external commands or SQL queries. They also enable more complex things such as defining email and web addresses in one location and reusing these throughout your site or creating more complex macros which can make decisions for themselves as to how html should be generated. PPWIZARD also allows for data import in various formats (e.g. SQL from a large number of databases including MS Access, CSV, fixed and other formats).

You can get additional information and download PPWIZARD at http://dennisbareis.com/ppwizard.htm.

So if you want to see what the source code for ComRails looks like, click on the following link to download it. It's released under the GNU General Public License as published by the Free Software Foundation.

NameSize and DateDescription
ComRails_src.zip This download is not more than 14 days old (0 days old at 31 May 2007)2,819,999 bytes Thu May 31 2007 3:47:38pm ComRails source code, 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.

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)


Built using PPWizard Page code Copyright © Chris Drymalik 1998-2007.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.
Hosted by Railpage the Australian rail server.  -  Privacy Information
This page was last updated on Thursday 31 May 2007 at 3:47pm.