ComRails Source Code Comrails Logo
Home Page Main Menu
General Information
Comrails Home Page Whats New Links to other rail sites References & Bibliography Author Information Check Letter Calculation Privacy Information
Library - Publications, Handbooks & Timetables
Library of Rail Publications Home Page Timetables Handbooks, Manuals and Documents Miscellaneous Publications
Downloads
ComRails as Downloadable PDFs ComRails Source Code (PPWIZARD format) Photographs/Plans
Photos by Author/Collection Photo Key Word In Context Photo Submission/Readme Plans of Rolling Stock Plan by Class
Route/Track Information
Route Information by Track Name Alphabetic List of Locations
Traffic Information Management System
TIMS Main Page Group Information Alpha Index Numeric Index Details Index Route Information Readme Abbreviations & Glossary
Abbreviations & Glossary Home Page Glossay A Glossay B Glossay C Glossay D Glossay F Glossay G Glossay I Glossay J Glossay K Glossay L Glossay M Glossay N Glossay O Glossay P Glossay Q Glossay R Glossay S Glossay T Glossay U Glossay V Glossay W
Locomotives
Commonwealth Railways
CR Loco Home Page Narrow Steam Narrow Diesel Standard Steam Standard Diesel Classification Steam Classification Diesel Named Locos Railcars Miscellaneous Vehicles Loco Classification South Australian Railways
SAR Loco Home Page Narrow Steam Broad Steam Diesel Classification Steam Classification Diesel Named Locos Railcars
Passenger & Brakes
Australian National Railways
AN Psg Home Page Broad Gauge Narrow Gauge Standard Gauge Classification Type Named carriages Brake vans, Perway and Non-revenue Overland cariages Diesel railcars Contracts Consists and Refurbishments Commonwealth Railways
CR Psg Home Page Narrow Gauge Standard Gauge Classification Type Named carriages Brake vans Construction Train Railcars Contracts Rollingstock Classification Consists and Refurbishments GSR/JBRE
GSR/JBRE Psg Home Page Road Number Classification Type Named carriages South Australian Railways
SAR Psg Home Page Named V&SAR cars V&SAR Joint Stock SAR&CR Joint Stock Pullman cars Steel Bodied cars Wooden cars "D" type cars Narrow Gauge cars Trailer cars Diesel Railcars Allocation Numbers VR "E" cars Private named cars
Freight
Freight Home Page Narrow Gauge Standard Gauge Broad Gauge Classification Rollingstock Classification Ungrouped Vehicles by Intended Use
Operators
Australian National Railways
AN Passenger Home Page
Australian Rail Track Corp
ARTC Home Page
GSR/JBRE
GSR/JBRE Home Page Commonwealth Railways
CR Locomotive Home Page CR Passenger Home Page
South Australian Railways
SAR Locomotive Home Page SAR Passenger Home Page
Master Indexes
Master Indexes Main Page Vehicles by Classification Vehicle Numeric List Photo Key Word In Context Plans by Class Alphabetic List of Locations
Search

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. It also enables me to be able to use the same source code to produce both HMTL and Latex code so that I can offer Comrails as a web site or printable PDFs.

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.

If you find the code usefull, then why not let me know. I can be contacted via email address chris.drymalik@gmail.com.

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


AltStyle によって変換されたページ (->オリジナル) /