Skip to content
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

Import DNB ids from MARC records #5599

Merged
merged 8 commits into from
Sep 14, 2021
Merged

Conversation

hornc
Copy link
Collaborator

@hornc hornc commented Aug 31, 2021

Enables internetarchive/openlibrary-bots#29

Adds the ability to import Deutsche Nationalbibliothek (DNB) identifiers into Open Library from library MARC records (such as those made available to the public directly by DNB themselves, under a CC0 license).

Technical

This takes the DNB identifier from MARC field 016$a (National Bibliographic Agency Control Number) if the 016$2 (source) is DE-101

Source data for importing / testing: https://archive.org/details/marc_dnb_202006

Testing

Tested locally using the /api/import/ia endpoint -- newly imported DNB MARC record has the identifier as shown in the screenshot below, importing from this record: https://openlibrary.org/show-records/marc_dnb_202006/dnb_all_dnbmarc_20200615-2.mrc:0:953

Screenshot:

Screenshot from 2021-09-01 14-44-52

Links to http://d-nb.info/810887746

Update to the history sources list to display the import source:
Screenshot from 2021-09-01 15-13-17

Stakeholders

@GLBW
@mekarpeles

@hornc hornc added Theme: MARC records Module: Import Issues related to the configuration or use of importbot and other bulk import systems. [managed] and removed Module: Import Issues related to the configuration or use of importbot and other bulk import systems. [managed] labels Sep 1, 2021
@hornc hornc changed the title WIP: Import DNB ids from MARC records Import DNB ids from MARC records Sep 1, 2021
@tfmorris
Copy link
Contributor

tfmorris commented Sep 1, 2021

The English name of the library is "German National Library" cf https://www.dnb.de/EN/Home/home_node.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: 1 Do this week, receiving emails, time sensitive, . [managed] Theme: MARC records
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants