[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Re: datacite, DOI
On Wed, 2012-06-06 at 12:07 +0200, raffaele messuti wrote:
> i'm thinking of an eprints plugin for automatic mint of DOI
> identifiers using the datacite provider.
> Datacite offer (for his members) an http api for generation of
> DOI identifiers.
> The workflow has two steps:
> (a) generate the DOI for an URL
> (b) send metadata in xml for the previously generated identifier
> the (a) should be easy, with a synchronous call:
> i'm thinking to add a boolean and a text field to eprints.
> the boolean fields is showed somewhere in the workflow, if checked
> eprints_fields_automatic.pl will trigger the call to the api, and save
> the returned
> DOI. at this point the identifier is usable and resolvable
> this code is reusable:
> the (b) step, even if is not mandatory, will require to export the
> metadata in the datacite schema
> and store for the identifier.
> This activity could slow the edit interface if made with a synchronous call,
> how do you suggest to do?
> the Event plugin could be a solution?
> Is yet developed something similar?
>  http://www.datacite.org
>  https://mds.datacite.org/static/apidoc
>  https://mds.datacite.org/static/apidoc#tocAnchor-14
>  https://mds.datacite.org/static/apidoc#tocAnchor-17
>  http://schema.datacite.org/
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
Either way, creating an event should be easy:
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.
All the best,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: This is a digitally signed message part
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20120606/f6695e0d/attachment.bin