Drupal

Porting to Drupal 9 of the HAL Publications module - Open Archives Connector

Published on 06 October 2021
Photo of Dany and his colleague Georges, contributors to the module!
With the redesign of a laboratory website managed by Aix Marseille University, INSERM, and IRD, we have upgraded the Drupal connector to Drupal 9. It has just been published on drupal.org.

The former Drupal 7 module

As a reminder, the multidisciplinary open archive HAL (Hyper Articles en Ligne) allows users to submit and disseminate scientific research articles, published or not, as well as theses originating from French or foreign educational and research institutions, as well as from public or private laboratories. This online platform was developed in 2001 by the Direct Scientific Communication Center (CCSD) of the CNRS. This platform features the largest research database from French-speaking institutions and researchers around the world.

Abandoned, we took over the management of the Drupal module/connector in 2020 and redesigned its architecture to contribute it to the community in September 2019.
See also: Drupal Contribution: bluedrop.fr releases the Drupal HAL module - Connector to Open Archives - Wednesday, January 22, 2020.

The Drupal 8 and 9 module

Requirements

User pages must contain several essential fields:

  • A HAL user ID field;
  • A user last name field;
  • A user first name field;
  • The list of teams to which the user belongs.

We use the Chosen module - https://www.drupal.org/project/chosen - to facilitate searching.

Features

  • Choice between several publication portals/repositories from which to collect publications;
  • Option to add a publications tab to the user's page on the site;
  • Collection of publications by site users;
  • Collection of publications by selected teams;
  • Filtering publications by keyword;
  • Filtering publications by author(s), with auto-completion;
  • Filtering publications by year(s);
  • Display of publications according to the Vancouver standard - https://www.zotero.org/styles?q=id%3Avancouver-brackets-no-et-al ;
  • Export in BibTex format of one or more publications.
  • Export in RTF format of one or more publications.

To add a new HAL block:

  • Each HAL block represents an "instance", so you need to add a new instance for each new HAL block - Structure > Blocks > Instances > Add instance
  • Give a title to the instance in "instance title" and choose HAL Publications from the "Block type" dropdown list - Save.
  • Configure your block by going to - Structure – Blocks.
  • Choose whether to display the filters (or not).
  • Choose between a single or multiple selection list for authors.
  • Choose between a single or multiple selection list for years.
  • Select the teams whose publications should be displayed (select nothing to display publications from all teams).

To display publications by author(s):

Check the "Display publications tab for users" checkbox in the module configuration form. /admin/hal.
Fill in the "Publications tab title in the user page" field as the tab title in the user page.

Resources: 

Drupal Module - https://www.drupal.org/project/hal_publications
Repository: https://git.drupalcode.org/project/hal_publications
Post Drupal 7 module: Drupal Contribution: bluedrop.fr releases the Drupal HAL module - Connector to Open Archives - Wednesday, January 22, 2020
Special thanks to Dany and Joseph for their work :)

Read more articles on Drupal