EPrints Technical Mailing List Archive

Message: #05486


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

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@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Adam Field
Sent: 11 March 2016 10:13
To: eprints-tech@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

Adam Field
SHERPA services analyst developer

 

From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of "Roth-Steiner, Roland" <roland.roth-steiner@ulb.tu-darmstadt.de>
Reply-To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Date: Friday, 11 March 2016 09:34
To: Eprints Tech Mailing List <eprints-tech@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

.......................................

 

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