There is a HathiTrust search API that you can use, in addition to RSS/OpenSearch. I can look up the details when i'm back at work next week if you can't find em googling. In fact, I think there are two seperate HT apis, one that searches HT fulltext and one that just searches metadata.
I use the metadata searching one in production, and indeed use it to look up HT records by ISBN, LCCN, and OCLCnum.
I am not sure if you can limit to just items your library owns using this API though. At a minimum (this may be obvious) your library would probably need to be a HT member, and have shared holdings information with HT -- otherwise HT has no idea which items your library owns. (My library is a HT member but has not yet shared holdings information with HT, because, well, we aren't able to identify our holdings reliably with OCLCnumbers, which is how HT (reasonably) wants it0.
The support/question link at the top right of all HT pages, contrary to usual expectations (heh), actually does usually get directed to the right person and get a response, even for technical questions. I'd give a shot asking them directly.
Jonathan
________________________________________
From: Code for Libraries [[log in to unmask]] on behalf of Ford, Kevin [[log in to unmask]]
Sent: Friday, August 03, 2012 12:20 PM
To: [log in to unmask]
Subject: Re: [CODE4LIB] haititrust
Ideally, you shouldn't need the hathifiles.
The HathiTrust search page links to an OpenSearch document [1], which promisingly identifies an RSS feed and a JSON serialization of the search results. Neither appears to work. In theory, doing as Jon says and then appending "&view=rss" would get you an RSS feed. There is a contact email in the OpenSearch document you might try.
FWIW, if you look at the search page HTML, there is a "fixme" note in an HTML comment, the same comment, incidentally, that also comments out the RSS feed link in the HTML.
Yours,
Kevin
[1] http://catalog.hathitrust.org/Search/OpenSearch?method=describe
> -----Original Message-----
> From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of
> Jon Stroop
> Sent: Friday, August 03, 2012 11:15 AM
> To: [log in to unmask]
> Subject: Re: [CODE4LIB] haititrust
>
> You can do an empty query in their catalog, and use the "Original
> Location" facet to filter to a holding library. Programatically, I'm
> not sure, but you'd probably need to use the Hathi files:
> http://www.hathitrust.org/hathifiles.
>
> -Jon
>
> On 08/03/2012 11:07 AM, Eric Lease Morgan wrote:
> > If I needed/wanted to know what materials held by my library were
> also
> > in the HaitTrust, then programmatically how could I figure this out?
> > In other words, do you know of a way to query the HaitTrust and limit
> > the results to items my library owns? --Eric Lease Morgan
|