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.

Trackback URL for this post:

http://onebiglibrary.net/trackback/165
AttachmentSize
opa.py.txt23.92 KB

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.
9 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.