Citation Linker: support DOI link format
The Citation Linker doesn't currently support lookup of citation data using a DOI if a user has entered the DOI as a link, e.g. https://doi.org/10.1111/123456789.
This only works if the user enters the traditional form 10.1111/123456789.
As the current guidelines from Crossref (https://www.crossref.org/education/metadata/persistent-identifiers/doi-display-guidelines/) are to always display DOIs as a link, many publishers now use this format. For maximum compatibility, the Citation Linker should be able to interpret DOIs in this form.

Hello All,
This idea has been closed as part of a cleanup process for ideas older than two years with fewer than 30 votes.
This cleanup process is necessary to streamline our idea management process and ensure that the most relevant and impactful ideas receive the attention they deserve. If you still feel strongly about this idea, you may submit it via the NERS process.
We value your feedback and encourage you to continue submitting and voting for ideas that you believe will enhance Primo.
Best regards,
Primo Product Team
-
Brad Dewar commented
If you add this code (or something like it) to your customization package, it will trim the 'https://doi.org/'; prefix (or any other prefix) off of entries in the DOI field before the citation linker form is submitted. Ex Libris does not support this customization code (nor do I).
(function () {
"use strict";var app = angular.module('viewCustom', []);
app.component('prmCitationLinkerAfter', {
bindings: {
parentCtrl: '='
},
controller: 'PrimoCitationLinkerAfterController'
}).controller('PrimoCitationLinkerAfterController', ['$scope', function($scope){
var vm = this,
trimDOI = function(inputString){
if (!inputString) return "";
var doiString = inputString.trim(),
validStart = doiString.indexOf("10.");
return (validStart <= 0) ? doiString : doiString.substring(validStart);
};vm.$onInit = function(){
//watch for changes to the DOI form field and trim (e.g.) https://doi.org/ off the beginning
$scope.$watch(
function(){
return vm.parentCtrl.formData['rft.doi'];
},
function(newValue, oldValue){
if (newValue !== oldValue){
vm.parentCtrl.formData['rft.doi'] = trimDOI(newValue);
}
}
);
}
}]);})();
-
Lisa Wallis commented
I'm always a little hesitant to show the Citation Linker despite its extreme usefulness. It requires me to say "but don't just copy and paste...instead you have to strip off the first part." Another example of library systems not matching user behavior.