If you're seeing this...
Posted at 15:19:42
on Sun, June 22nd 2008 by graham
in:
blog
code
django
new design
news
new site
postgres
writing
... then the DNS records have propagated correctly and your RSS feed reader is now slurping from the new grahambinns.com server, which is just hunky dory as far as I'm concerned.
I've been working on this version of things for a while. Besides a re-skin - which taught me a lot about how I should be designing my templates and CSS, so it should be a bit easier next time - I've also tidied up the codebase a bit and added some new features. Most of them are under the hood, but here are some of them for those of you that care:
- Each piece of content on the site has its own license. For example, all my photos are CC-BY-NC-SA, as is all the content here so far. But when I start adding stories here (and it will happen within the next few months, I hope) I'll be able to license them as I see fit.
- I can now make posts using markdown syntax. This might not seem like a big deal but over the years I've come to loathe sites that simply turn linebreaks into <br />s (yes, Wordpress, I'm looking at you. You still do it, even with valid HTML posts). On this site I used to use TinyMCE as a WYSWIG HTML editor, which worked fine but was pretty horrendous to load on a slow connection. Now I just use markdown and let Django's markup app do all the work. Fantastic.
- You can now post comments using markdown syntax. No more trying to post a link and having Django eat it!
- I can now post to the blog by email. I thought about using gpg signatures to validate my emails but realised that it was too complicated (we do it in the Launchpad email interface and one look at that code a while back persuaded me to not do it unless I had to). Instead I've gone for generating single-use authentication tokens, which suits me fine and should hopefully - along with an obscure incoming address - stop spammers from doing nasty things.
- The site now supports pingbacks, though at the moment it can only receive them until I iron out some issues with the pingback sending code.
There are a lot more things that I've fixed, added, tweaked and polished, but none that are particularly interesting.
So here, finally, are the vital statistics of the new site:

