[EP-tech] autocomplete based on Sherpa/Romeo

Tomasz Neugebauer Tomasz.Neugebauer at concordia.ca
Wed Dec 2 22:19:04 GMT 2020


CAUTION: This e-mail originated outside the University of Southampton.
Sherpa/Romeo recently changed their API, with the following note on their site, https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fv2.sherpa.ac.uk%2Fapi%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C53846328db49453089e808d8971048ff%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637425443483918143%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=rr5B9XIOgUHTp%2FkM40gGshpV44K0YyBGee3yzyiZ%2BU8%3D&reserved=0 : Note that all of our APIs were upgraded between 2017 and 2020, with previous versions being retired.

We were using the API for autocomplete in our repository, along the lines of this documentation: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FAuthority_Lists%23Creating_Your_Own_Authority_File_.28complex.29&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C53846328db49453089e808d8971048ff%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637425443483918143%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=fNOC5eIRBSlOLnwndTvkj0WmtCYdyZS1EQP2fo7YwiM%3D&reserved=0
I think our implementation was based on this: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Ffiles.eprints.org%2F799%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C53846328db49453089e808d8971048ff%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637425443483918143%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=criiC%2BeRwdqYfSIoA0cMrKtJTjWmkPb6%2FkydD%2Ftxux4%3D&reserved=0 , which makes the statement "It uses current v2.9 RoMEO API", but in fact refers to a different "V2" than the current V2 at Sherpa Romeo.

I am probably not the only one who was using something like this for autocomplete of journal ISSN and publisher policies in their repository.  Even if the old API still responds, it doesn't seem like we should be relying on that, as it seems likely to contain out-of-date info at best.

To address that issue, I re-wrote this script to use the new "V2" api for our repository, and it is working for us.  I decided to make it available on GitHub, to give people a better place to start than from scratch.

Here it is: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fphotomedia%2FSherpaRomeoAutocompleteEPrints&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C53846328db49453089e808d8971048ff%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637425443483918143%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=YhChlgiNzMUGzKk46aVh1jVoZSgCCNxWOcMqU5elv0s%3D&reserved=0

Let me know if you think it useful, and if it is, perhaps I could transfer this repository to "eprintsug", so that it can be generalized and improved by the community.

Cheers,

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>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20201202/747893ff/attachment-0001.html 


More information about the Eprints-tech mailing list