-
Notifications
You must be signed in to change notification settings - Fork 742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
National Library of Poland ISBN search #3036
Conversation
I just noticed I've copy&pasted wrong |
Thanks -- looks good in general. |
I happen to have access to full dump of BN. I'll check for patterns in ISBN. |
Filtering by
Stats SQL:
Prefix data of BN: |
Oh yes, I think that's a strong case for prefiltering ISBNs. (which would then also allow us to add many more ISBN translators). @dstillman would it make more sense to do this in the identifier code or the translators individually (which I think we can already do?) |
Much better to do it in the translator detect code — then it'll just work everywhere. |
Done. Added a simple filter which should be fast. |
@adam3smith Hi. I think I resolved everything here, but please let me know if there is more work for me to do? Otherwise, could you re-run tests and merge? |
Hi, I've updated the base for my pull request so merging should be easy. Maybe this linter will work too... Although I don't know where the version number '65161a4967b2...' came from in the script. From what I see it's some change from |
(I believe CI fails if there have been any CI-relevant changes on the edit: I don't know either then ;) |
Sorry for the delay -- I wanted to spend some time testing this to make sure this works as intended, since we haven't used the idea of restricting to ISBN regions before -- it's looking great and I'm very excited that this means we'll be able to add other national (or quasi-national) libraries to ISBN search without real costs. |
* filter by country code (83)
Libris is a service by The National Library of Sweden ("Kungliga biblioteket"). It collects information from several Swedish libraries. For more information see http://libris.kb.se/help/about_libris_eng.jsp?language=en. This translator is based on the translator for National Library of Poland ISBN. Based on the discussion in zotero#3036 it filters only books published in Sweden. It uses the Xsearch API: http://libris.kb.se/help/xsearch_eng.jsp?language=en.
Hi. I've added BN search for Zotero, to be used hopefully on Wikipedia (Citoid) in future.
This is a simple marcXml search and BN API is rather stable. I've created the test in the Scaffold IDE and it seems to parse data without problems.