EPrints Technical Mailing List Archive

Message: #09350


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] {Suspected SPAM} Re: {Suspected SPAM} Re: {Suspected SPAM} RE: DOI import support

  • To: David R Newman via Eprints-tech <eprints-tech@ecs.soton.ac.uk>
  • Subject: Re: [EP-tech] {Suspected SPAM} Re: {Suspected SPAM} Re: {Suspected SPAM} RE: DOI import support
  • From: Yuri <yurj@alfa.it>
  • Date: Tue, 27 Jun 2023 17:23:38 +0200

CAUTION: This e-mail originated outside the University of Southampton.

Hi!

 we use DataCite 3.1 schema, so you can get all the DOIs from here:

https://researchdata.cab.unipd.it/

Il 27/06/23 17:08, David R Newman via Eprints-tech ha scritto:
Hi Yuri,

Yes, a colleague was showing me that a while ago.  I think ultimately we need an overarching DOI import plugin, which can find out the agency using that API and the calls off to the appropriate DOI importer.  I have made a start on writing an open source EPrints import plugin for DataCite DOIs at:

https://github.com/eprintsug/datacite_import

This uses the JSON output provided by the API at https://api.datacite.org/dois/{doi} and is currently just based on version 4.4 of the DataCite metadata schema.  I need to take a look to see how backwards compatible it is with earlier versions of this schema and how well it works with non-dataset DOIs, which I have tried to incorporate mappings but had not real DataCite DOIs of this type with which to test.  If you have any DataCite DOIs you think would be useful to add to my test set for this import plugin, then please let me know.  As finding such suitable DOIs is the main blocker to getting to a point where a proper release of the plugin can be made.

Regards

David Newman

On 27/06/2023 2:54 pm, Yuri via Eprints-tech wrote:
CAUTION: This e-mail originated outside the University of Southampton.

You can find the agency (crossref, DataCite, etc) using this rest api:

https://api.crossref.org/works/{doi}/agency

Using this schema:

https://citation.crosscite.org/docs.html

you can find all the supported content types. In content negotiation, you can send a request for multiple content types, thus doi.org will answer with the first one that support that DOI metadata. For example:

curl -L -H 'Accept: application/unixref+xml, application/vnd.datacite.datacite+xml' 'http://dx.doi.org/10.1006/jmbi.1998.2354'

will answer with unixref (Crossref) and:

curl -L -H 'Accept: application/unixref+xml, application/vnd.datacite.datacite+xml' 'http://dx.doi.org/10.5281/zenodo.7598185'

will answer with DataCite xml.


Thus the DOI import plugin can be one, no need for multiple plugins. We can just add the support to Datacite format to the existing one. We can add BibTeX as last one, because every agency supports at least BibTeX.

Il 19/06/23 11:15, Peter West via Eprints-tech ha scritto:
CAUTION: This e-mail originated outside the University of Southampton.

Hi Yuri,
That should not be a problem but I do need to get permission first
Thanks
Peter

On 19/06/2023 09:41, Yuri via Eprints-tech wrote:
CAUTION: This e-mail originated outside the University of Southampton.

Hi!

   can you share it? I would use it as an alternative import for DOI to
crossref one.

Il 19/06/23 10:31, Peter West via Eprints-tech ha scritto:
CAUTION: This e-mail originated outside the University of Southampton.

Hi Jens
I did create a DOI import via DataCite for BORIS (UniBE) which could probably be quite easily adapted for ZORA. Michael should probably be able to give you a copy.
With two importers it is then possible to try one and then on failure try the other.

Thanks
Peter

-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> On Behalf Of Jens Witzel via Eprints-tech
Sent: 19 June 2023 07:53
To: eprints-tech@ecs.soton.ac.uk; David R Newman <drn@ecs.soton.ac.uk>; Yuri <yurj@alfa.it>
Subject: Re: [EP-tech] DOI import support

CAUTION: This e-mail originated outside the University of Southampton.

Dear all,

I don't know if it has to do with this, but we have also received feedback from some submitters in the last few days that certain DOIs cannot be imported even though they are listed at Crossref.

A few tests later we found out that there are differences between:

- https://doi.crossref.org/openurl/?pid=xxxx&id=doi:yyyy and
- https://api.crossref.org/works/yyyy?mailto=zzzzz

exist. A few days both URLs delivered again and we put this on hold. Should we inform Crossref about this?

Cheers
   Jens
--
Jens Witzel
Zentrale Informatik
Universität Zürich
Stampfenbachstrasse 73
CH-8006 Zürich

mail:  jens.witzel@uzh.ch
phone: +41 44 63 56777
http://www.zi.uzh.ch/

-----Ursprüngliche Nachricht-----
Von: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> Im Auftrag von David R Newman via Eprints-tech
Gesendet: Freitag, 16. Juni 2023 15:19
An: eprints-tech@ecs.soton.ac.uk; Yuri <yurj@alfa.it>
Betreff: Re: [EP-tech] DOI import support

Hi Yuri,

Due to URL mangling is is very difficult to work out what information you have and have not provided.  It sounds like you are asking whether all DOIs work with EPrints DOI import but the only DOI I can determine is the example DOI on the EPrints DOI Import page (doi:10.1006/jmbi.1998.2354).  Please could you provide the DOI you are having problems with in the same format, so it does not get mangled by link protection services.  I can then determine why this DOI and maybe similar ones do not work. If necessary, just send me the DOI directly if you do not want to send this to the whole list.

Thanks and regards

David Newman

On 16/06/2023 12:46, Yuri via Eprints-tech wrote:
CAUTION: This e-mail originated outside the University of Southampton.

Hi!

     does the DOI import in Eprints (via crossref) works with every DOI?
I'm trying the url
http://www.crossref.org/openurl?noredirect=true&pid=email%40blabla.com
&id=doi%3A<here the doi> but it does not resolve (returns "<query
status="unresolved"
fl_count="0">". It works only for the example above the textarea:

http://doi.crossref.org/openurl?noredirect=true&pid=email%40blabla.com
&id=doi%3A10.1006%2Fjmbi.1998.2354

<?xml version="1.0" encoding="UTF-8"?> <crossref_result
xmlns="http://www.crossref.org/qrschema/2.0"
version="2.0" xmlns:xsi=MailScanner has detected a possible fraud attempt from "www.w3.org" claiming to be "http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.crossref.org/qrschema/2.0
https://www.crossref.org/schema/crossref_query_output2.0.xsd"><query_r
esult><head><doi_batch_id>none</doi_batch_id></head><body><query
status="resolved" fl_count="280"><doi
type="journal_article">10.1006/jmbi.1998.2354</doi><issn
type="print">00222836</issn><journal_title>Journal of Molecular
Biology</journal_title><contributors><contributor sequence="first"
contributor_role="author"><given_name>Brian
G</given_name><surname>Turner</surname></contributor><contributor
sequence="additional" contributor_role="author"><given_name>Michael
F</given_name><surname>Summers</surname></contributor></contributors><
volume>285</volume><issue>1</issue><first_page>1</first_page><last_pag
e>32</last_page><year
media_type="print">1999</year><publication_type>full_text</publication
_type><article_title>Structural
biology of HIV 1 1Edited by P. E.
Wright</article_title></query></body></query_result></crossref_result>

Alternatively, is there a better api/service to query?


*** Options:
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/


*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/


*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/