Making pages like these

  1. Create a design in HTML using a text-editor etc., or reuse a existing design.
  2. Convert the design into valid XHTML
  3. Write a XSLTstylesheet  markup.xsl which will transform a document like this: into a valid XHTML file with your design.
  4. Create a page template for future pages.
  5. Write a Makefile like this:

    which will handle the transformation process.

    Here we use two additional scripts:

    generate-entities
    A short script which creates entity files like this:
    mkindex.rb
    A more complicated script making a index out of all the <idx:idx> tags in your contents (see keywords).

  6. Abstract complicated HTML constructs. For example, instead of I write This will make it easier if i choose to change the behavior of <box>.
  7. That's all!