Web Page Templates
In order to format emails or web pages created by PonyExpress, you will create separate template files. There are two types of templates used with PonyExpress: email templates and file templates.
All the templates are plain text files, so if you create them in more advanced word processors like MS Word, make sure to save them as plain text. Also, since Windows applications may append file extensions invisibly, make sure you rename the file once it is on the server so that it does not have any three-letter extension (e.g., .txt).
The output.template file, used to format web pages created by PonyExpress, is just a bit more complex, although it is also quite flexible. This template consists of three sections: header, entry, and footer. The sections are separated by double-pound symbols (##) on lines by themselves.
The header and footer will become the top and bottom portions of the output file (output.html by default), while the entry section will be repeated once for every new form submission. Each of these sections can be as simple or as complex as you choose. Again you will use square brackets [ ] to include data from your form.
The following template creates a simple web guestbook: