Archive for the ‘Python’ Category

PCF Django apps: djpagetabs, djvideo, djpubsubhubbub

Thursday, August 6th, 2009

As part of Miro Community and the Miro Guide refactoring, some stand-alone sets of code have gotten factored out into their own Git repositories.  We haven’t really made a big deal of it, but they might be useful to other people in the Django community.

  • djpagetabs is a templatetag library which implements the nice page number list you see at the top of Miro Guide listings pages.  It works on top of Django’s built-in pagination support.
  • djvideo is a templatetag library which embeds videos into Django templates.  It tries to use the best support it can, from the <video> tag for supported browsers/formats to Flowplayer to built-in plugins.
  • djpubsubhubbub is an app to subscribe/get updates from PubSubHubBub hubs for Atom/RSS feeds.  I haven’t integrated it with the Guide yet, but it should both reduce the load on the Guide and make updates faster for supported feeds.

They’re all under a BSD license, same as Django, so you can use them wherever you can use Django.