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

Feature: add osp as import source #9034

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

scottbarnes
Copy link
Collaborator

Partially closes #8589.

Include osp: as a source record and point to ISBNdb, as it is the source of data for OSP-sourced imports.

Pursuant to #8589 we want to import ISBNdb records, based on ISBNs from OSP that are not already in Open Library. We also want to track these records, so we settled on including osp:<isbn_13> in the source_records field. But if it's in the source records field, we should handle it 'properly' as a source record so it doesn't falsely display as a MARC record instead.

Technical

Note, osp: will currently only show in an import record if (1) we 'fix' the import sources history so it doesn't always display the last source record, or (2) osp: isn't the last source record.

Currently OSP records have been imported with the idb: source record as last, so it displays.

Testing

Screenshot

Without this PR applied:
image

With the PR applied:
image

Stakeholders

@mekarpeles

Include `osp:` as a source record and point to ISBNdb, as it is the
source of data for OSP-sourced imports.

Pursuant to internetarchive#8589 we want to import ISBNdb records, based on ISBNs from
OSP that are not already in Open Library. We also want to track these
records, so we settled on including `osp:<isbn_13>` in the
`source_records` field. But if it's in the source records field, we
should handle it 'properly' as a source record so it doesn't falsely
display as a MARC record instead.
@mekarpeles mekarpeles merged commit 73e14d2 into internetarchive:master Apr 9, 2024
3 checks passed
@scottbarnes scottbarnes deleted the task/load-osp-items branch April 9, 2024 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prioritize list of OSP ISBNs to stage vs. IDB
2 participants