Celsius1414 redux notes
01:26. Dishes done, took forever. Crazy — there were hardly any this morning. Still have to shower & shave though at least the coffee is made.
Just dreading the three meetings tomorrow. Three of ‘em, taking up pretty much the entire day. Dreading them a bit too much though. I get suffocated easy. ;)
So, shower, shave, maybe get some lunch stuff together so all I have to do in the AM is roll out of bed and into the car after breakfast.
My original reason for sitting down w/this was to brainstorm/capture some thoughts on the Celsius1414 Redux project I worked on much of the evening. Not too much tech to do before it can go online, though of course there’s always more that could be done. Anyhow, the URL rewrite thing is the main speed bump, then it’s really a matter of content — capturing what I want from the old blogs (or perhaps all of it ‘by date’) and populating with new stuff as I want.
Of course, it occurs to me right now that There Is Another Way To Do It.
Filesystem. Folders. Blow off the database for content. I can put in that via the command line.
The whole point of blogs, wikis, and their kin is to ease the creation of html pages, really.
But if we have an index.php template with something like:
require(header.php);
content HTML
require(footer.php);
Or even the opposite, where the full template finds the raw html file (or whatever markup I use) in that directory and includes it, processing as necessary. That would be much less intrusive than all those content-heavy db calls, and the main crunching would be wikifying the text where I include brackets notices. (Find and replace ‘end bracket’ with ‘</a>’ etc.)
Those html/markup files could start as plaintext files on my local filesystem that are then automagically (via shell scripts) formatted and uploaded (via scp) to Celsius live.
Tee hee.
This is actually much more interesting to contemplate than what I’d been considering up till now. So, to brainstorm:
- Database might still be maintained for index and tagging purposes.
- Script on webserver to find updated files and re-generated RSS & Atom feeds.
- That or another script could generated the ‘latest’ homepage stuff.
- Or we could skip the HTML file & just have the index.php created from templates each time.
Someday/Maybe * automatic zip archive creation and sync * comments? * link feed (a la del.icio.us)