« Quetzalcoatl's Ziggurat of Death | Main | Orders of Magnitude »
In the post "Welcome to goer.org 3.0", I mentioned a number of reasons for the redesign. Better permalinks. Better comments. Upgraded feeds. Not hideously green. All sorts of good stuff.
I also upgraded from Movable Type 2 to Movable Type 3. MT3 offers a number of improvements, such as a better web interface and a more sophisticated plug-in system. However, the truth is that I could have done the whole redesign in MT2. And I was reluctant to upgrade, because:
But eventually all of these became not-true. First, MT3 became free for personal use. Second, my web host made MySQL available for all their plans, even the El Cheapo ones like mine. Third, Jacques alerted me that MT2 was not, in fact, working Just Fine, Thanks. The unpatched security hole was enough to convince me.
So it wasn't enough to just start creating new posts using a new template -- I also had to import all the old posts so I could shut down MT2 permanently. Unfortunately, technology has (surprise!) gotten in the way.
Importing the posts themselves wasn't too bad. As long as you remember the simple rule of Movable Type upgrades:
import/ directory: GOODthen everything works out alright, mostly. I was pleasantly surprised to discover that even though most of the old posts use raw HTML, and all of the new posts use Markdown, MT correctly formatted them all. Unfortunately this cleverness doesn't apply to comments, but I'll take what I can get.
What's more annoying is permalinks. The old site just had monthly archive pages, not individual entry archives, so it had permalinks that looked like this:
http://www.goer.org/Journal/2003/Apr/index.html#29
By contrast, the new site has permalinks that look like this:
http://www.goer.org/Journal/2003/04/the_xhtml_100.html
This is pretty yucky for a couple of reasons. First, unless I am reading the documentation incorrectly, MT3 changed its archive formatting syntax so that you have to represent months using numbers. Strings such as "Apr" are right out. Ok, fine, I can use numbers for months, and I can even fix everything up with mod_alias.
But then there's the second problem: all my old posts used anchors (the #29 part) in the permalink. What I didn't know back in 2001 is that the anchor never gets sent to the web server, which mean I can't use that information to redirect the old posts to its new location. (Oh, you could always try to do the redirect on an individual basis using JavaScript, but the search engines wouldn't be able to follow, so screw that.)
So I'm doing the next best thing, which is to redirect each old-style link to the appropriate monthly archive page. Straightforward enough, although I am wondering whether I should put in some special cases for the two or three posts that had wider than usual linkage. For example, if someone links to the aforementioned:
http://www.goer.org/Journal/2003/Apr/index.html#29
then my poor webserver only sees this:
http://www.goer.org/Journal/2003/Apr/index.html
but I know that the person actually meant to go here:
http://www.goer.org/Journal/2003/04/the_xhtml_100.html
and not to some other post made in April 2003. I'm not sure what the proper thing to do is here, but I'm tempted to go with the ugly hack that will help most people and annoy the remainder, rather than the cleaner solution that will annoy everybody.
Anyway, this little tale of woe is all just a roundabout way of getting to my Laws of Computational Metaphysics. I used to have one, now I have two. I'm sure someone has stated these laws before, but here's my formulation:
Information that resides only on a single hard drive doesn't exist. This one is the most important, since this one bites both geeks and non-computer geeks all the time. (Computer geeks: raise your hand if you're older than 22 and you've never lost data.) Among non-computer geeks, only very very very smart people like my kid sister and my mother can be made to understand this problem. So for everyone else my default advice is not, "Get yourself a good backup system," but, "Don't store anything important on the computer, ever."
Permalinks that contain an anchor don't exist. Law #2 has a narrower scope, but I think that amongst the web nerd set, it's underappreciated.
Feel free to add more Computational Laws of Metaphysics in comments...
Posted by Evan Goer on Jan. 14, 2007 at 4:15 PM | Comments (13)
The basics:
http://www.yahoo.com automatically become links.This entry was posted on January 14, 2007 by Evan Goer.
For more entries, you can visit the main journal page or browse through the complete archives, which date back to 2001.
Text released under Creative Commons.
To use this license, you must attribute this work properly. This license does not extend to comments unless the original poster of that comment states otherwise.
Powered by Movable Type 3.33.
Home | About | Journal | HTML Tutorial
© Copyright 2001-2007, Evan Goer. Some Rights Reserved. Last Updated July 2, 2008.
Posted by Wade on Jan. 14, 2007 at 11:52 PM
Posted by Evan on Jan. 15, 2007 at 8:06 AM
Posted by Henci on Jan. 16, 2007 at 11:52 AM
Posted by Evan on Jan. 16, 2007 at 7:41 PM
Posted by Jacques Distler on Jan. 20, 2007 at 7:54 AM
Posted by Adiv on Jan. 20, 2007 at 6:40 PM
Posted by Jacques Distler on Jan. 21, 2007 at 12:22 AM
Posted by Evan on Jan. 21, 2007 at 8:12 AM
Posted by Evan on Jan. 21, 2007 at 8:21 AM
Posted by Evan on Jan. 21, 2007 at 8:30 AM
Posted by Jacques Distler on Jan. 22, 2007 at 6:53 AM
Posted by Evan on Jan. 22, 2007 at 8:30 AM
Posted by patrick hubert on Apr. 04, 2007 at 8:36 AM