Closed ponchofiesta closed 5 years ago
This adds the IMetsTransformer
interface and the XsltMetsTransformer
implementation to transform one XML file to another using a xslt file.
The new AddFullPdfToMetsAction
transforms the METS file using this transformer. It provides the xslt parameters rootUrl
and workId
. So you can easily configure the full PDF URL in the xslt file.
This action can be activated in local.yml:
actionsBeforeIndexing:
- addFullPdfToMetsAction
The XsltMetsTransformer could be used for the "METS reduction" task too.
In Kitodo.Presentation and DFG-Viewer we need an entry for our all-images-in-one-PDF file. As Kitodo.Production can not do it, the Mediaserver should add an Action to do the job on work import.
This is needed for #198 to make it work.