-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing issue title and identifier in the METS-files of issues #3634
Comments
I suspect they are not already in there internally? The following is necessary:
|
@matthias-ronge: From my point of view, the metadata should be added "automatically" when the processes are created using the newspaper editor - as it has been conducted in Kitodo.Production 2.x. A manual enter is not possible and a mapping in XSLT is quite complicated, if it is possible at all without metadata. |
Suggestion "quick" solution:
Although this might be possible it is for usability and configuration very uncomfortable. It still needs to be proved, that XSLT is capable of all transformations. |
I think, i am not able to find a solution for the XSL-transformation to generate the recordIdentifier, as for example 880547324-1850100402 for issues or 880547324-1850 for years. Is there really no way to extract it out of the process title, or to extract at least the process title? Theoretically the problem can be solved by the before described measures and thus the label
|
If something needs to be generated, such as record identifier, PURL, or URN, we have a generator interface for this. Someone would have to implement that. |
Comment regarding missing identifierAfter consultation with @henning-gerhardt i found out, that the Identifier of the year- and the issue-processes are created in Kitodo.Production 2.x by copyData.onExport. Thus, i was wrong, as i assumed, it is generated by Kitodo.Production itself. Nevertheless it is still a problem and the following questions has to be answered:
|
Comment regarding missing titleThe content of the field "Issue" in "Enter course of appearance" is copied in Kitodo.Production 2.x to the metadata fields "TitleDocMain" and "PeriodicalIssue". <goobi:goobi xmlns:goobi="http://meta.goobi.org/v1.5.1/">
<goobi:metadata name="TitleDocMain">01-Frühausgabe</goobi:metadata>
<goobi:metadata name="PeriodicalIssue">01-Frühausgabe</goobi:metadata>
</goobi:goobi> It can be added to the metadata manually, but it is an additionally effort. |
The functionality was not explicitly removed, but it died quietly. It cannot be revived in its previous form and must be implemented again. See #3368 for details.
CopyData can be used as a KitodoScript command, in this case several processes can be manipulated at once. What is currently not possible is to copy metadata from one process to another. Such a function could be added with a new implementation.
This is already possible with the existing syntax. Example: |
Which function can be repaired quicker? Regarding the option with the process title:
|
We plan the following solution: In order to write the process title in the METS file, a metadata key must be defined as <key id="CatalogIDDigital" use="processTitle">
<label>PPN (digital)</label>
</key> Then such a metadata entry is created with the process title as the key when the process is created for the topmost logical The values for The values are written as Automatically setting the issue label as metadata entry for each issue could be done alike as above (with a |
As the export does not work currently, i cannot write an comprehensive report, but i have two remarks. Metadata in the wrong structure elementThe new metadata field for the processtitle is not written in the structure element "PeriodicalIssue", but in the structure element "Unknown structure type". In my opinion, that metadata has to be written in "PeriodicalIssue", as it describes and identifies the "PeriodicalIssue". <mets:dmdSec ID="uuid-b00e152f-205e-3ff9-8c36-2adb3dd8fb93">
<mets:mdWrap>
<mets:xmlData>
<kitodo:kitodo>
<kitodo:metadata name="CatalogIDDigitalIssue">AnzefRiS_1667232932-1872012901_01-f</kitodo:metadata>
</kitodo:kitodo>
</mets:xmlData>
</mets:mdWrap>
</mets:dmdSec>
<mets:dmdSec ID="uuid-672510b5-5793-3b83-a617-be8f0bfacdb8">
<mets:mdWrap>
<mets:xmlData>
<kitodo:kitodo>
<kitodo:metadata name="DocLanguage">ger</kitodo:metadata>
<kitodo:metadata name="LegalNoteAndTermsOfUse">PDM1.0</kitodo:metadata>
<kitodo:metadata name="slub_script">Fraktur</kitodo:metadata>
<kitodo:metadata name="singleDigCollection">Saxonica</kitodo:metadata>
</kitodo:kitodo>
</mets:xmlData>
</mets:mdWrap>
</mets:dmdSec> project settings
|
Metadata in the wrong structure element: I assumed that the process title describes the process, so I assigned it to the top structural element of the process. However, it can also only be assigned to lower structural elements if the elements above are typeless containers. I would guess that's more difficult to track in XSLT. Especially since you would then have to differentiate between the cases in which it is a newspaper and in which it is not a newspaper. I have doubts that this is the easiest way. Project settings: I would avoid mixing that up. In this case, I would not save the process title in <key id="ProductionProcessId" use="processTitle">
<label>Process identifier name</label>
</key> |
Metadata in the wrong structure element: I hope that it is not straightforward, but i suggest to write the process title in each issue. Then it is at least clear to which process an issue belongs to. Nevertheless, i hope that nobody is affected by this. Project settings: <key id="CatalogIDDigitalIssue" use="processTitle">
<label>PPN issue (digital copy)</label>
<label lang="de">PPN Ausgabe (Digitalisat)</label>
</key> As i will use it only to generate the <key id="CatalogIDDigital">
<label>PPN (digital copy)</label>
<label lang="de">PPN (Digitalisat)</label>
</key> For monograph, manuscript, volumes, periodicals, ... i want to use the common configuration, because it contains the
Then, i cannot use |
project settings
|
Reported not yet working. Must be inspected. |
Does not work if the metadata entry is defined as |
Thanks! I changed it to I will check, if |
Problem
In the exported METS-files of issues, the title of the issues, as for example "01-Orchesterkonzert" or "02-Abendausgabe" is missing in the following METS and MODS elements:
MODS:
<dmdSec>
mods:titleInfo/mods:title
METS:
<mets:structMap TYPE="LOGICAL">
LABEL
In addition, the identifier (catalogIDDigital) is not created, wich leads to:
<dmdSec>
-section<dv:presentation>
and<dv:reference>
in the<amdSec>
In all cases, the values are missing in the internal METS-file, too.
Solution
The issue title and CatalogIDDigital should be written in the METS-file.
Example
Examples 3.x
DresKr_880547324-1850100402_02-o.xml
Click to show the exported METS-File:
Examples 2.x
Click to show the exported METS-File:
The text was updated successfully, but these errors were encountered: