bondjimbond / islandora_badges

Adds badges to Islandora objects showing citation counts from Crossref, Web of Science, and Scopus; Altmetric social media interactions; and oaDOI fulltext links.
http://arcabc.ca
2 stars 1 forks source link

Add Web of Science badge #6

Closed bondjimbond closed 8 years ago

bondjimbond commented 8 years ago

Use the AMR (Article Match Retrieval) API to retrieve the following data from Web of Science:

http://ipscience-help.thomsonreuters.com/LAMRService/WebServicesOverviewGroup/dataAcceptedByLAMR/guidelinesSpecifyingCitationsWoSCCC.html

Find more documentation on how to make an AMR request too.

bondjimbond commented 8 years ago

Does this make any sense at all?

http://ipscience-help.thomsonreuters.com/LAMRService/WebServiceOperationsGroup/requestAPIDCI.html

mjordan commented 8 years ago

Not out of context, but looking at http://ipscience-help.thomsonreuters.com/LAMRService/WebServicesOverviewGroup/overview.html I assume that the XML you link to needs to be POSTed to an API endpoint that you need to contact ThomsonReuters to get access to. After the XML request has been sent to the API, it would return a response containing http://ipscience-help.thomsonreuters.com/LAMRService/WebServiceOperationsGroup/responseAPIDCI.html. Their documentation isn't clear but that's what it looks like to me.

bondjimbond commented 8 years ago

You may be right. Finding out whether the URL they give in the XML is the correct API endpoint or not is part of the trouble. The rest of the trouble is figuring out how exactly to post XML to an endpoint in PHP -- which I think I can figure out eventually, but I have to know that my endpoint is correct first.

They said that I should have my credentials by the end of the week, so we'll find out then.

mjordan commented 8 years ago

https://api.drupal.org/api/drupal/includes!common.inc/function/drupal_http_request/7.x with a "method" option of POST will work. We can work on this together if you want.

bondjimbond commented 8 years ago

Great! Thanks. That seems like it should be a lot simpler than the options I've been looking at, but I'd much appreciate the help understanding it.

bondjimbond commented 8 years ago

Did it! Merged webofscience branch and deleted.