Skip to content

NDNP XML to NewspaperWorks metadata profile mapping

Eben English edited this page Apr 10, 2019 · 4 revisions

The XML files found within NDNP-spec digitzed batches have useful metadata that can be extracted and used to populate the metadata for the objects being created. Below is a breakdown of how the metadata from the XML maps to our objects.

NewspaperTitle

source metadata field property
[title directory name] lccn

NewspaperContainer

source (xpath) metadata field property
//MODS:identifier[@type='reel number'] reel_number
//MODS:physicalLocation/@displayLabel held_by
//MODS:physicalDescription/MODS:form/@type genre
//ndnp:reelTechMD/ndnp:titles title
//ndnp:reelTechMD/ndnp:startDate publication_date_start
//ndnp:reelTechMD/ndnp:endDate publication_date_end

Microfilm digitization target file:

source (xpath) metadata field property
//sourceImageInformation/fileName filename

NewspaperIssue

source (xpath) metadata field property
//MODS:identifier[@type='lccn'] lccn
//MODS:detail[@type='volume']/MODS:number volume
//MODS:detail[@type='issue']/MODS:number issue_number
//MODS:detail[@type='edition']/MODS:number edition
//MODS:originInfo/MODS:dateIssued publication_date
//MODS:physicalLocation/@displayLabel held_by

NewspaperPage

source (xpath) metadata field property
//sourceImageInformation/fileName identifier
//Page/@HEIGHT height
//Page/@WIDTH width