OPA with ottobib

Inspired by LibraryThing I've added an OttoBib redirector to the Isbn provider in OPA. It seemed a good time to refactor some, so I did that, too. The FORMATS/EXTRA_FORMATS dichotomy is artificial and just a remnant, now, but I still don't have time to rewrite the whole thing. In the meantime, it's slightly more sane inside the Provider subclasses.

Updated opa.py is attached.

AttachmentSize
opa.py.txt23.92 KB

Trackback URL for this post:

http://onebiglibrary.net/trackback/165

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <pre> <code> <img> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <form> <input> <span> <object> <embed> <br>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <apache>, <bash>, <css>, <diff>, <dot>, <java>, <javascript>, <mysql>, <perl>, <php>, <python>, <rails>, <ruby>, <sql>, <xml>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
3 + 5 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
Syndicate content

This site is Copyright (c) 2005-2008 by Daniel Chudnov. All rights reserved.

All opinions stated here are my own, and do not reflect those of my employer.