Skip to content

Conversation

@AryaPRaj
Copy link
Contributor

  • BETTER Handles ISBN from multiple metadata sources with priority.

Description

Improved ISBN extraction logic to handle cases where ISBN is stored in the identifiers array instead of directly in metadata fields.

* BETTER Handles ISBN from multiple metadata sources with priority.

Signed-off-by: Arya <[email protected]>
"""Build working ulrs for demo data."""
cover_metadata = metadata.get("cover_metadata", {})
isbn = cover_metadata.get("ISBN", "")

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this change. We can add this, however be aware that this is a just a demo implementation.
The idea is that each adopter will decide how to implement this, give that it often requires a subscription with a covers provider.

See for example our CERN implementation here.

@kpsherva kpsherva merged commit 32d32d2 into inveniosoftware:master Dec 3, 2025
5 checks passed
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.

3 participants