Lagotto Services

Component ID

2392395

Component name

Lagotto Services

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

2261

Component created

Component changed

Component body

Overview

This module provides a PHP wrapper for the web services supplied by the Lagotto server Lagotto, which is used by journal publishing companies to track metrics of journal article use such as page views, Facebook likes, and Mendeley article 'saves'.

The module encapsulates the basic "fetch information" operation, complete with access control, and provides an admin page where the base url and api keys can be managed. The complete results from the remote server are made available to the client. A limited amount of Drush support is also included, to lookup articles by ID.

This module does not provide end-user-visible elements. Include it only if another module requires it. An example Drupal 'Block' is provided for demonstration purposes in the sub-module lagotto_services_example.

Requirements

  • No additional modules required
  • Runs on PHP 5.3 and PHP 5.5
  • Drupal 7.x
  • Accessible Lagotto server and appropriate user api keys

Features

  • Admin interface to define URLs, keys and access.
  • Checking and verification of ID format.
  • Support for PubMed, PubMed Central and DOI identifiers.
  • Support for fetching information for just one or an array of DOIs.
  • Can disable & enable article deletion and addition independently of user role.
  • Built-in sanitisation of the DOI identifier with automatic removal of doi: and http: prefixes.
  • Drush accessible lookup command by ID.
  • Simpletest test suite.

Credits

This work was sponsored by eLife Sciences Publications Ltd.

Maintainence

Marked as minimally maintained because I am no longer directly involved with the Lagotto service. I will fix issues where I have a clear bug report and may do more. Please comment and raise issues in the issue queue.

I'm open to the possibility of adding a co-maintainer.