Citations requested from a DOI will return a citation with the url parameter containing the dx.doi.org link instead of the final resolved location.
For example, http://localhost:1970/api?format=mediawiki&search=10.1080%2F1369823042000266567
Citations requested from a DOI will return a citation with the url parameter containing the dx.doi.org link instead of the final resolved location.
For example, http://localhost:1970/api?format=mediawiki&search=10.1080%2F1369823042000266567
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Mvolz | T106802 Use resolved url when requesting from doi instead of doi link | |||
Declined | None | T106857 Zotero results sometimes contain unresolved DOI urls |
So, we actually already do this for citoid citations. The issue for this particular case is that we get the results from Zotero, and Zotero is telling us that the full text url is that doi link; if the url is missing from Zotero we fill it in with the resolved location, otherwise we accept whatever have there.
I guess we could check every Zotero citation for unresolved doi links, but is this really a big deal? Isn't the idea of doi links to prevent linkrot anyway?
But if there is an DOI, and the URL is the same as the doi (pointing to the doi.org domain), then why add that? Can't we make a check that if the end-link points to doi..org, and a doi is present, do not include a url? Otherwise, we would just add the same doi and link twice.