Dominic J. Thoreau

How I build this site

This website is the result of multiple changes over approx 10 years.

  • Created in 1994. Hand-coded in HTML. Hosted by AIT/AUT
  • Relocated in 1996 to Landcare Research.
  • Redesigned in 1998 to use SSL and bright colours.
  • Relocated in 1999 to ihug. SSL code reverts to static.
  • Relocated in 2003 to Force9 in the United Kingdom, and placed in it's own domain
  • Redesigned in April 2004. Pastel colours and simple navigation. Coded in Netscape Communicatior, leaning heavily on HTML code
  • Problems with the tabbing system (adding new pages is too annoying) lead to creation of a perl management engine.
Engine components
  • buildme.pl - the code that merges content files with left-side index panel. Writes files to disk and then uploads them to the production website.
  • index.xml - contains the data for the structure of the site.
    Tag Meaning
    <index>
    wrap the whole thing in a single tag. Try to make this good XML
    <item> wraps up a whole entry
    <filename>
    Every file has a name. To get the source you append .content, to get the webpage you append .html
    <label>
    The displayed link text, and page header for this filename
    <ord>
    The order in the index.xml file is arbitrary, but you can sort into your chosen order. These are numbers, decimal points permitted
    <parent>
    To avoid cluttering the menu, some entries can be sub-entries for others, which aren't shown if not related
    <nocode>
    Setting nocode to true stops this item being generated by this script, but the menu still points to it
    <noind>
    Setting noind to true stops it being displayed as a menu item unless you link to it elsewhere
  • TEMPLATE.html - Contains all the code that isn't menu or content. The background, stylesheet, table, copyright notice.

© 2004 Dominic J. Thoreau - this is http://www.thoreau-online.net/engine.html
Updated and uploaded Fri Dec 29 11:45:07 2006