Re: [EP-tech] DOI Minting
Rory McNicholl via Eprints-tech <[email protected]> Tue, 12 Nov 2019 12:56:57 +0000
| Newsgroups | gmane.comp.web.eprints.devel |
|---|---|
| Message-ID | <EMEW3|e419b3da7dda75d6964deec4757b1b63vABCve14eprints-tech-bounces|ecs.soton.ac.uk|LO2P123MB18050700897201FAEFADA3D6BB770@LO2P123MB1805.GBRP123.PROD.OUTLOOK.COM> |
--===============4469429213613001127== Content-Language: en-GB Content-Type: multipart/alternative; boundary="_000_LO2P123MB18050700897201FAEFADA3D6BB770LO2P123MB1805GBRP_" --_000_LO2P123MB18050700897201FAEFADA3D6BB770LO2P123MB1805GBRP_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi James, yes the trigger is the EP_TRIGGER_STATUS_CHANGE one, so from what you say t= hat won't be happening. I guess options would be a) to use a more general trigger like EP_TRIGGER_AFTER_COMMIT and then che= ck the status of the item and whether there is already a DOI in place etc e= tc 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, University 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%2Fcose= ctor.com%2Fdigital-research%2F&data=3D01%7C01%7Ceprints-tech%40ecs.soto= n.ac.uk%7Cb3265022b14e4c534bfd08d7676fcff0%7C4a5378f929f44d3ebe89669d03ada9= d8%7C0&sdata=3DYE0FdHBaZouCVHFtH%2BIp1d7goEDeS6uxUOW%2F5vjsur8%3D&r= eserved=3D0 The University of London is an exempt charity in England and Wales. ________________________________ From: [email protected] <[email protected].= ac.uk> on behalf of James Kerwin via Eprints-tech <[email protected]= c.uk> 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 th= eses. I've managed to write scripts to create the EPrints friendly metadata and a= ltered the bin/import script to slurp up a load of XML files and do the dep= osits for me. I'm having trouble getting the DOIs to mint on deposit (datacite) and to ge= t 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 t= he live archive. The digitised theses items are going straight into the liv= e archive which I guess is why they aren't being triggered. Does anybody have any helpful advice on this? Thanks, James --_000_LO2P123MB18050700897201FAEFADA3D6BB770LO2P123MB1805GBRP_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"= > <style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo= ttom:0;} </style> </head> <body dir=3D"ltr"> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> Hi James,</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> yes the trigger is the EP_TRIGGER_STATUS_CHANGE one, so from what you = say that won't be happening.</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> I guess options would be</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> a) to use a more general trigger like EP_TRIGGER_AFTER_COMMIT and the= n 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?</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> 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.</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> Maybe there's a c) out there without any downsides?</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> Cheers,</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> Rory</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <br> </div> <div id=3D"Signature"> <div></div> <div></div> <div id=3D"divtagdefaultwrapper" dir=3D"ltr" style=3D"font-size:12pt; color= :#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,san= s-serif"> <div style=3D"font-family:Tahoma; font-size:13px"> <div style=3D"font-size:13px"> <div><font face=3D"Arial">Rory McNicholl</font></div> <div><font face=3D"Arial">Team Lead - Research Technologies</font></div> <div><font face=3D"Arial">CoSector, University of London</font></div> <div><font face=3D"Arial">Senate House</font></div> <div><font face=3D"Arial">Malet Street</font></div> <div><font face=3D"Arial">London</font></div> <div><font face=3D"Arial">WC1E 7HU</font></div> <div><font face=3D"Arial"><br> </font></div> <div><font face=3D"Arial">t: +44 (0)20 7863 1344</font></div> <div><font face=3D"Arial">e: [email protected]</font></div> <div><font face=3D"Arial">w: https://cosector.com/digital-research/</font><= /div> <div><font face=3D"Arial"><br> </font></div> <div><font face=3D"Arial">The University of London is an exempt charity in = England and Wales.</font></div> </div> </div> </div> </div> <div id=3D"appendonsend"></div> <hr style=3D"display:inline-block;width:98%" tabindex=3D"-1"> <div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st= yle=3D"font-size:11pt" color=3D"#000000"><b>From:</b> eprints-tech-bounces@= ecs.soton.ac.uk <[email protected]> on behalf of J= ames Kerwin via Eprints-tech <[email protected]><br> <b>Sent:</b> 12 November 2019 12:42<br> <b>To:</b> [email protected] <[email protected]>= ;<br> <b>Subject:</b> [EP-tech] DOI Minting</font> <div> </div> </div> <div> <div dir=3D"ltr">Hi All, <div><br> </div> <div>I'm currently going through the process of uploading a load of digitis= ed theses.</div> <div><br> </div> <div>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 th= e deposits for me.</div> <div><br> </div> <div>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 mo= nster of a script).</div> <div><br> </div> <div>Usually these scripts are triggered when an item moves from the review= to the live archive. The digitised theses items are going straight into th= e live archive which I guess is why they aren't being triggered.</div> <div><br> </div> <div>Does anybody have any helpful advice on this?</div> <div><br> </div> <div>Thanks,</div> <div>James</div> </div> </div> </body> </html> --_000_LO2P123MB18050700897201FAEFADA3D6BB770LO2P123MB1805GBRP_-- --===============4469429213613001127== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline *** 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/ --===============4469429213613001127==--