Metadata manipulator: AddUuidToMods - MarcusBarnes/mik GitHub Wiki
This metadata manipulator adds a UUID v4 to a MODS <extension>
element with a type value of 'uuid'.
This metadata manipulator applies to all toolchains that output MODS documents.
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"/>
This manipulator does not take any parameters.
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.