[EP-tech] Action upon Lifting Embargo
James Kerwin via Eprints-tech <[email protected]>
| Newsgroups | gmane.comp.web.eprints.devel |
|---|---|
| Message-ID | <EMEW3|b71d987d61686970d1277a15d6885102v81D8514eprints-tech-bounces|ecs.soton.ac.uk|CAKkNZ9Beut=DVaDUQ3KA+h-fAH5-nE5Xq7n0OrTcHnaOvX_GkQ@mail.gmail.com> |
Hi All,
I have yet another, probably simple, question to ask.
I have a script that does something (sends a tweets if anybody is
interested...) on an EPrint status change using:
$c->{eprint_status_change} = sub {
It quickly escapes if an item has an embargo on it. I then want a slightly
different version of the same script to run when embargoes are lifted.
Is there a way to make this happen? I'm currently looking at
bin/lift_embargos and seeing where I can drop a call to my script in there.
I was wondering if there was a better or more proper way to make this
happen?
I have tried to look at the EPrints documentation, but not managed to find
what I want.
Thanks,
James
*** 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/