bm-libris

By Albin Stjerna Last update Apr 13, 2009 — Installed 66 times.


Script Summary: A short hack to import Libris data into BookMooch

This script will enable Libris lookups through the "add manually" page on BookMooch. It will replace the "look up in ISBN DB" button with code that in stead fetches (some of) the information from Libris. The following works:
* Filling author, title, ISBN and publisher
* Highlighting of modified/filled fields
* Informing the user when no information could be fetched
* Making the ISBN input box accept 13 characters in stead of the previous 10
The following doesn't work, but should. Hints and improvements are very much welcome:
* Importing the date field (somehow, I can't figure out how to write to the date drop-down input!)
* Modifying the action of the ISBN input box to run the Libris lookup script (pressing enter when in the input box will now send the data, resulting in an error message from BookMooch).
* Handling of multiple hits. The current behaviour is to discard all hits but the first one.