Adam Lowry's Robotic Archive

'\n'.join([entry.text for entry in adam.blog])

Home | About

Writing my first Zine plugin

written by Adam Lowry, on Feb 22, 2009 6:00:00 PM.

It's been quite a long time since I decided I wanted to get back in to blogging. Part of my hesitation was my existing multi-user ancient installation of Drupal, which made me immensely angry every time I looked at it. Since I couldn't ditch it while other people were using it, it stayed while I toyed around with the idea of writing my own blog in Django or with the Werkzeug/Jinja2/SQLAlchemy combination I've been digging at work. While I was considering it, Armin Ronacher of Werkzeug fame went ahead and released one, Zine. Digging through the code reveals a gold mine of Python gems, and setting it up was easy (with the caveat that I run it on a VPS and know my way around Python and Apache).

My first attempt at a plugin is quite simple--it's just a couple of config options to declare OpenID delegation URLs and display them in the HTML head. If you'd like to take a look, the OpenID delegation plugin is on BitBucket. I tested with Zine 1.2. Once I clean it up some more I'll bundle it for installation on other blogs. And later, I plan on working with Ben to see about creating an OpenID relying party plugin.