[EP-tech] Re: datacite, DOI

raffaele messuti raffaele.messuti at gmail.com
Wed Jun 6 13:48:11 BST 2012


On Wed, Jun 6, 2012 at 2:01 PM, Tim Brody <tdb2 at ecs.soton.ac.uk> wrote:
> I suspect you only want to update the DOI metadata for live eprint items
> and you may want to only create a DOI when the item goes live
> (eprint_status_changed).

not yet sure about the workflow, we are thinking on it.
only admin or editor users should create the identifier, but sometimes
they may need to know the identifier before publishing the eprint, to
update the document colophon or title page.


> EPrints::DataObj::EventQueue->create_unique(
>        $session,
>        {
>                pluginid => "Event::DataCite",
>                action => "update_metadata",
>                params => [$eprint->internal_uri],
>        }
> );
>
> Then update_metadata() will be called on your Event::DataCite plugin by
> the indexer process with the eprint object as its only argument.

fine, thank you.
my main doubt now is how the event decide when call the update api, i
should keep a timestamp when datacite was updated last time?
i think i could have solution to this watching how oaipmh works when
called with from argument.

ciao

--
raffaele



More information about the Eprints-tech mailing list