[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] orcid support advance
Hi Tomasz,
I believe that the ORCID Support Advance plugin makes the ORCID column
for creators/editors read-only, as this is required by ORCID, so you
don't get inconsistent data with the same creator/editor with different
ORCIDs.? Beyond making the ORCID field read-only the creators/editors
field will behave the same as with just ORCID Support.? This provides
the /cgi/users/lookup/name script [1], which incorporates the ORCID in
the autocomplete with the name and ID (typically email) fields.? This
works by looking up previous entries for creators/editors.? I assume
this is the point you are trying to make, which is that before your
installed ORCID Support no creators/editors would have ORCIDs so it is
likely this lookup script will find the name, maybe ID (email) but
probably not an ORCID, so this is pretty useless, unless you can
backfill the existing creators/editors.
An alternative solution to the /cgi/users/lookup/name script would be to
have a lookup script that gets the name, ID (email) and ORCID from the
EPrints user table.? This will get populated with the ORCID when the
user connects their EPrints account with ORCID, although their name
maybe be formatted differently to how it appears in the creators/editors
field, (typically user field has full given name whereas
creators/editors may use initials). It may be worth submitting a GitHub
issue requesting such a script is written.? The disadvantage of such a
script is that you would need to have a decent of number of users in
your repository to make this useful.? Even if you have all institutional
users added to your repository, you will have to manually add external
creators/editors names in full.? This could lead to inconsistency and
would be annoying for someone having to manually add a regular
collaborator, when before they could make use of auto-complete.
One thing I have written to improve ORCID Support is a cron job that can
run periodically (I run overnight) that looks up any EPrints user that
has a valid ORCID set.? It then looks up all eprint records that have a
creator/editor where the email address (or whatever field) of the user
matches the creators/editors ID.? It will then set the ORCID sub-field
for that creator/editor to that or the user record, if it does not yet
have a value set.? This script is quite useful when you have ORCID
Support Advance, as it will makes sure a user who has connected their
EPrints user account to ORCID that day will get all their eprints
updated with ORCIDs that night.? This is something you would want to do
asynchronously, as you could have hundreds of eprints that need
updating.? I have not yet provided this script, (probably best added to
ORCID Support), as if it does not work properly it could do quite a bit
of damage. However, I have been running it on several repositories for a
while now, so I am fairly confident it is sound.? When I have a chance I
will try submitting this as a pull request to the
eprintsug/orcid_support GitHub repository.
Regards
David Newman
[1]
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprintsug%2Forcid_support%2Fblob%2Fmaster%2Fcgi%2Fusers%2Flookup%2Fname&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce936232f4a9a493b228808da8ac2b7b0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637974866173839598%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2BVLvNkc16dLFN6yiohTqSDuRog2k0u6X01KUiIu4TAE%3D&reserved=0
On 30/08/2022 8:09 pm, Tomasz Neugebauer via Eprints-tech wrote:.
> *CAUTION:* This e-mail originated outside the University of Southampton.
>
> Hi everyone,
>
> I recently upgraded our ORCID integration to the Orcid Support Advance
> plugin.
>
> It?s working, but I have a question about how the ORCID actually makes
> its way to the Creator field?
>
> Let?s say someone gives our repository permissions, will their ORCID
> ?automatically? appear in the Creator field when they add their name
> as an author?? How does the plugin know to do that, a matching email
> address in the ?User? fields?
>
> Tomasz
>
> ________________________________________________
>
> Tomasz Neugebauer
> Digital Projects & Systems Development Librarian / Biblioth?caire des
> Projets Num?riques & D?veloppement de Syst?mes
> Library / Biblioth?que
> Concordia University / Universit? Concordia
>
> Tel. / T?l. 514-848-2424 ext. / poste 7738
> Email / courriel: tomasz.neugebauer at concordia.ca
> <mailto:tomasz.neugebauer at concordia.ca>
>
> _https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.concordia.ca%2Ffaculty%2Ftomasz-neugebauer.html&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce936232f4a9a493b228808da8ac2b7b0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637974866173839598%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=5JDLLiSDpN7p2sLEQa%2B4oAJIr0oOwlgJlCgtxwihJhM%3D&reserved=0
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.concordia.ca%2Ffaculty%2Ftomasz-neugebauer.html&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce936232f4a9a493b228808da8ac2b7b0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637974866173839598%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=5JDLLiSDpN7p2sLEQa%2B4oAJIr0oOwlgJlCgtxwihJhM%3D&reserved=0>___
>
> Mailing address / adresse postale:?1455 De Maisonneuve Blvd.
> W.,?LB-540-03, Montreal, Quebec H3G 1M8
> Street address / adresse municipale: 1400?De Maisonneuve Blvd.
> W.,?LB-540-03, Montreal, Quebec H3G 1M8
>
> _library.concordia.ca_
>
>
> *** Options:http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce936232f4a9a493b228808da8ac2b7b0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637974866173839598%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=jTZ80wyPnZxFtTIxsUjOvvD1YE%2BeoLl1k%2FcMVTtBxfU%3D&reserved=0
> *** EPrints community wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce936232f4a9a493b228808da8ac2b7b0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637974866173839598%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Cpnc%2B%2FdyaooLjERGU1tQIXauWnvHDy02nOUfl89hK64%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20220830/d00f6306/attachment-0001.html