Comments (15)
Hi singpolyma - Completely agree!
Are you able to contribute some sort of ISBN converter/normalizer code?
from openlibrary.
A simple 10-to-13 example is at: https://gist.github.com/1002978
There is some more involved code at: https://github.com/singpolyma/isbn_ruby
from openlibrary.
Now our search engine looks for both types of ISBN simultaneously.
from openlibrary.
I think it is important even for the Books and import API to be able to use isbn-10 and isbn-13 interchangeably. We already have an indexed field that stores the normalized ISBNs. It is not too hard to add the isbn conversion. In fact, we convert from isbn-13 to isbn-10 for displaying amazon.com links (http://openlibrary.org/books/O
L24972205M/Terms_of_Engagement).
@george08 shall we go for it?
It might even be useful to display the converted ISBNs in the edition view. @EdwardBetts and @george08 what do you think?
from openlibrary.
Yes!
from openlibrary.
Running a script to index both available and generated isbns.
from openlibrary.
Books API, Read API and Import API now works both ISBN-10 and ISBN-13 even if just one of them is defined.
Need to make the covers API use the same.
from openlibrary.
Out of curiosity, are ISBN-10 and ISBN-13 values officially interchangeable in the covers API nowadays? Some testing suggests yes, but after a cursory look at the code, I wasn't able to pinpoint a commit making it so.
from openlibrary.
Yes.
Here is the commit.
On Wed, Apr 9, 2014 at 10:22 PM, Galen Charlton [email protected]:
Out of curiosity, are ISBN-10 and ISBN-13 values officially
interchangeable in the covers API nowadays? Some testing suggests yes, but
after a cursory look at the code, I wasn't able to pinpoint a commit making
it so.Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-39987991
.
Anand
http://anandology.com/
from openlibrary.
Thanks! Perhaps this issue can be closed.
from openlibrary.
This still doesn't seem right. The example at http://openlibrary.org/books/OL24972205M/Terms_of_Engagement
was built from an initial imported IA MARC record that had three ISBN_13 and one (equivalent) ISBN_10 shown in field 020, yet all that was generated in the record was a single ISBN_13.
This was also somewhat redundant to https://openlibrary.org/books/OL24791680M/Terms_of_engagement
which was generated from the LC MARC import a month earlier.
from openlibrary.
Further, on those two OL records for the same edition, the "Borrow: Physical copy, local" Worldcat URLs are different, one searching for the ISBN_10, the other for the ISBN_13
http://worldcat.org/isbn/1605094471
http://worldcat.org/isbn/9781605094489
They are both resolved to
http://www.worldcat.org/title/terms-of-engagement-new-ways-of-leading-and-changing-organizations/oclc/671632684
so there's no clear value in having two different formats.
from openlibrary.
@bfalling Perhaps it's worth considering the adoption of other, proven, ISBN-handling repos? https://github.com/xlcnd/isbnlib https://github.com/JNRowe/pyisbn are GPL3 or https://github.com/xlcnd/isbntools is LGPL3.
Done right, we should accept all forms for inputs, convert them to only 13 digits, validate the check digit, ensure the target actually exists in a library (that is, it isn't still in-cataloguing with an uncertain pub date), convert the 13 digits to 10 and store both forms for searches (without hyphens).
from openlibrary.
@mek, I assume this is your call: I suggest we close this bug. If there is interest in moving isbn handling onto pyisbn or isbntools, let's open that as a separate feature request (which we can backlog and schedule).
from openlibrary.
@brad2014 Stories are typically about user facing features, not implementation details.
Having said that, this feature request was mostly complete in Nov 2011 and finished up in Mar 2012, so this issue can be safely closed.
The items mentioned by @LeadSongDog in Apr 2016 (not all ISBNs imported from MARC 020 and cosmetic issue of multiple WorldCat URLs) can be made into separate tickets if they still exist and don't already have tickets covering them.
from openlibrary.
Related Issues (20)
- Login post-registration failing HOT 2
- Add drop shadow to cover modal HOT 3
- Book Battles HOT 5
- Librarian Merge Queue HOT 6
- Add debug button/link to error page (only for librarians) HOT 10
- error on user page: `error in processing template: ValueError: Invalid seed` HOT 1
- Add cancel button to top books edit page HOT 16
- Search Page: Add "Search Inside" async preview card HOT 3
- Returns 502 when creating a snapshot HOT 1
- "Only ebooks" filter on author pages hides "Preview Only" books HOT 1
- Remove fixed subject line from contact form
- Unify the design of "no result" pages for different search types HOT 4
- Restrict read of patron preferences to logged in patron HOT 1
- Add MusicBrainz identifiers for Authors, Works, Editions
- Add BookBrainz identifiers for Authors, Works, Editions
- Trusted book provider "audiobook" link in carousel on mobile has text overlap with external icon HOT 2
- Bulk internationalization of HTML title/values where needed HOT 16
- Restrict visibility of history table on profile pages
- Work cover selector lost ability to scroll HOT 1
- Unify `admin_bar.html` and the revert feature of `viewpage.html` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openlibrary.