Today's Guardian source

Better late than never… I’ve finally got round to making the code for my Today’s Guardian site, powered by the Guardian Open Platform, accessible on Bitbucket on Github. Feel free to grab it, run your own copy of the site, tinker with it, etc.

The code contains both the Python script that grabs all the Guardian articles and saves them locally, and the JavaScript for the site itself. Let me know if you find any glaring problems with setting it up, although I can’t promise general support if you don’t understand how to do something, sorry.

I haven’t had time to do any work on the site for a while, and there are a bunch of known issues which could be addressed.

As with so many hasty, self-written projects, I should offer some caveat about the quality of the code… “I wouldn’t do it the same way again, etc.” You know.

Anyway, post below if you do something particularly interesting with it. Either way, I hope it’s useful to someone.

(It’s some measure of Github’s mindshare these days that I feel almost apologetic for having it on Bitbucket, but that’s where the project started, and I’m sure you’ll survive.)

(Five months later and I can’t even remember how to use Mercurial and Bitbucket. Consequently I’ve moved the code to Github.)


  • Fantastic! I haven't done anything useful with it yet, but I've been eyeing the app at for a while, and I'm overjoyed to get my hands on fully commented code. Thanks!

Commenting is disabled on posts once they’re 30 days old.

17 Jan 2011 at Twitter

  • 10:48pm: Time Machine spends so much time "Cleaning Up…" that I wish I could send it round the rest of the flat.
  • 7:52pm: @rooreynolds Sorry, no, not annoying. I just don't understand. I'm probably envious that you're so enthusiastic about something :)
  • 7:48pm: @hondanhon You should move on to ads for suet next. There must be room for growth in that market.
  • 7:47pm: @hondanhon Yeah, 'cos you haven't mentioned butter adverts before now at all :)
  • 7:46pm: @rooreynolds What *is* it they put in your drink at W+K that gets you and @hondanhon so excited about ads for butter? My mind is boggling!
  • 10:08am: @macintosh Is it a bit much? Sorry.
  • 10:08am: @suegyford Yeah, I stop for a few breaths every so often. A bit easier now I breathe every 3 strokes rather than 5. That was too much!
  • 10:04am: 1km swim; breakfast; coffee and reading; office; Steely Dan. Today is a CRASH SMASH so far.
  • 10:02am: @tomskitomski LET ME DREAM!
  • 10:00am: @tomskitomski I like to imagine the Mail has spent years recruiting an audience through sensationalism, with aim of using it for good. Ha.

17 Jan 2011 in Links