tears in rain
Design Notebook
2007-05-22
Many turns in the last ten days:
- Pursued 05-12 approach until I realized that current tirindex 0.1 can produce index like new prototype with only minor modification.
- Worked on tirframe mod. to eliminate parallel .main files for HTML docs. Learned a lot, but decided editing files in-place adds a lot of complexity for small gain of having automatic navigation headers, considering that ordinary browser history function is adequate for returning to indices from leaf doc. of any type (gopher-like).
- Will create simplified header and footer templates that can be inserted "by hand" in HTML doc's where consistent look-and-feel desired.
2007-05-12
New Approach: Define index page components in single shell script (.tir_profile in root and optionally in subdirectories) instead of multiple hidden files. This will reduce number of files to manage, file I/O and complexity in scripts.
Installed TIR system will consist of a root directory with an arbitrary number of topical subdirectories (one level), index.html plus header, navigation menu, and footer HTML segments for SSI content files in root and each subdirectory, blog compilation and RSS for entire system.
Script components:
- tirindex - generate index HTML for directory
- tirheader - generate HTML include header for directory
- tirmenu - generate HTML include navigation menu for directory
- tirfooter - generate HTML include footer for directory
- tirblog - generate site blog file
- tirrss - generate site RSS file
- tirgen - run tirindex, tirheader, tirmenu, tirfooter in root and subdirectories, tirblog, tirrss for site