Import Items from DOI

103 views
Skip to first unread message

Avinesh Kumar

unread,
Nov 19, 2018, 5:56:09 PM11/19/18
to EPrints UK User Group
Hi

We at the University of the South Pacific use EPrints software for publications and I am new to the Eprints system. some of our users tried importing publication using DOI but get the attached error message.

Would anyone please be able to assist me in solving this. this seems to be a configuration error and I am not really sure how this is configured.

Your expert advice will be highly appreciated.

Thanks, 
Avinesh 

Screenshot_20.png


Screenshot_20.png

John Salter

unread,
Nov 20, 2018, 4:58:40 AM11/20/18
to Avinesh Kumar, EPrints UK User Group

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


Online: https://whiteroselibraries.wordpress.com/
WRL_email_signature_thelmas_

--
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.

AFA

unread,
Oct 30, 2025, 10:17:23 AM (10 days ago) Oct 30
to EPrints UK User Group
I am facing same issue now , I tried both way DOI via CrossRef and DOI via  CrossRef - UNIXREF
the error is showing this 
EPrints version we are using 3.4.3
Screenshot 2025-10-30 194604.png
Screenshot 2025-10-30 194400.png
Reply all
Reply to author
Forward
0 new messages