[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Trigger overrides
- Subject: [EP-tech] Trigger overrides
- From: J.Salter at leeds.ac.uk (John Salter)
- Date: Wed, 10 Feb 2016 15:41:21 +0000
I need to add a new date_type (published-online) to the 'datesdatesdates' plugin.
Defining it in the metadata field isn't too tricky, but I'm trying get the new value in the priority list: https://github.com/eprintsug/datesdatesdates/blob/master/lib/cfg.d/zz_datesdatesdates_triggers.pl#L25-L32
I could duplicate the trigger in ~/archives/ARCHIVEID/cfg/cfg.d/zzz_dates_triggers.pl, but as I understand things, this would only be able to add an extra COMMIT trigger, rather than replacing the default one in lib/cfg.d.
This seems a bit inefficient/wrong.
Is there a more elegant way of achieving this that I'm missing?