-
Notifications
You must be signed in to change notification settings - Fork 64
/
kitodo_mods_opac.xml
109 lines (106 loc) · 6.33 KB
/
kitodo_mods_opac.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0" encoding="UTF-8"?>
<opacCatalogues>
<!-- list containing translations of possible top struct types -->
<doctypes>
<type rulesetType="Inventory" title="inventory">
<label language="de">Bestand</label>
<label language="en">Inventory</label>
<mapping>text</mapping>
</type>
<type rulesetType="MultiVolumeWork" title="multivolume" isMultiVolume="true">
<label language="de">Mehrbändiges Werk</label>
<label language="en">Multivolume Work</label>
<mapping/>
</type>
<type rulesetType="Monograph" title="monograph">
<label language="de">Monographie</label>
<label language="en">Monograph</label>
<mapping/>
</type>
</doctypes>
<catalogue title="Kalliope">
<config address="kalliope-verbund.info" description="Kalliope Verbundkatalog"/>
<mappingFile>kalliope2kitodo.xsl</mappingFile>
<institutionFilterParameter value="ead.repository.isil" />
<identifierParameter value="ead.id" />
<identifierElement xpath="//goobi:metadata[@name='CatalogIDDigital']" />
<parentElement xpath="//mods:mods/mods:relatedItem/mods:identifier[@type='localparentid']" type="reference" />
<recordElement xpath="//srw:searchRetrieveResponse/srw:records/srw:record" />
<maximumChildRecords>50</maximumChildRecords>
<searchFields>
<searchField label="Title" value="ead.title" />
<searchField label="Creator" value="ead.creator" />
<searchField label="Identifier" value="ead.id" />
<searchField label="Creation date" value="ead.creationdate.normal" />
<searchField label="Genre" value="ead.genre" />
<searchField label="Keyword" value="ead.keyword" />
</searchFields>
<filterInstitutions>
<institution label="Deutsche Nationalbibliothek" value="DE-101" />
<institution label="Bauhaus-Archiv <Berlin>" value="DE-B1575" />
<institution label="Hauptstaatsarchiv <Stuttgart>" value="DE-Stg90" />
<institution label="Universitätsbibliothek <Leipzig>" value="DE-15" />
<institution label="Sächsische Landesbibliothek - Staats- und Universitätsbibliothek <Dresden>" value="DE-14" />
<institution label="Staats- und Universitätsbibliothek Hamburg Carl von Ossietzky" value="DE-18" />
<institution label="Staatsbibliothek zu Berlin - Preußischer Kulturbesitz, Haus Unter den Linden" value="DE-1" />
</filterInstitutions>
<additionalDetails>
<detail name="creator" xpath="//goobi:displayName" />
<detail name="title" xpath="//goobi:metadata[@name='TitleDocMain']" />
<detail name="shelfmarksource" xpath="//goobi:metadata[@name='shelfmarksource']" />
<detail name="place" xpath="//goobi:metadata[@name='PlaceOfPublication']" />
<detail name="url" xpath="//goobi:metadata[@name='slub_link']" />
</additionalDetails>
<structuretypes>
<type rulesetType="Inventory">
<mandatoryElement>//mods:mods/mods:typeOfResource[@collection='yes']</mandatoryElement>
<forbiddenElement>//mods:mods/mods:relatedItem/mods:identifier[@type='localparentid']</forbiddenElement>
</type>
<type rulesetType="Subinventory">
<mandatoryElement>//mods:mods/mods:relatedItem/mods:identifier[@type='localparentid']</mandatoryElement>
<forbiddenElement>//mods:mods/mods:typeOfResource[@manuscript='yes']</forbiddenElement>
</type>
<type rulesetType="Manuscript">
<mandatoryElement>//mods:mods/mods:relatedItem/mods:identifier[@type='localparentid']</mandatoryElement>
<mandatoryElement>//mods:mods/mods:typeOfResource[@manuscript='yes']</mandatoryElement>
</type>
</structuretypes>
<fileUpload>false</fileUpload>
</catalogue>
<catalogue title="adis">
<mappingFile>adis2kitodo.xsl</mappingFile>
<!-- aDis SRU interface not yet available! -->
<config scheme="https" port="443" path="/path" address="aDis.info" description="adis Katalog"/>
<identifierParameter value="SATZNR" />
<parentElement xpath="//mods:mods/mods:relatedItem[@type='host']" />
<recordElement xpath="//srw:searchRetrieveResponse/srw:record" />
<identifierElement xpath="//goobi:metadata[@name='CatalogIDDigital']" />
<!-- aDis SRU interface supports only single search field (for ID, here called "Satznummer") -->
<searchFields>
<searchField label="Satznummer" value="SATZNR" />
</searchFields>
<!-- aDis SRU interface does not support institution filters -->
<additionalDetails>
<detail name="creator" xpath="//goobi:displayName" />
<detail name="title" xpath="//goobi:metadata[@name='TitleDocMain']" />
<detail name="shelfmarksource" xpath="//goobi:metadata[@name='shelfmarksource']" />
<detail name="place" xpath="//goobi:metadata[@name='PlaceOfPublication']" />
<detail name="url" xpath="//goobi:metadata[@name='slub_link']" />
</additionalDetails>
<fileUpload>true</fileUpload>
<structuretypes>
<type rulesetType="Monograph">
<mandatoryElement>//mods:mods/mods:originInfo[@eventType='publication']/mods:issuance[text() = 'monographic']</mandatoryElement>
</type>
<type rulesetType="Volume">
<mandatoryElement>//mods:mods/mods:originInfo[@eventType='publication']/mods:issuance[text() = 'multipart monograph']</mandatoryElement>
<mandatoryElement>//mods:mods/mods:relatedItem[@type='host']</mandatoryElement>
</type>
<type rulesetType="MultiVolumeWork">
<forbiddenElement>//mods:mods/mods:originInfo[@eventType='publication']/mods:issuance[text() = 'monographic']</forbiddenElement>
<forbiddenElement>//mods:mods/mods:originInfo[@eventType='publication']/mods:issuance[text() = 'multipart monograph']</forbiddenElement>
<forbiddenElement>//mods:mods/mods:relatedItem[@type='host']</forbiddenElement>
</type>
</structuretypes>
</catalogue>
</opacCatalogues>