Every library user looking for an ebook needs to type this Boolean string into the search box. (Like the joke: books, ebooks, govdocs, dissertations, theses...)
What we really need is a way to automatically search our holdings for ebooks without typing in a ridiculous string each time.
What we really need is to use the Worldcat Search API to automate our specific search query and return useful results formatted in a way convenient for our users.
To make use of the Worldcat API you need:
an API key. (Keys denote permission to access the service.)
a query using either Opensearch or SRU standards.
to specify how you want the data returned to you.
http://www.worldcat.org/webservices/
catalog/search/worldcat/opensearch?
q=srw.kw+any+%22biofuel%22+and
+srw.li+any+%22ws2%22+and+srw.mt
+any+%22ebk%22+not+srw.mt+any+
%22gpb%22+not+srw.mt+any+%22cnp
%22+not+srw.mt+any+%22deg
%22&format=rss&cformat=chicago
&wskey=
[insert your API key here]
Scripting
In this case I used (just enough) PHP to get the query and delivery information from the user, format it appropriately, and submitted it to Worldcat using the API.
Formatting the final project:
Because we anticipated users would likely to use a tablet or smaller screen to access ebooks, I used the jQuery mobile library to format the search interface.