Skip to content

Metadata manipulator: AddUuidToMods

Marcus Emmanuel Barnes edited this page Nov 9, 2015 · 3 revisions

Overview

This metadata manipulator adds a UUID v4 to a MODS <extension> element with a type value of 'uuid'.

Toolchains

This metadata manipulator applies to all toolchains that output MODS documents.

Configuration

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

metadatamanipulators[] = "AddUuidToMods"

Also note that the mappings file must contain a row that adds the following element to your MODS: <identifier type="uuid"/>, e.g.,

null5,<identifier type="uuid"/>

Parameters

This manipulator does not take any parameters.

Functionality

The purpose of this metadata manipulator is to add a MODS <extension> element with a type value of 'uuid' and populating the element with the UUID string.

Clone this wiki locally