Reject input if DOI or citation source URL is incorrectly formatted (Leganto instructor UI)
We have seen many instructors create citations manually (rather than using Cite It) with the DOI formatted as a full URL (e.g. "https://doi.org/10.1111/misp.12056" rather than just "10.1111/misp.12056"). This prevents the citation from resolving and linking to the resource as expected.
Similarly, some users will add the citation source URL without the "https://" prefix, or with other formatting issues which prevent it from linking as expected.
A simple fix for this issue would be for Leganto to detect incorrectly formatted DOIs or URLs and to reject input, displaying a tooltip to inform the user of the correct format. Alternatively, DOIs could be automatically reformatted if added incorrectly.
Done for Dec release.
-
Peta Hopkins commented
Also to note:
In July 2023 release notes the full DOI URL including https://dx.doi.org is now supported for the CrossRef integration. -
Peta Hopkins commented
@Deborah - I also found some with http://dx.doi.org.ezproxy.bond.edu.au/ which they have clearly copied from within our subscribed databases, or the browser address bar.
I imagine there could be lots of variation across all the Leganto institutions.
-
Deborah Fitchett commented
Automatically reformatting them seems like the best option. Rejecting it outright is more likely to confuse and/or annoy instructors.
There'd need to be a bit of regex logic as despite the current recommendation to use https://doi.org/, some places still use http: and/or dx.doi.org
-
Peta Hopkins commented
I like the idea of reformatting DOIs automatically - especially now that Leganto can enrich citations automatically. I've just found 35 citations in our upcoming semester that have https://doi.org/ prefixing them and some could certainly use some enrichment.