## Action = Action Write Preingest For Test Collection = ## Detailed description of wanted output from the work to be carried out. ## E.g. Implement a utility class for writing data to a disk. The data must be base64 encoded before being written. This action is part of [[Iteration6]]. Create a module that translates the metadata in the Gentofte collection into FoxML documents conforming to the DOMS DataModel. These FoxML documents should be possible to ingest. This will be achieved through the following steps: 1. (3 md x 2 ) Design and implement a module to translate the metadata from the Gentofte collection into simple XML (designed here). 1. (0 md) Get FoxML templates from the DataModel 1. (3 md x 2) Create XSLT documents that define how missing entries in the FoxML templates will be filled in using data from the generated XML. These XSLT documents describe the production of the final output of the pre-ingester. 1. (1 md) Create the scripts to run through the simple XML files and perform the XSLT transformation ((from the XML, the XSLT and the templates) and create the actual objects. == Legacy == There is a Radioavismanuskript preingest module in the old DOMS CVS repository. The basic idea was: 1. Create collection base objects (collection object, new types, new rights) by hand ({{{Radioavismanuskripter/data/base}}}). 1. Create FoxML templates for expected objects of different types (image objects, file objects, ...) by hand ({{{Radioavismanuskripter/data/templates}}}). 1. Create 'extraction code' ({{{Radioavismanuskripter/src/dk/statsbiblioteket/doms/radioavismanuskripter}}}) to extract the metadata from the file structure and put it into small xml ''delta'' files (examples in {{{Radioavismanuskripter/test/data/deltas}}}). 1. Create transformations (XSLT's) from FoxML templates + delta's to FoxML objects by hand ({{{Radioavismanuskripter/data/transformations}}}). 1. Create the scripts to run through the simple XML files and perform the XSLT transformation ({{{Radioavismanuskripter/src/dk/statsbiblioteket/doms/radioavismanuskripter}}}) and create the actual objects. ## Targeted WBS Tasks and Assigned Developers can be found on the iteration page for this action. === Review comments KFC === DONE: The part "Create 'transformation code' to perform the transformations (from the XML, the XSLT and the templates) and create the actual objects." isn't clear. Is it supposed to run through a list of generated "simple XML files" and apply transformations for each, or is it supposed to be called from the module from item 1? DONE: The 'Create FoxML templates' item could be shared with the datamodel action.