Flags and Lollipops

Thursday, April 10, 2008

Ian owes me a pint

(update: Gavin Bell at Nature gave up one of his app spots so that I could put this live, which I did: only to discover that Google App Engine is even more unforgiving of timeouts than Facebook. Currently trying to work out how to make the bookmarking process, for now it doesn't work very well. Also the search is broken, though that's Google's fault and not mine.)

I bet Ian earlier that I could rewrite Connotea on App Engine in six hours. I can't remember why. Probably ego (mine, I mean). He didn't actually bet me a pint but he should have done...

... because the original estimate was a tad optimistic (ahem). After twelve hours I've produced pycite, though, which is pretty good going I think. I'll admit it: Python is actually very cool.

pycite is three hundred lines of logic and a set of html templates that implements a (very simple) social bookmarking service. Sadly I don't actually have an App Engine account so it's not live on the web anywhere (I'll buy whoever does have an account and puts it up first a pint - let's spread the love), you'll have to download it and run it locally to see it in action.

What you can do with it:

  • run it without owning a server of your own
  • log in with your Google account
  • add new bookmarks (the citation will be collected automagically)
  • view everybody's bookmarks
  • filter bookmarks by user:
    http://path.to.pycite/users/bob.smith
  • and by tag:
    http://path.to.pycite/tags/diabetes
  • and by user and tag:
    http://path.to.pycite/users/bob.smith/tags/diabetes
  • and by keyword (the full text of each bookmarked page is searchable):
    http://path.to.pycite/users/bob.smith?q=t2d
  • get atom feeds for all of the above

What you can't do with it (yet):

  • edit or delete bookmarks
  • anything else

I've put it all up on Google Code. It's fairly straightforward stuff so if you've got any brilliant social bookmarking ideas then go for it. Send me an email and I'll give you write access to the subversion repository.

Comments and trackbacks Feel free to post your comments Anonymous Duncan Hull . This post has trackbacks.

Trackbacks:

1 Comments:

At April 10, 2008 10:03 AM, Anonymous Duncan Hull said...

Hi Euan, that's impressive. Have you done Ian out of a job?! The only trouble is you're a sharecropper on the Google plantation now :)

 

Post a Comment

<< Home


See all posts from: July 2005 August 2005 September 2005 October 2005 November 2005 December 2005 January 2006 February 2006 March 2006 April 2006 May 2006 June 2006 July 2006 September 2006 October 2006 November 2006 December 2006 January 2007 February 2007 March 2007 April 2007 May 2007 June 2007 July 2007 August 2007 October 2007 November 2007 December 2007 January 2008 February 2008 March 2008 April 2008