Skip to content

Fetcher manipulator: OaipmhIslandoraByMimetype

Mark Jordan edited this page Apr 15, 2018 · 2 revisions

Overview

Fetcher manipulator to include only single-file Islandora objects whose specified datastream has the specified MIME types.

Toolchains

Can be used with the OAI PMH for Islandora repositories toolchains.

Configuration

To register this manipulator in your toolchain, add the following line to the "[MANIPULATORS]" section of your .ini file, for example:

fetchermanipulators[] = "OaipmhIslandoraObjByMimetype|DSID|mimetype1,mimetype2"

For example, if you wanted to fetch all the JPEG and PNG objects from the remote OAI repository, you would use the following manipulator entry:

fetchermanipulators[] = "OaipmhIslandoraObjByMimetype|OBJ|image/png,image/jpeg"

The datastream ID must be the first one listed in the ['FILE_GETTER']datastream_ids setting.

Parameters

This manipulator takes two parameters:

  1. a DSID
  2. a list of MIME type values, separated by a comma (,).

Functionality

The OAI PMH for Islandora repositories toolchain will create ingest packages for objects whose OBJ (or other specified) datastream has the specified MIME types.

Clone this wiki locally