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

Improve external links from MARC imports #6517

Merged
merged 1 commit into from
May 9, 2022

Conversation

hornc
Copy link
Collaborator

@hornc hornc commented May 5, 2022

  • Adds 856$y (Link text) as the preferred link title
  • Adds 856$x (Nonpublic note) as the last resort fallback if nothing better exists

example DNB import which prompted this:

https://openlibrary.org/books/OL37853872M

It has 3 external links, two of them have 856$x which were not picked up from the MARC record.

https://openlibrary.org/show-records/marc_dnb_202006/dnb_all_dnbmarc_20200615-4.mrc:10356060428:1529

Technical

Reference:
https://www.loc.gov/marc/bibliographic/bd856.html
and guide:
https://www.loc.gov/marc/856guide.html

Testing

Screenshot

https://openlibrary.org/books/OL37853872M

Before:
image

After:
image

Stakeholders

@hornc hornc added Theme: MARC records Module: Import Issues related to the configuration or use of importbot and other bulk import systems. [managed] labels May 5, 2022
@hornc hornc changed the title Improve external link MARC imports Improve external links from MARC imports May 5, 2022
@mekarpeles mekarpeles merged commit 8047c47 into internetarchive:master May 9, 2022
@hornc hornc deleted the urldescription branch May 24, 2022 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module: Import Issues related to the configuration or use of importbot and other bulk import systems. [managed] Theme: MARC records
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants