Hmmm -- okay.  The code in the WordPress plugin is explicitly removing them 
with the comment "13-digit ISBNs often have one, but not used by Open Library" 
(link to the current HEAD of trunk):

  
http://plugins.trac.wordpress.org/browser/openbook-book-data/trunk/libraries/openbook_openlibrary.php?rev=307486#L46

I can't remember if I used dashes when I entered the new editions; I think I 
did because that is what I copied-and-pasted from the O'Reilly catalog page.  
Is the problem is that there is no normalization of ISBNs happening in the Open 
Library index?  When using the API, is it recommended to use dashes in ISBNs or 
not?


Peter

On Feb 1, 2011, at 7:32 PM, Edward Betts wrote:
> 
> This works:
> 
> http://openlibrary.org/api/books?bibkeys=ISBN:978-1-4493-0322-8&jscmd=data&format=json
> 
> We need to improve our handling of ISBNs.
> 
> On 2011-02-01 16:13, Peter Murray wrote:
>> I'm having problems linking to ISBNs that have been added to Open 
>> Library in the past few days. These are cases where I've created a new 
>> work or a new edition of an existing work. In only one case -- the third 
>> one below -- where the ISBN already existed in Open Library -- is the 
>> Open Book plugin for WordPress ISBN working. In the other two cases, I'm 
>> getting "[No Book Data for this Book Number]". If I search for ISBN in 
>> the advanced search interface of the Open Library website, it will find 
>> the work and edition.
>> 
>> /[openbook booknumber="9780596809799" 
>> publisherurl="http://oreilly.com/catalog/9780596809799";] <br clear="all" />/
>> 
>> /[No Book Data for this Book Number]/
>> 
>> [openbook booknumber="9781449303228" 
>> publisherurl="http://oreilly.com/catalog/9781449303228";] <br clear="all" />
>> 
>> /[No Book Data for this Book Number]/
>> /
>> /
>> 
>> [openbook booknumber="9780596557270" 
>> publisherurl="http://oreilly.com/catalog/9780596557270";] <br clear="all" />
>> 
>> Head First Physics 
>> <http://openlibrary.org/books/OL24598378M/Head_First_Physics>
>> Heather Lang <http://openlibrary.org/authors/OL3497359A/Heather_Lang>; 
>> O'Reilly <http://oreilly.com/catalog/9780596557270> 2009
>> WorldCat <http://worldcat.org/isbn/9780596557270>•LibraryThing 
>> <http://librarything.com/isbn/9780596557270>•Google Books 
>> <http://books.google.com/books?as_isbn=9780596557270>•BookFinder 
>> <http://www.bookfinder.com/search/?st=xl&ac=qr&isbn=9780596557270>
>> /
>> /
>> /
>> /
>> 
>> For the one that does work, the API call made by the Open Book plug-in 
>> seems to be:
>> 
>> http://openlibrary.org/api/books?bibkeys=ISBN:9780596557270&jscmd=data&format=json
>>  
>> <http://openlibrary.org/api/books?bibkeys=ISBN:9780596557270&jscmd=data&format=json>
>> 
>> It returns an Open Library JSON object. For the one that doesn't work, 
>> the API call made by the Open Book plug-in seems to be:
>> 
>> http://openlibrary.org/api/books?bibkeys=ISBN:9781449303228&jscmd=data&format=json
>>  
>> <http://openlibrary.org/api/books?bibkeys=ISBN:9781449303228&jscmd=data&format=json>
>> 
>> It returns an empty JSON object.
>> 
>> Am I missing something obvious?
>> 
>> 
>> Peter

-- 
Peter Murray         [email protected]        tel:+1-678-235-2955        
         
Ass't Director, Technology Services Development   http://dltj.org/about/
Lyrasis   --    Great Libraries. Strong Communities. Innovative Answers.
The Disruptive Library Technology Jester                http://dltj.org/ 
Attrib-Noncomm-Share   http://creativecommons.org/licenses/by-nc-sa/2.5/ 


_______________________________________________
Ol-tech mailing list
[email protected]
http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
To unsubscribe from this mailing list, send email to 
[email protected]

Reply via email to