Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

OAI-PMH Harvester

No security coverage Under active development 3 sites

This module harvests bibliographic records from an OAI-PMH source, such as Koha, and stores them in a database table for later use within Drupal. It enables you to access and reference this harvested data from Drupal fields through dependent modules.

Harvest biblios from an OAI-PMH source, like Koha, and cache them in a table, so that we can refer to them from fields.

This module does not provide the FieldType, FieldWidget or FieldFormatter plugins for working with the data.
That would be the job of a separate module depending on this one.

Installing

Add the module to your Drupal project and enable it.

composer require drupal/oai_pmh_harvester
drush en oai_pmh_harvester

Using

  1. Navigate to Admin -> Config -> Web services -> OAI-PMH Harvester -> Settings (`admin/config/services/oai_pmh_harvester/settings_form`).
  2. Enter the URL to your OAI-PMH provider. For a Koha site, this is something like `https://example.com/cgi-bin/koha/oai.pl`
  3. Choose a harvest interval. Since OAI-PMH provides the records in the order that they were added, this will determine roughly how many records we try to harvest per cron run.
  4. Save configuration
  5. Make sure cron runs regularly, or run it manually from the Status page (`admin/config/services/oai_pmh_harvester/status_form`).
  6. A table called `oai_pmh_harvester_bib_records` will now exist in your database, and it will get filled with bibliographic records harvested from your OAI-PMH endpoint.
  7. Look at the table column comments for further guidance and do with the data what you wish.
Drupal 11 · not 10

Ask your assistant about OAI-PMH Harvester

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Jan 2023
Latest release
14 hours ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
3.0.0 Stable 11 Nov 18, 2026
3.x-dev Dev 11 Nov 18, 2026
2.0.3 Stable 8–10 Nov 17, 2023
2.0.2 Stable 8–10 Jan 31, 2023