
Hi Avinesh,
Welcome to EPrints!
This page provides some details for the problem:
https://www.eprints.org/uk/index.php/2017/02/02/import-from-doi-crossref-update/
There are two aspects to the fix.
Firstly, check in the file [EPRINTS_ROOT]/perl_lib/EPrints/Plugin/Import/DOI.pm for the following:
my $url = URI->new( "http://www.crossref.org/openurl" );
this should be updated to:
my $url = URI->new( "http://doi.crossref.org/openurl" );
The second part, is you need to register with CrossRef for an account for your server.
https://apps.crossref.org/requestaccount/
Once you get this account (it's free!), complete the section at the bottom of the file:
[EPRINTS_ROOT]/archives/[ARCHIVE_ID]/cfg/cfg.d/plugins.pl
# You should replace this with your own CrossRef account username and password.
$c->{plugins}->{"Import::DOI"}->{params}->{pid} = "ourl_eprintsorg:eprintsorg";
The format for the 'pid' is 'username:password'.
It is then a good idea to run:
[EPRINTS_ROOT]/bin/epadmin test
which will check there are no problems with the edits you have made to the configuration files.
If the above returns 'OK' then restart the apache webserver, and try importing a DOI again.
Hopefully that helps!
Cheers,
John
John Salter
http://orcid.org/0000-0002-8611-8266
White Rose Libraries Technical Officer
IT - Application Support (Library Systems Team),
Edward Boyle Library, University of Leeds, Leeds. LS2 9JT
0113 3437385
--
You received this message because you are subscribed to the Google Groups "EPrints UK User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
eprints-uk-user-...@googlegroups.com.
To post to this group, send email to
eprints-uk...@googlegroups.com.
To view this discussion on the web, visit
https://groups.google.com/d/msgid/eprints-uk-user-group/d0c4f6d9-7478-4265-ba7c-1bda98dd10fc%40googlegroups.com.