EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #09469
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
RE: [EP-tech] ORCID Plugin Subroutine run_people_with_orcids redefined
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: RE: [EP-tech] ORCID Plugin Subroutine run_people_with_orcids redefined
- From: "Beaudoin, Mario" <Mario.Beaudoin@uqtr.ca>
- Date: Thu, 2 Nov 2023 16:01:28 +0000
CAUTION: This e-mail originated outside the University of Southampton.
Hello, The solution works fine Except we have to replace creators line 169 by
contributors in your code. https://github.com/eprints/orcid_support/commit/5bd00ef5d447144c98e2e762209e0ad5b37d7f1a thank a lot Mario De : eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk>
De la part de John Salter CAUTION:
This e-mail originated outside the University of Southampton. CAUTION:
This e-mail originated outside the University of Southampton. Hi Mario, What’s happening here is (simplified version)
I hope that makes sense as an explanation for ‘why’. The ‘how to fix it’ part: The inclusion of text in one language (the ‘and’ on line 170) in the
run_people_with_orcids method is poor design (this may well have been my fault a few years ago – sorry!). This should be a phrase to allow each archive, and each language in each archive to use a relavent term. The ‘,’ joiner should also be a phrase. I’ve added this as an Issue:
https://github.com/eprints/orcid_support/issues/30
There is a proposed fix in that issue too. To add the proposed fix, you would need to replace the z_orcid_support.pl file in all archives. For the archive that you want different ‘joiners’ (the ‘;’ or ‘,’) you will also need to add the new phrases to a file in ~/archives/[ARCHIVEID]/cfg/lang/[LANG]/phrases/ Let me know if that works for you – feel free to comment on the issue and/or here. I have also submitted an issue for the ‘redefined’ aspect here:
https://github.com/eprints/orcid_support/issues/31, but not made a suggested fix for that yet. Cheers, John John Salter https://orcid.org/0000-0002-8611-8266 White Rose Libraries Technical Officer From:
eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk>
On Behalf Of Beaudoin, Mario CAUTION:
This e-mail originated outside the University of Southampton. CAUTION:
This e-mail originated outside the University of Southampton. Hello, When the ORCID plugin is installed on repository eprints the file “z_orcid_support.pl” is copied inside archiveID/cfg/cfg.d. if we have more than one archive we have more than one file z_orcid_support.pl.
In this case the subroutine run_people_with_orcids appear a lot of time.
When I restart Apache server, I got the error
Subroutine run_people_with_orcids redefined at (eval 2408) line 171. I don’t care of this error soon as I want to modify the subroutine in one specific archive. They want ; until , between creator. Easy to find the line 174 change , to ; reload configuration work finds. But if I restart Apache servers, the modification disappears.
the first Subroutine run_people_with_orcids find by the server is used for all archives Do you have any suggestion for this Thank you, Mario Beaudoin |
- Follow-Ups:
- RE: [EP-tech] ORCID Plugin Subroutine run_people_with_orcids redefined
- From: John Salter <J.Salter@leeds.ac.uk>
- RE: [EP-tech] ORCID Plugin Subroutine run_people_with_orcids redefined
- References:
- [EP-tech] ORCID Plugin Subroutine run_people_with_orcids redefined
- From: "Beaudoin, Mario" <Mario.Beaudoin@uqtr.ca>
- RE: [EP-tech] ORCID Plugin Subroutine run_people_with_orcids redefined
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] ORCID Plugin Subroutine run_people_with_orcids redefined
- Prev by Date: Re: [EP-tech] ORCID Plugin Subroutine run_people_with_orcids redefined
- Next by Date: RE: [EP-tech] ORCID Plugin Subroutine run_people_with_orcids redefined
- Previous by thread: RE: [EP-tech] ORCID Plugin Subroutine run_people_with_orcids redefined
- Next by thread: RE: [EP-tech] ORCID Plugin Subroutine run_people_with_orcids redefined
- Index(es):