Reinventing the wheel always gets one yelled at, but naturally I am doing it again. I have found that maintaining my Web site is a pain. Naturally, I went on a search for Web content management tools with a few preferences in mind.
Everything that I found failed one or more of the above prerequisites. ttree from Template Toolkit was the closest I found, but it doesn't appear to automatically generate the navigation bar the way that I want it to be done.
So I'm creating my own. All I do is create a file in my source directory and it's added to the site and all appropriate nav bars are to be updated. Do I want a new section added to the site? I just create a new directory and add a file to it. That's all.
As for the file format:
This is the title
<p>Insert the body of the page here.</p>
It's rather simplistic, but that's the point. I don't want to learn some complicated Web content management system for a simple vanity site. So far, I only have ~120 lines of code, but the bulk of the work is done. My work on the dynamic navigation bar will take a bit more time, but other than that, it works perfectly creating all of the folders that I need and generates nice, valid HTML. This should make further updates to my site rather painless. It would probably not be terribly useful for anyone else unless they already know Template Toolkit. Further, $simple == $inflexible, but it does what I want it to do. I can even override the default CSS and templates to customize the look and feel for every section. I rock