Journal for Bruce B. Salem


Thursday July 21, 2005

A lexigraphic list of the filenames with the format YYMMDD followed by some string keeps a reasonable order. The file called "top" can still be the document root. A set of links across the bottom of each page could be the last files in the list, or even the most recently modified, if sorted by mtime. I have to edit links by hand until I can write the script.

However, when the files get the html extension, the lexigraphic sort is upset. If the text files and the HTML files needed to sort the same way, the split files need to become fully qualified. "050715" begets "050715-0" and "050715-1", not just the latter. For the text files without file extensions, it doesn't matter; with any extension, it matters.


Back Next Top Journal Index
Free Web Hosting