In an attempt to make a profit on my unused hosting, I put together a simple website powered by a CMS I had written for an unrelated project, and put it online.
This is the only outward-facing site powered by the CMS. It was developed because I wanted to write a CMS where SSH and a terminal were the GUI and not the site itself. Internally all of the pages are stored as XML (really a subset of HTML, so if the PHP support dies for some unknown reason, the site will merely lose dynamic features and the templating, but the content will still be accessible) and are transformed, tweaked and stuffed into a template when called.
Otherwise this is a fairly simple site, I tried to make it as light on bandwidth as possible, weighing in at 20kb on initial pageload, and 1-5kB on subsequent pages. (I pay for disk space and bandwidth usage ala-carte, so it is in my best interest to let the often viewed pages be as small as possible.)
For this project I also wrote a PHP script that would generate the HTML for the outlines; most of the notes were originally written in Word, and were bulky on export. The script features several quick regexes to strip out some unwanted formatting (fonts and so on), and used the PHP DOM-XML extension to then load the file and further clean things up.
Hsiu-Fan
Portfolio
/2005/03/13/history-bookshelf/