forked from kitodo/kitodo-production
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kitodo#5800 from slub/adjust_metada_replacement
Adjust metadata replacement
- Loading branch information
Showing
5 changed files
with
178 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
Kitodo/src/test/resources/metadata/variableReplacer/monograph/meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<mets:mets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:kitodo="http://meta.kitodo.org/v1/" xmlns:mets="http://www.loc.gov/METS/"> | ||
<mets:metsHdr CREATEDATE="2023-09-18T09:02:55"> | ||
<mets:metsDocumentID>750440</mets:metsDocumentID> | ||
</mets:metsHdr> | ||
<mets:dmdSec ID="DMDLOG_0000"> | ||
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="KITODO"> | ||
<mets:xmlData> | ||
<kitodo:kitodo> | ||
<kitodo:metadata name="TitleDocMain">Andreas Hammerschmids Chor-Music</kitodo:metadata> | ||
<kitodo:metadata name="TitleDocMainShort">Andreas Hammerschmids Chor-Music</kitodo:metadata> | ||
<kitodo:metadata name="singleDigCollection">Drucke des 17. Jahrhunderts</kitodo:metadata> | ||
<kitodo:metadata name="singleDigCollection">LDP: Sammlung Fürsten- und Landesschule Grimma</kitodo:metadata> | ||
<kitodo:metadata name="singleDigCollection">Musik</kitodo:metadata> | ||
<kitodo:metadata name="slub_script">keine_OCR</kitodo:metadata> | ||
<kitodo:metadata name="docType">Monograph</kitodo:metadata> | ||
<kitodo:metadata name="slub_ownerDigi">SLUB Dresden</kitodo:metadata> | ||
<kitodo:metadata name="slub_ownerOrig">SLUB Dresden</kitodo:metadata> | ||
</kitodo:kitodo> | ||
</mets:xmlData> | ||
</mets:mdWrap> | ||
</mets:dmdSec> | ||
<mets:fileSec> | ||
<mets:fileGrp USE="LOCAL"/> | ||
</mets:fileSec> | ||
<mets:structMap TYPE="LOGICAL"> | ||
<mets:div DMDID="DMDLOG_0000" | ||
ID="LOG_0000" | ||
LABEL="Andreas Hammerschmids Chor-Music" | ||
ORDERLABEL="Andreas Hammerschmids Chor-Music" | ||
TYPE="Monograph"/> | ||
</mets:structMap> | ||
<mets:structMap TYPE="PHYSICAL"> | ||
<mets:div ID="PHYS_0000"/> | ||
</mets:structMap> | ||
<mets:structLink> | ||
<mets:smLink xmlns:xlink="http://www.w3.org/1999/xlink" xlink:to="" xlink:from=""/> | ||
</mets:structLink> | ||
</mets:mets> |
36 changes: 36 additions & 0 deletions
36
Kitodo/src/test/resources/metadata/variableReplacer/newspaperIssue/meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<mets:mets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:kitodo="http://meta.kitodo.org/v1/" xmlns:mets="http://www.loc.gov/METS/"> | ||
<mets:metsHdr CREATEDATE="2023-08-29T06:02:00.000+02:00" LASTMODDATE="2023-09-20T19:36:14.446+02:00"> | ||
<mets:metsDocumentID>740460</mets:metsDocumentID> | ||
</mets:metsHdr> | ||
<mets:dmdSec ID="uuid-b6cf1e58-29a9-3a16-9a91-f0998a104007"> | ||
<mets:mdWrap> | ||
<mets:xmlData> | ||
<kitodo:kitodo> | ||
<kitodo:metadata name="PeriodicalIssue">01-Musiktheater</kitodo:metadata> | ||
<kitodo:metadata name="docType">PeriodicalIssue</kitodo:metadata> | ||
<kitodo:metadata name="singleDigCollection">Saxonica</kitodo:metadata> | ||
<kitodo:metadata name="TitleDocMain">01-Musiktheater</kitodo:metadata> | ||
<kitodo:metadata name="singleDigCollection">Performance Ephemera</kitodo:metadata> | ||
<kitodo:metadata name="singleDigCollection">Musik</kitodo:metadata> | ||
<kitodo:metadata name="slub_script">Antiqua</kitodo:metadata> | ||
<kitodo:metadata name="DocLanguage">ger</kitodo:metadata> | ||
<kitodo:metadata name="slub_ownerOrig">SLUB Dresden</kitodo:metadata> | ||
<kitodo:metadata name="slub_ownerDigi">SLUB Dresden</kitodo:metadata> | ||
</kitodo:kitodo> | ||
</mets:xmlData> | ||
</mets:mdWrap> | ||
</mets:dmdSec> | ||
<mets:fileSec/> | ||
<mets:structMap TYPE="PHYSICAL"> | ||
<mets:div ID="PHYS_0000"/> | ||
</mets:structMap> | ||
<mets:structMap TYPE="LOGICAL"> | ||
<mets:div ID="LOG_0009" ORDER="1" ORDERLABEL="1855-04"> | ||
<mets:div ID="LOG_0010" ORDER="1" ORDERLABEL="1855-04-30"> | ||
<mets:div ID="LOG_0011" DMDID="uuid-b6cf1e58-29a9-3a16-9a91-f0998a104007" TYPE="PeriodicalIssue" ORDER="1"/> | ||
</mets:div> | ||
</mets:div> | ||
</mets:structMap> | ||
<mets:structLink/> | ||
</mets:mets> |
31 changes: 31 additions & 0 deletions
31
Kitodo/src/test/resources/metadata/variableReplacer/periodicalVolume/meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<mets:mets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:kitodo="http://meta.kitodo.org/v1/" xmlns:mets="http://www.loc.gov/METS/"> | ||
<mets:metsHdr CREATEDATE="2023-10-05T09:31:19.619+02:00" LASTMODDATE="2023-10-05T09:39:45.551+02:00"> | ||
<mets:metsDocumentID>761701</mets:metsDocumentID> | ||
</mets:metsHdr> | ||
<mets:dmdSec ID="uuid-0c7cc09b-db59-32d1-ae04-98d848ed2e54"> | ||
<mets:mdWrap> | ||
<mets:xmlData> | ||
<kitodo:kitodo> | ||
<kitodo:metadata name="DocLanguage">ger</kitodo:metadata> | ||
<kitodo:metadata name="CurrentNo">1829</kitodo:metadata> | ||
<kitodo:metadata name="docType">Periodical</kitodo:metadata> | ||
<kitodo:metadata name="slub_script">Fraktur</kitodo:metadata> | ||
<kitodo:metadata name="PublicationYearSorting">1828</kitodo:metadata> | ||
<kitodo:metadata name="slub_ownerDigi">SLUB Dresden</kitodo:metadata> | ||
<kitodo:metadata name="CurrentNoSorting">18290000</kitodo:metadata> | ||
<kitodo:metadata name="slub_ownerOrig">SLUB Dresden</kitodo:metadata> | ||
<kitodo:metadata name="TitleDocMain">Königl. Sächs. gnädigst privileg. Pirnaischer Haus- und Landwirthschafts-Calender</kitodo:metadata> | ||
</kitodo:kitodo> | ||
</mets:xmlData> | ||
</mets:mdWrap> | ||
</mets:dmdSec> | ||
<mets:fileSec/> | ||
<mets:structMap TYPE="PHYSICAL"> | ||
<mets:div ID="uuid-439342a2-66b7-4545-a3fa-dcf41653e51d"/> | ||
</mets:structMap> | ||
<mets:structMap TYPE="LOGICAL"> | ||
<mets:div ID="uuid-95c027f4-4e75-4506-bbfd-1e48550cdfde" DMDID="uuid-0c7cc09b-db59-32d1-ae04-98d848ed2e54" TYPE="PeriodicalVolume" ORDERLABEL="Königl. Sächs. gnädigst privileg. Pirnaischer Haus- und Landwirthschafts-Calender" LABEL="Königl. Sächs. gnädigst privileg. Pirnaischer Haus- und Landwirthschafts-Calender"/> | ||
</mets:structMap> | ||
<mets:structLink/> | ||
</mets:mets> |