Re: [EP-tech] DOI Minting
Yuri via Eprints-tech <[email protected]> Tue, 12 Nov 2019 14:51:27 +0100
| Newsgroups | gmane.comp.web.eprints.devel |
|---|---|
| Message-ID | <EMEW3|9e50722b5b7561d4500a678dbe436289vABDpf14eprints-tech-bounces|ecs.soton.ac.uk|[email protected]> |
Maybe write the event directly in the mysql table used for the queue to mint and tweet? Il 12/11/19 13:56, Rory McNicholl via Eprints-tech ha scritto: > Hi James, > > yes the trigger is the=A0EP_TRIGGER_STATUS_CHANGE one, so from what you > say that won't be happening. > > I guess options would be > > a)=A0 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? > > Cheers, > > Rory > > Rory McNicholl > Team Lead - Research Technologies > CoSector,=A0University of London > Senate House > Malet Street > London > WC1E 7HU > > t: +44 (0)20 7863 1344 > e: [email protected] > w: https://eur03.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fco= sector.com%2Fdigital-research%2F&data=3D01%7C01%7Ceprints-tech%40ecs.so= ton.ac.uk%7Cb676e764c24d4ccd716308d767776ddd%7C4a5378f929f44d3ebe89669d03ad= a9d8%7C0&sdata=3D4l3BrUFniZstrmo5GhtGqq6FmvHiEAlWDFat9uy0RPY%3D&res= erved=3D0 > > The University of London is an exempt charity in England and Wales. > ------------------------------------------------------------------------ > *From:* [email protected] > <[email protected]> on behalf of James Kerwin via > Eprints-tech <[email protected]> > *Sent:* 12 November 2019 12:42 > *To:* [email protected] <[email protected]> > *Subject:* [EP-tech] DOI Minting > Hi All, > > 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? > > Thanks, > James > > *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech > *** Archive: https://eur03.safelinks.protection.outlook.com/?url=3Dhttp%3= A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=3D01%7C01%7Ceprints-tech%40ec= s.soton.ac.uk%7Cb676e764c24d4ccd716308d767776ddd%7C4a5378f929f44d3ebe89669d= 03ada9d8%7C0&sdata=3D6XVKDqBZ%2BFP1XYSlUpoz%2BvxhDX9JqwU3hKn2mRFwBQw%3D= &reserved=3D0 > *** EPrints community wiki: https://eur03.safelinks.protection.outlook.co= m/?url=3Dhttp%3A%2F%2Fwiki.eprints.org%2F&data=3D01%7C01%7Ceprints-tech= %40ecs.soton.ac.uk%7Cb676e764c24d4ccd716308d767776ddd%7C4a5378f929f44d3ebe8= 9669d03ada9d8%7C0&sdata=3DJ3sUddBMvMLJ9Geo%2BjDTbZeUYnjrl5VtB%2FRNKsQYO= T0%3D&reserved=3D0 > *** EPrints developers Forum: https://eur03.safelinks.protection.outlook.= com/?url=3Dhttp%3A%2F%2Fforum.eprints.org%2F&data=3D01%7C01%7Ceprints-t= ech%40ecs.soton.ac.uk%7Cb676e764c24d4ccd716308d767776ddd%7C4a5378f929f44d3e= be89669d03ada9d8%7C0&sdata=3D4NS4UFJPeWQvZUHCpfjzkBBbxSizfGiFpqkitZ2VWA= Y%3D&reserved=3D0 *** 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/ *** EPrints developers Forum: http://forum.eprints.org/