Markup Wanker

I’ve been faffing with my weblog again today. Why, you ask? Because (like Mark Pilgrim I’m a markup wanker who won’t leave well enough alone. Not in the same league as Mark or Hixie perhaps, but at least I try. You don’t get to see any of the fruits of my work though, since I haven’t copied the changes over to the live website yet. I doubt anyone will notice any difference (in fact, that’s half the point). I’ve been changing pointless div’s to headers, but more importantly adding plenty of relationship links to the head section. Since Dan C was pestering yesterday, and Sam has been waiting since last summer, I’ve finally got round to producing a syndication feed. Most of the work has been in the backend though, and some of the stuff I’ve changed has made me cringe. Mainly involving the phrase "SELECT * FROM weblog", which is becoming increasingly stupid as the size of the table increases. Especially when I realised that for each of the three displays (front page, archive list and individual posts), absolutely everything in the weblog is fetched from the database server. Not exactly optimal, eh? That, and some funky object orientated stuff for setting page titles, stylesheets etc means that I’ll need to be careful when I update the main site. Not tonight then.