[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] DOI Minting
Quick and dirty, but could you batch update the theses (find just these ones with an admin search) to change the status to review and then back to live to trigger the minting and tweeting processes?
From: eprints-tech-bounces at ecs.soton.ac.uk <eprints-tech-bounces at ecs.soton.ac.uk> On Behalf Of Rory McNicholl via Eprints-tech
Sent: 12 November 2019 12:57
To: eprints-tech at ecs.soton.ac.uk; James Kerwin <jkerwin2101 at gmail.com>
Subject: Re: [EP-tech] DOI Minting
yes the trigger is the EP_TRIGGER_STATUS_CHANGE one, so from what you say that won't be happening.
I guess options would be
a) to use a more general trigger like EP_TRIGGER_AFTER_COMMIT and then check the status of the item and whether there is already a DOI in place etc etc etc... though you may end up with a lot more logic to do?
b) you could enable the action_coin plugin in the z_datacitedoi.pl and then go and press the "Coin DOI" button in the UI. I guess that would be a drag if you have more than a handful of Theses to process.
Maybe there's a c) out there without any downsides?
Team Lead - Research Technologies
CoSector, University of London
t: +44 (0)20 7863 1344
e: rory.mcnicholl at london.ac.uk<mailto:rory.mcnicholl at london.ac.uk>
The University of London is an exempt charity in England and Wales.
From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> <eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk>> on behalf of James Kerwin via Eprints-tech <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>>
Sent: 12 November 2019 12:42
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk> <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>>
Subject: [EP-tech] DOI Minting
I'm currently going through the process of uploading a load of digitised theses.
I've managed to write scripts to create the EPrints friendly metadata and altered the bin/import script to slurp up a load of XML files and do the deposits for me.
I'm having trouble getting the DOIs to mint on deposit (datacite) and to get my twitter bot to send tweets upon deposit (my own Frankenstein's monster of a script).
Usually these scripts are triggered when an item moves from the review to the live archive. The digitised theses items are going straight into the live archive which I guess is why they aren't being triggered.
Does anybody have any helpful advice on this?
-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority in relation to its secondary activity of credit broking.
-------------- next part --------------
An HTML attachment was scrubbed...