OCLC Developer Network

Creating a Catalog Search Form Using WorldCat Registry

When I'm talking about OCLC Web Services to developers, some services spark ideas more quickly than others. Most developers can easily see applications for services like the WorldCat Search API, xISBN, and Identities. Some services though don't instanteously spark as many ideas. One such services is the WorldCat Registry. The Registry contains information about libraries worldwide. Both OCLC members and non-member institutions. Metadata like a library's name, address, phone number, OCLC Symbol, catalog URL, website URL, OpenURL resolver are all in the registry. The public HTML interface to the registry let's users search for a specific kind of library in a specific geographic location and view information about that library. Because developer's don't always have ideas about how they might use the registry, I'm always trying to think of new ways in which the data can be used. I've built map mashups that show all the libraries or a specific type of libraries in a particular geography. However, I wanted to find a way to use the Registry in a way which folks might not have thought of. One of the most common questions I get asked by small libraries when I'm teaching about library content management systems is "How do I embed a catalog search box on my library website?". I've helped literally dozens of libraries do this. It requires a good knowledge of OPACs,HTML, HTTP and a willingness to hack the library catalog a bit. Honestly if its an ILS that I've hacked before and can recognize it can take me less than 5 mins. But this small hack for me, makes a big difference to a small library. So I thought what if I could automate this so when someone emailed me I could say "hey go to the search box builder page and put in your library's OCLC Symbol." Where does the Registry come into all this? Well the first thing I have to do when I build one of these search boxes is to figure out what their catalog is and what its URL is. Both of these bits of information are in the Registry. So my script takes an OCLC Symbol, looks up the institution's catalog URL and ILS Vendor. Once it knows the ILS Vendor I've written functions that properly builds the search box for the given ILS vendor. Ok, so I only have a few spare minutes so the script doesn't work for ALL ILS vendors. I haven't hacked every catalog, YET. It does however work for the following Catalog Vendors

  • ExLibris - ALEPH
  • Innovative Interfaces
  • Evergreen
  • SirsiDynix - Unicorn
  • VTLS - Virtua
  • Polaris

If you want to help me make the script for for other catalogs. Post a comment with which catalog you have hacked and I'll get in touch to get the code from you. You can check out the demo in action here. Try testing YCM or TXH.

Comments

re: Creating a Catalog Search Form Using WorldCat Registry

I get this error when I type in "COO" for Cornell. We use WorldCat Local.

Cut and paste the following code to create a keyword catalog search for your catalog.

This catalog is not currently supported.

re: Creating a Catalog Search Form Using WorldCat Registry

Adam,

The Worldcat Registry (http://www.worldcat.org/registry/Opac/3913) actually lists Cornell's catalog as Voyager. Libraries can update their own Registry information to reflect changes. So if you want the Registry to reflect the fact that Cornell is using WorldCat Local then the person with rights to update the information in the Registry will need to make this change.

Additionally, Voyager is one of the catalogs that I tried really hard to get to work but couldn't seem to hack it properly, which is why the demo doesn't produce a form for you and gives you the "This catalog is not currently supported" message.

If you want to embed a WorldCat Local search box in a page, it quite easy to do. You can see an example of it on University of Washington Libraries site (http://www.lib.washington.edu/). To get an embeddable search box for Cornell go to http://cornell.worldcat.org/tools/searchboxHTML, configure, then cut and paste the code. There was a blog post about this on the WorldCat Blog last April.

Also as an FYI, the WorldCat list widget and WorldCat keyword search widget can be customized for your WorldCat Local implementation.

re: Creating a Catalog Search Form Using WorldCat Registry

I have created a simple catalog search form for our school library back in my college days but it never get integrated in our own school because of some issues in my rights as developer of the software.

Follow the OCLC Developer Network:

The OCLC Developer Network supports the use of OCLC Web Services—a set of tools and APIs that expose data and services for WorldCat and our member libraries and partner institutions or companies. learn more »

© 2010 OCLC Domestic and international trademarks and/or service marks of OCLC Online Computer Library Center, Inc. and its affiliates


Powered by Drupal, an open source content management system