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.)
Comments
Commenting is disabled on posts once they’re 30 days old.
Matt Sahr at 19 Jan 2011, 2:17am. Permalink
Fantastic! I haven't done anything useful with it yet, but I've been eyeing the app at guardian.gyford.com for a while, and I'm overjoyed to get my hands on fully commented code. Thanks!