<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi James,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
yes the trigger is the&nbsp;EP_TRIGGER_STATUS_CHANGE one, so from what you say that won't be happening.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I guess options would be</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
a)&nbsp; 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?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="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 &quot;Coin DOI&quot; 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="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="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="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Cheers,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Rory</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div></div>
<div></div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-size:13px">
<div><font face="Arial">Rory McNicholl</font></div>
<div><font face="Arial">Team Lead - Research Technologies</font></div>
<div><font face="Arial">CoSector,&nbsp;University of London</font></div>
<div><font face="Arial">Senate House</font></div>
<div><font face="Arial">Malet Street</font></div>
<div><font face="Arial">London</font></div>
<div><font face="Arial">WC1E 7HU</font></div>
<div><font face="Arial"><br>
</font></div>
<div><font face="Arial">t: &#43;44 (0)20 7863 1344</font></div>
<div><font face="Arial">e: rory.mcnicholl@london.ac.uk</font></div>
<div><font face="Arial">w: https://cosector.com/digital-research/</font></div>
<div><font face="Arial"><br>
</font></div>
<div><font face="Arial">The University of London is an exempt charity in England and Wales.</font></div>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> eprints-tech-bounces@ecs.soton.ac.uk &lt;eprints-tech-bounces@ecs.soton.ac.uk&gt; on behalf of James Kerwin via Eprints-tech &lt;eprints-tech@ecs.soton.ac.uk&gt;<br>
<b>Sent:</b> 12 November 2019 12:42<br>
<b>To:</b> eprints-tech@ecs.soton.ac.uk &lt;eprints-tech@ecs.soton.ac.uk&gt;<br>
<b>Subject:</b> [EP-tech] DOI Minting</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr">Hi All,
<div><br>
</div>
<div>I'm currently going through the process of uploading a load of digitised 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 the 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 monster 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 the 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>