All in the <head> – Ponderings and code by Drew McLellan –

Upgraded to Textpattern 4.0.1

I’ve been running a fairly ancient build of Textpattern on this site since I relaunched with this design back in August last year. Since then, TXP has undergone massive changes, and some important security fixes have been made. Although none of the potential security problems are known to have been exploited, I was getting pretty itchy about it and thought I’d better update.

The main reason I’d hadn’t upgraded sooner was that I’d hacked around with my install quite a bit to get the markup how I wanted it. There were some quirks with TXP a year ago, and some of the markup was still hard-coded into the files and not exposed to the templating system.

So I thought that upgrading to v4.0.1 would be a major nightmare, and had pretty much resigned myself to biting the bullet and getting on with somehow, anyhow getting my site upgraded.

I was pleasantly surprised to find that I had to do absolutely nothing. I checked out the latest stable build from svn, pointed it at a local backup of my live database and wham! – Textpattern 4.0.1! The nasty bits I’d hacked out of the markup last year are no longer in the release version, and my other customisations were quickly reimplemented by updating just a couple of templates. That’s a good user experience. Well done TXP team.

Do let me know if you spot anything wonky around the place – it’s possible that there’s the odd rough corner (on top of the old rough corners that have always been there). I’m afraid my feeds may well have marked themselves as all unread – so apologies for that. The Atom feed is now v1.0, so you’ll need Atom 1.0 support in your feed reader (it was 0.3 before, I think). I had to update NetNewsWire before it would work for me.

The really positive thing from my point of view is that I’m now running a completely out-of-the-box install of TXP, which will really make my life easier in keeping the site up-to-date in future. So huzzah for that.