EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #10149


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

Re: [EP-tech] coin DOI with Datacite


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

Hi,

we successfully use the Datacite plugin. If unsure in debugging what was
sent to the DataCite server, we sometimes export DataCiteXML of an eprint:

$ bin/export heidok eprint DataCiteXML 23456 --single

That command is not expected to send any data over the network, and does
not do so. It just prints XML on standard output. To do the real
coining, we use event trigger EP_TRIGGER_STATUS_CHANGE as advised in
documentation z_datacitedoi.pl.

The coining is then executed by the running indexer process. If it
crashed, collegues would tell me soon.


Regards
Florian

Am 18.06.25 um 12:04 schrieb John Salter:
CAUTION: This e-mail originated outside the University of Southampton.

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

Hi Yuri,
The DataCiteXML export does not have a 'metadataPrefix' specified, so would not normally be listed in the OAI-PMH interface as a supported format.
I guess you have defined a metadataPrefix for it, so it does appear in your OAI-PMH ListMetadataFormats response?

I can see your point - an export format should be a read-only function - I would not expect the behaviour you describe either!

Cheers,
John

-----Original Message-----
From: eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk> On Behalf Of Yuri
Sent: 18 June 2025 10:54
To: EPrints.org Technical List <eprints-tech@ecs.soton.ac.uk>
Subject: [EP-tech] coin DOI with Datacite

CAUTION: External Message. Use caution opening links and attachments.

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

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

https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprintsug%2FDataCiteDoi%2Fblob%2Ffb9379fd834d5aad7507b8dcbe6d23bc49165a6e%2Flib%2Fplugins%2FEPrints%2FPlugin%2FExport%2FDataCiteXML.pm%23L61&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7Cabc8ee990eac4dd4ccd708ddae5358c9%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638858395203884455%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=lV26VX7pp4CWaUEW5eHLNFxYwwSMqH1SA9VP2w3dOcw%3D&reserved=0

Can someone explain me why this code will try to coin a DOI while exporting the XML? If the DOI coi has failed before, it will fail again.
This is a read operation that became a write operation. This can be triggered easily on oai2 cgi script is something going wrong, thus OAI failing too.

I'm thinking of implementing a filter in oai2 to avoid records without a DOI, do you have some experience on this?

Thanks!


*** Options: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FEprints-tech_Mailing_List&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7Cabc8ee990eac4dd4ccd708ddae5358c9%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638858395203904935%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=VcONtsmLW%2FUHmzydsrcK83VRnrOXegwix7rgX284ehE%3D&reserved=0
*** Archive: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7Cabc8ee990eac4dd4ccd708ddae5358c9%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638858395203920653%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=A3xgYg1pE6T1eaJojm4ymgLvY%2F7QALoaYT2FnmUlkmQ%3D&reserved=0
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2F&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7Cabc8ee990eac4dd4ccd708ddae5358c9%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638858395203933986%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=JsEVcKa5juZz6m0m3sWt1GFoJ09keKbYqD60GvfYzbk%3D&reserved=0