Monday, November 17, 2003

Multi-ISBN LibraryLookup

Hickey and his associate Jeff Young put up a page to explore ways of using this one-to-many mapping in a LibraryLookup-like bookmarklet. It produces a bookmarklet that issues a query URL with multiple ISBNs.

Since my library's OPAC doesn't respond to multi-ISBN queries, though, I tried another approach: multiple individual queries. One way to handle these would be to have a server-based application parse the results and look for indications of success or failure. (Since the results are only Web pages, not well-formed XML responses, that would entail some crufty pattern recognition.) Another way, which I've implemented, is to open up a new window for each query. As an experiment, here's a version of the Build-Your-Own-Bookmarklet page that creates bookmarklets that use that method:

experimental LibraryBookmarklet builder for multi-ISBN lookup

No comments: