ean

Converting Between ISBN-10 and ISBN-13

David Kane asked the web4libbers:

Can anyone tell me what the conversion between ISBN-10 and ISBN-13 is, please. I need to write a little conversion program. Anything in PHP, for example.

Answers:

“There is already an online converter: http://www.isbn.org/converterpub.asp;” some pointing at Wikipedia on ISBNs, Bookland, and EANs; John Blyberg’s PHP port of the PERL ISBN-10/13 tool; some explanation that you have to watch the check digit, and discussion about why you’d need to do all this conversion.

Finally, Tim asked:

Someone should offer single and batch converstion as a free API, not an online form and an offer to have a “representive” call you for larger jobs.

Does anyone want that, or shall I?

And I answered:

http://api.wpopac.net/v1/isbn1013/0811822842 changed: http://api.scriblio.net/v01a/isbn1013/0811822842

Same usage as xISBN and thingISBN. Returns empty result on invalid ISBNs.

Based on Blyberg’s code, incorporates some changes, may not be accurate. Poke at it, break it. Report findings, but don’t blame me if it returns incorrect results (I will try to fix the code/service, though).

Geeky extra: anybody know the Lat and Lon to Bookland? I’d really like to put this post on the map.
https://maisonbisson.com/tags/ean/
maisonbisson.com
CC-MAIN-2024-10
10210
application/http; msgtype=response
sha1:LK4SW3M5YPSYUH6DHFGMYIDLOG3XV7OL
<urn:uuid:be42e07f-e4aa-46f3-9475-58839fd3c551>
2024-02-27T13:13:13Z
99.84.191.84
text/html
sha1:M42ENW5YMHKOMCLR5D6WESVI23RI6HXE
<urn:uuid:73e24bd8-c162-4f99-b7d6-f911a506443f>
https://maisonbisson.com/tags/ean/
response
<urn:uuid:d6db5248-4922-4db4-a7b3-2a343c9bc2a6>
isPartOf: CC-MAIN-2024-10
publisher: Common Crawl
description: Wide crawl of the web for February/March 2024
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-88
software: Apache Nutch 1.19 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.5-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/