[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] email to editor immediately after deposit



You can use this to email ?editorial users of EPrints? too ? instead of getting an email address from $o{eprint}, you could do something like get all users with an ?editor? role.

There?s also ?in_editorial_scope_of?  - you might be able to use that to only email editors that the item is in-scope for (I?ve never done this!).

Cheers,
John

From: John Salter
Sent: 11 March 2016 10:41
To: eprints-tech at ecs.soton.ac.uk
Subject: RE: [EP-tech] email to editor immediately after deposit

If you meant ?editor of the article? rather than ?editoral user of EPrints?, you can use  ?status_change?.
See this:
http://www.eprints.org/tech.php/14586.html for an old way of doing it,
and for the current way, use EP_TRIGGER_STATUS_CHANGE:

$c->add_dataset_trigger( "eprint", EP_TRIGGER_STATUS_CHANGE, sub{
    #passed to trigger are: eprint, old_status, new_status
    my( %o ) = @_;
    if( $o{old_status} eq "inbox" && $o{new_status} eq "buffer" ){
        #email someone related to $o{eprint} (user? creator? contact_email?)
    }
    return EP_TRIGGER_OK;
});

Cheers,
John


From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Adam Field
Sent: 11 March 2016 10:13
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>
Subject: Re: [EP-tech] email to editor immediately after deposit

Check out editorial alerts in the user profile of the editor(s).  Each editor can set their preference to receive daily, weekly or monthly notifications from the repository about new items in the editorial buffer.  It's not exactly what you're asking, but it's a preference that's in the control of each editor.

[Jisc]<http://www.jisc.ac.uk/>

Adam Field
SHERPA services analyst developer


From: <eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk>> on behalf of "Roth-Steiner, Roland" <roland.roth-steiner at ulb.tu-darmstadt.de<mailto:roland.roth-steiner at ulb.tu-darmstadt.de>>
Reply-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>>
Date: Friday, 11 March 2016 09:34
To: Eprints Tech Mailing List <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>>
Subject: [EP-tech] email to editor immediately after deposit

Hi all,

how can I configure an archive to send an Email to the appropriate editor(s) immediately after deposit?

Thanks

.......................................
Roland Roth-Steiner
M.Sc. Wirtsch.-Inf., Dipl.-Bibl.
. Univ.- und Landesbibliothek
... Elektronische Informationsdienste
... Leitung Digitalisierungszentrum
. Magdalenenstr. 8, 64289 Darmstadt
+49 (0)6151 16-76280
.......................................

*** 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/



Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc?s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.

Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20160311/1fb18311/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1264 bytes
Desc: image001.png
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20160311/1fb18311/attachment-0001.png