Displaying the provided example block.
Example block configuration.
Part of the eLife Journal article metrics, showing data retrieved using this module.

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.

Supporting organizations: 

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution No further development
    No longer developed by its maintainers.
  • Module categories: Import and Export, Integrations
  • Created by rivimey on , updated
  • Arrow iconDrupal 10 is here!

    No plans to port to D8 or D9.

  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases