Blog Posts in "new design"

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:

  • Server: Bytemark virtual server running Ubuntu 8.04.
  • Django 0.97-pre (to be upgraded to 1.0 stable when it comes out in September).
  • PostgreSQL 8.3 (the migration to which fixed so many problems it's unreal).
  • Apache with mod_python for serving the Django stuff.
  • Lighttpd for serving the static files.

Search

Latest Twitter

New blog post Twitters for 2008-08-20 http://tinyurl.com/58j8fv 2008-08-20 23:15:28 (More)

Recent entries

Launchpad Bugs

Post Categories

10mm 15th of july upload amusing animals atheism august9upload august 9 upload autoportrait bass bbc bird blackandwhite blogging blogs buildings canonical caton church colourised computing cricket d300 d40x desaturated django editing flickr flower forestofbowland from the inbox funny general heysham home humour in the news lancashire lancaster landscape launchpad links linux london lune may 12th upload me monochrome morecambe morecambebay music nanowrimo nature news new site night norfolk norfolkbroads novel novel-the-second observations pendle people photography podcasts posts that started out differently programming python quotes ranting reading reflection religion science sea selfportrait sepia shadows sigma1020mm silliness sky stupidity sunset texture thoughts three hundred and sixty-odd days of 2008 travel tree twitter ubuntu warren ellis, internet jesus water work writing writing ideas

About

Graham Binns is a writer, photographer, musician and software developer from Lancaster, England, with far too much hair, a penchant for odd t-shirts and a magnificent hat. He has been making things up for as long as he can remember and has been making code work for long enough to make a living from it.

He has written one novel, which is in the process of composting, and is working remembering how to write before embarking on a second. In the meantime, he photographs things, since it's easier not to have to make the world up in his head all of the time.

From the gallery

Corners No entry Tramway Smash Wasteland