Skip to content

Cookbook: Have MIK modify or normalize metadata values

Mark Jordan edited this page Jan 28, 2016 · 4 revisions

MIK can modify metadata values as it converts the source metadata (such as a CONTENTdm record) into MODS, using one or more metadata manipulators. A good example is the Normalize Date metadata manipulator, which can convert dates like 10-09-1967 into 1967-09-12, which is the preferred format for use within MODS. The Piratize Abstract metadata manipulator calls a web API that converts text in <abstract> elements into pirate talk, then updates the element with the translated text.

It is possible to write a metadata manipulator to do pretty much anything with source metadata values that can be coded in PHP - if you have a use case we'd be interested in hearing about it.

Cookbook table of contents

Clone this wiki locally