Crossref DOI Lookup

Component ID

2904794

Component name

Crossref DOI Lookup

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Aside from Biblio, there has previously been no public implementation of the Crossref API in Drupal 7. I developed this out of a need to import DOI data into a non-biblio content type.

This module provides a simple form at /publications/doi_lookup with a DOI field. Once the format is validated, the module connects to the Crossref API and retrieves results. There are alter hooks to customize the client requirements as well as to allow other processing to be done before (or instead of) the Crossref query. After the query is successfully completed, another hook is available (and required) to determine what to do with the returned DOI data. You can use it to create or update content, compare data, anything.

Requirements:

XAutoload and Composer Manager are being used in this project to load Guzzle. Composer Manager does require some extra steps to configure on the site, if it is not already being used.

Status

At the moment I have left this project in sandbox mode. It is written to use Guzzle v3.x because of my workplace server limitations... We will be updating them soon and once that's done I will modify the module to use a newer version of Guzzle. As this is also my first contributed module, I'm sure there are plenty of improvements to make and I welcome advice/feedback.