Re: [CODE4LIB] Public list of Institutions and openURL servers

2015-07-16 Thread Xiaoming Liu
The IP lookup functionality itself seems to be working:

For example:
http://www.worldcat.org/registry/lookup?IP=128.143.23.98

A specific IP address lookup failure typically indicates a data quality
issue,  such as the registry does not have complete or up-to-date IP
address information.


Xiaoming

On Wed, Jul 15, 2015 at 11:42 PM, Accomazzi, Alberto 
aaccoma...@cfa.harvard.edu wrote:

 Hi Xiaoming,

 Thanks, this is useful information although it does not help us in allowing
 the user to select from a list via autocomplete (which is what we are
 aiming for).

 But checking the info available on the dev pages, I was reminded of your
 lookup by IP address service which could help us guess the proper resolver:

 https://platform.worldcat.org/api-explorer/registryPlatformSRU/OpenURLResolver/LookupByIPAddress

 However, I could not get it to work with any of the IPs in our institution,
 e.g.
 http://www.worldcat.org/registry/lookup?IP=131.142.185.29

 Am I doing something wrong or is the service not behaving correctly?

 Thanks,
 -- Alberto



  Alberto,
  The information is available through OCLC's institution registry API if
 you
  happen to know the library's registry id, such as:
 
 
 http://www.worldcat.org/webservices/registry/enhancedContent/Institutions/3003
  It has XML fragment like:
  resolverRegistryEntryresolver
  baseURLhttp://jt8rt5xt7v.search.serialssolutions.com//baseURL
  OpenURLVersionsOpenURL_0.1//OpenURLVersions
  vendorserialsSolutions/vendor
  
  I think the official document about this feature is at:
 
 
 http://www.oclc.org/developer/develop/web-services/worldcat-registry/sruxsd-interface/organization-resource.en.html
  Xiaoming
 
  On Tue, Jul 14, 2015 at 11:32 PM, Accomazzi, Alberto 
  aaccoma...@cfa.harvard.edu wrote:
   Is there a (somewhat complete) list of the OpenURL servers out there?
 We
   maintain a short list based on the information we have collected from
   electronic resource librarians who took the time to contact us, but I
  would
   think that OCLC or code4lib could do a much better job at it.
  
   Thanks,
   -- Alberto
  
  
   --
   Dr. Alberto Accomazzi
   Program Manager
   NASA Astrophysics Data System - http://ads.harvard.edu
   Harvard-Smithsonian Center for Astrophysics -
 http://www.cfa.harvard.edu
   60 Garden St, MS 83, Cambridge, MA 02138, USA
  



Re: [CODE4LIB] Public list of Institutions and openURL servers

2015-07-15 Thread Xiaoming Liu
Alberto,

The information is available through OCLC's institution registry API if you
happen to know the library's registry id, such as:

http://www.worldcat.org/webservices/registry/enhancedContent/Institutions/3003

It has XML fragment like:

resolverRegistryEntryresolver
baseURLhttp://jt8rt5xt7v.search.serialssolutions.com//baseURL
OpenURLVersionsOpenURL_0.1//OpenURLVersions
vendorserialsSolutions/vendor


I think the official document about this feature is at:
http://www.oclc.org/developer/develop/web-services/worldcat-registry/sruxsd-interface/organization-resource.en.html

Xiaoming


On Tue, Jul 14, 2015 at 11:32 PM, Accomazzi, Alberto 
aaccoma...@cfa.harvard.edu wrote:

 Is there a (somewhat complete) list of the OpenURL servers out there? We
 maintain a short list based on the information we have collected from
 electronic resource librarians who took the time to contact us, but I would
 think that OCLC or code4lib could do a much better job at it.

 Thanks,
 -- Alberto


 --
 Dr. Alberto Accomazzi
 Program Manager
 NASA Astrophysics Data System - http://ads.harvard.edu
 Harvard-Smithsonian Center for Astrophysics - http://www.cfa.harvard.edu
 60 Garden St, MS 83, Cambridge, MA 02138, USA



Re: [CODE4LIB] exploiting z39.50

2009-05-08 Thread Xiaoming Liu
On Fri, May 8, 2009 at 3:08 PM, Jonathan Rochkind rochk...@jhu.edu wrote:

 I wonder how xID handles superceded OCLCnums, if it'll still succesfully
 find the right matches for you?


This is documented in
http://xisbn.worldcat.org/xisbnadmin/xoclcnum/api.htm#deleted


Worldcat uses OCLC Control Number Cross-Reference to track deleted OCLC
numbers. When an OCLC number is deleted, it's still search-able from this
service. In the response, we use presentOclcnum to specify present OCLC
number. For example 2416076 was merged into 24991049, a request of the
deleted number 2416076 will return:

  rsp xmlns=http://worldcat.org/xid/xoclcnum/; stat=ok
  oclcnum lccn=34025476 presentOclcnum=249910492416076/oclcnum
  /rsp


The presentOclcnum field is omitted when an OCLC number is active, so
request to current OCLC number 24991049 returns:

  rsp xmlns=http://worldcat.org/xid/xoclcnum/; stat=ok
  oclcnum lccn=34025476 24991049/oclcnum
  /rsp


Xiaoming





 Ray Denenberg, Library of Congress wrote:

 From: Eric Lease Morgan emor...@nd.edu


  1. What MARC field/subfield might I put this string?
  2. How would I go about getting the string indexed?
  3. How might I go about querying the server for records with this
 string?



 I can at least talk about the third question.  There was work on a marc
 attribute set, though not completed.  If you look at the oid register at
 http://www.loc.gov/z3950/agency/defns/oids.html you'll see that the
 latest work on it (second draft) was in 2000,
 http://www.nlc-bnc.ca/iso/z3950/MARC_attribute_set_2.doc. So if someone
 actually wanted to put it to use it would have to be completed.

 For SRU there is a complete marc context set,
 http://www.loc.gov/standards/sru/resources/marc-context-set.html.

 --Ray






Re: [CODE4LIB] musing on oca apiRe: [CODE4LIB] oca api?

2008-03-14 Thread Xiaoming Liu
On Fri, Mar 14, 2008 at 10:31 AM, Emily Lynema [EMAIL PROTECTED]
wrote:

snip/

available. I have to admit it seems odd to me to include so much
 attribute information in a single isbn element, but I suppose that
 would be helpful in identifying what specific manifestation is being
 referred to in the URL?



We made that design choice to be largely compatible with OCLC Research's
version of xISBN service, and this kind of flat structure also help us to
easily disseminate other formats, such as csv or json serialization:

http://xisbn.worldcat.org/webservices/xid/isbn/0689868847?library=ocafl=*format=csv
http://xisbn.worldcat.org/webservices/xid/isbn/0689868847?library=ocafl=*format=python



 In this scenario, is there a way to indicate free vs. licensed somewhere
 in the isbn entry? I'm assuming that the Netlibrary audio book is
 *not* free. We have very few mechanisms to do that within MARC records;
 it would be great to think about that here as most libraries will be
 interested in *free* links to digitized content available from anywhere
 (google book search, oca, etc.).



We support a library=freeebook flag to limit search scope to free ebook:

http://xisbn.worldcat.org/webservices/xid/isbn/0689868847?library=freeebookfl=*

Current the free ebook collection is rather small (a few thousands of
titles), hopefully we can grow the collection soon to make it more useful.
You can find more statistical information from
http://xisbn.worldcat.org/xisbnadmin/doc/stat.htm





 Also, have you considered the response for multiple digitized sources
 for the same ISBN?



If an ISBN has multiple digitized sources, they are put in url attribute
separated by space, e.g.

http://xisbn.worldcat.org/webservices/xid/isbn/0596002815?library=ebookfl=title,url


Xiaoming


Re: [CODE4LIB] ThingISBN supports LCCNs, OCLC numbers

2008-02-15 Thread Xiaoming Liu
xISBN service also supports LCCN as well, though with a slightly
different request and response format, like:

http://xisbn.worldcat.org/webservices/xid/isbn/0590353403?fl=lccn

Other improvements of xISBN service is available from:

http://xisbn.worldcat.org/xisbnadmin/doc/api.htm

xiaoming

On 2/15/08, Tim Spalding [EMAIL PROTECTED] wrote:
 Here's a quick note that I've added LCCN and OCLC number support to ThingISBN.

  Post:
  
 http://www.librarything.com/thingology/2008/02/thingisbn-adds-lccns-oclc-numbers.php

  I'm also trying to make a list of projects using ThingISBN. If your
  project is one of them, drop something at:
  http://www.librarything.com/wiki/index.php/Projects_currently_using_ThingISBN

  Tim


  --
  Check out my library at http://www.librarything.com/profile/timspalding