Skip to content

📋 Prioritize custom resolver jats urls over pmc/doi#67

Merged
fwkoch merged 2 commits intomainfrom
feat/resolver-url-order
Jun 10, 2025
Merged

📋 Prioritize custom resolver jats urls over pmc/doi#67
fwkoch merged 2 commits intomainfrom
feat/resolver-url-order

Conversation

@fwkoch
Copy link
Member

@fwkoch fwkoch commented Jun 10, 2025

This change shuffles around the order of input url -> jats url resolution. If the input url can be resolved both by (1) a custom resolver (e.g. it's a biorxiv url) and (2) pubmed, the jats from the custom resolver is preferred, as we know the "flavor" better, e.g. biorxiv figure filenames may be resolved to a biorxiv URL, whereas pubmed figure filenames will be unknown.

Previously, the pubmed jats was preferred; now the custom resolver jats is preferred.

@fwkoch fwkoch merged commit 1cafc2a into main Jun 10, 2025
5 checks passed
@fwkoch fwkoch deleted the feat/resolver-url-order branch June 10, 2025 01:27
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.

1 participant