1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:gslib="http://www.greenstone.org/skinning" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
---|
3 |
|
---|
4 | <metadataList>
|
---|
5 | <metadata lang="en" name="creator">Greenstone Project</metadata>
|
---|
6 | <metadata lang="en" name="maintainer">Greenstone Project</metadata>
|
---|
7 | <metadata lang="en" name="public">true</metadata>
|
---|
8 | </metadataList>
|
---|
9 | <displayItemList>
|
---|
10 | <displayItem name="name" key="name" dictionary="collectionConfig"/>
|
---|
11 | <displayItem name="name" lang="en">Digital NZ Māori</displayItem>
|
---|
12 | <displayItem assigned="true" lang="en" name="description">
|
---|
13 | The <gsf:metaname name="numdocs"/> records
|
---|
14 | from Digital NZ in the Māori language
|
---|
15 | </displayItem>
|
---|
16 | <displayItem assigned="true" lang="en" name="shortDescription">
|
---|
17 | Records from Digital NZ in the Māori language
|
---|
18 | </displayItem>
|
---|
19 | <!--
|
---|
20 | <displayItem name="description" key="description" dictionary="collectionConfig"/>
|
---|
21 | -->
|
---|
22 | <displayItem name="shortDescription" key="shortDescription" dictionary="collectionConfig"/>
|
---|
23 | </displayItemList>
|
---|
24 |
|
---|
25 | <format>
|
---|
26 | <!-- Define any global format statements here -->
|
---|
27 |
|
---|
28 | <!-- Setting the RSS option to true here will display a link to the collection's RSS feed on all
|
---|
29 | pages of the collection. Can include the RSS feed link in section specific format statements
|
---|
30 | too, such as search, if wishing to display the link only in particular sections.-->
|
---|
31 | <gsf:option name="RSS" value="true"/>
|
---|
32 | </format>
|
---|
33 |
|
---|
34 | <search type="solr">
|
---|
35 | <level name="section">
|
---|
36 | <displayItem name="name" key="level.chapter"/>
|
---|
37 | </level>
|
---|
38 | <level name="document">
|
---|
39 | <displayItem name="name" key="level.book"/>
|
---|
40 | </level>
|
---|
41 | <defaultLevel name="section"/>
|
---|
42 | <index name="allfields"/>
|
---|
43 | <index name="text"/>
|
---|
44 | <index name="dnz.title"/>
|
---|
45 | <index name="dnz.category"/>
|
---|
46 | <index name="dnz.creator"/>
|
---|
47 | <sort name="rank"/>
|
---|
48 | <sort name="dnz.creator">
|
---|
49 | <displayItem name="name" key="Creator.buttonname"/>
|
---|
50 | </sort>
|
---|
51 | <sort name="none"/>
|
---|
52 | <facet name="dnz.category">
|
---|
53 | <displayItem name="name" key="Category.buttonname"/>
|
---|
54 | </facet>
|
---|
55 | <searchType name="plain"/>
|
---|
56 | <searchType name="simpleform"/>
|
---|
57 | <searchType name="advancedform"/>
|
---|
58 | <format>
|
---|
59 | <gsf:template match="documentNode">
|
---|
60 | <td valign="top">
|
---|
61 | <gsf:link type="document">
|
---|
62 | <gsf:icon type="document"/>
|
---|
63 | </gsf:link>
|
---|
64 | </td>
|
---|
65 | <td>
|
---|
66 | <gsf:link type="document">
|
---|
67 | <gsf:choose-metadata>
|
---|
68 | <gsf:metadata name="dnz.title"/>
|
---|
69 | <gsf:metadata name="dc.Title"/>
|
---|
70 | <gsf:metadata name="exp.Title"/>
|
---|
71 | <gsf:metadata name="ex.dc.Title"/>
|
---|
72 | <gsf:metadata name="Title"/>
|
---|
73 | <gsf:default>Untitled</gsf:default>
|
---|
74 | </gsf:choose-metadata>
|
---|
75 | </gsf:link>
|
---|
76 | </td>
|
---|
77 |
|
---|
78 | </gsf:template>
|
---|
79 | </format>
|
---|
80 | </search>
|
---|
81 | <infodb type="jdbm"/>
|
---|
82 | <import>
|
---|
83 | <pluginList>
|
---|
84 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
85 | <plugin name="HTMLPlugin">
|
---|
86 | <option name="-description_tags"/>
|
---|
87 | </plugin>
|
---|
88 | <plugin name="MetadataXMLPlugin"/>
|
---|
89 | <plugin name="DNZJSONPlugin"/>
|
---|
90 | <plugin name="ArchivesInfPlugin"/>
|
---|
91 | <plugin name="DirectoryPlugin"/>
|
---|
92 | </pluginList>
|
---|
93 | </import>
|
---|
94 | <!--
|
---|
95 | <importOption name="OIDtype" value="dirname"/>
|
---|
96 | -->
|
---|
97 | <!--
|
---|
98 | <buildOption name="sections_sort_on_document_metadata" value="unless_section_metadata_exists"/>
|
---|
99 | -->
|
---|
100 | <browse>
|
---|
101 | <classifier name="List">
|
---|
102 | <option name="-metadata" value="dnz.title"/>
|
---|
103 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
104 | </classifier>
|
---|
105 | <classifier name="Hierarchy">
|
---|
106 | <option name="-metadata" value="dnz.category"/>
|
---|
107 | <option name="-sort" value="dnz.title"/>
|
---|
108 | <option name="-buttonname" value="Categories"/>
|
---|
109 | </classifier>
|
---|
110 | <classifier name="List">
|
---|
111 | <option name="-metadata" value="dnz.creator"/>
|
---|
112 | <option name="-sort_leaf_nodes_using" value="dnz.title"/>
|
---|
113 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
114 | <option name="-bookshelf_type" value="always"/>
|
---|
115 | <option name="-buttonname" value="Authors"/>
|
---|
116 | </classifier>
|
---|
117 | <format>
|
---|
118 | <gsf:template match="documentNode">
|
---|
119 | <td valign="top">
|
---|
120 | <gsf:link type="document">
|
---|
121 | <gsf:icon type="document"/>
|
---|
122 | </gsf:link>
|
---|
123 | </td>
|
---|
124 | <td valign="top">
|
---|
125 | <gsf:link type="document">
|
---|
126 | <gsf:choose-metadata>
|
---|
127 | <gsf:metadata name="dnz.title"/>
|
---|
128 | <gsf:metadata name="dc.Title"/>
|
---|
129 | <gsf:metadata name="Title"/>
|
---|
130 | <gsf:default>Untitled</gsf:default>
|
---|
131 | </gsf:choose-metadata>
|
---|
132 | </gsf:link>
|
---|
133 | </td>
|
---|
134 | </gsf:template>
|
---|
135 | <gsf:template match="classifierNode[@classifierStyle = 'VList']">
|
---|
136 | <td valign="top">
|
---|
137 | <gsf:link type="classifier">
|
---|
138 | <gsf:icon type="classifier"/>
|
---|
139 | </gsf:link>
|
---|
140 | </td>
|
---|
141 | <td valign="top">
|
---|
142 | <gsf:metadata name="Title"/>
|
---|
143 | </td>
|
---|
144 | </gsf:template>
|
---|
145 | <gsf:template match="classifierNode[@classifierStyle = 'HList']">
|
---|
146 | <gsf:link type="classifier">
|
---|
147 | <gsf:metadata name="Title"/>
|
---|
148 | </gsf:link>
|
---|
149 | </gsf:template>
|
---|
150 | </format>
|
---|
151 | </browse>
|
---|
152 | <display>
|
---|
153 | <format>
|
---|
154 | <gsf:option name="TOC" value="true"/>
|
---|
155 |
|
---|
156 | <gsf:headMetaTags>
|
---|
157 | <gsf:metadata name="dnz.title"/>
|
---|
158 | <gsf:metadata name="dnz.category"/>
|
---|
159 | <gsf:metadata name="dnz.creator"/>
|
---|
160 | </gsf:headMetaTags>
|
---|
161 |
|
---|
162 |
|
---|
163 | <gsf:template name="documentContent">
|
---|
164 | <style>
|
---|
165 | tr:nth-child(odd) {background: #dddddd}
|
---|
166 | tr:nth-child(even) {background: #f5f3e5}
|
---|
167 | i { font-style: italic; }
|
---|
168 | td { padding: 2px; }
|
---|
169 | </style>
|
---|
170 | <gsf:switch>
|
---|
171 | <gsf:metadata name="Plugin"/>
|
---|
172 | <gsf:when test="equals" test-value="DNZJSONPlugin">
|
---|
173 | <table>
|
---|
174 | <tbody>
|
---|
175 |
|
---|
176 | <tr>
|
---|
177 | <td>
|
---|
178 | Identifier:
|
---|
179 | </td>
|
---|
180 | <td>
|
---|
181 | <i>
|
---|
182 | <gsf:variable name="landing_url">
|
---|
183 | <gsf:metadata name="dnz.landing_url"/>
|
---|
184 | </gsf:variable>
|
---|
185 | <a href="{$landing_url}">
|
---|
186 | <gsf:metadata name="dnz.id"/>
|
---|
187 | </a>
|
---|
188 | </i>
|
---|
189 | </td>
|
---|
190 | </tr>
|
---|
191 |
|
---|
192 | <tr>
|
---|
193 | <td>
|
---|
194 | Title:
|
---|
195 | </td>
|
---|
196 | <td>
|
---|
197 | <i>
|
---|
198 | <gsf:metadata name="dnz.title" highlight="true"/>
|
---|
199 | </i>
|
---|
200 | </td>
|
---|
201 | </tr>
|
---|
202 |
|
---|
203 | <tr>
|
---|
204 | <td>
|
---|
205 | Author(s):
|
---|
206 | </td>
|
---|
207 | <td>
|
---|
208 | <gsf:foreach-metadata name="dnz.creator" separator="; ">
|
---|
209 | <i><gsf:meta-value/></i>
|
---|
210 | </gsf:foreach-metadata>
|
---|
211 | </td>
|
---|
212 | </tr>
|
---|
213 |
|
---|
214 | <tr>
|
---|
215 | <td>
|
---|
216 | Description:
|
---|
217 | </td>
|
---|
218 | <td>
|
---|
219 | <i>
|
---|
220 | <gsf:metadata name="dnz.description" highlight="true"/>
|
---|
221 | </i>
|
---|
222 | </td>
|
---|
223 | </tr>
|
---|
224 |
|
---|
225 | </tbody>
|
---|
226 | </table>
|
---|
227 | </gsf:when>
|
---|
228 | <gsf:otherwise>
|
---|
229 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
230 | <xsl:call-template name="wrappedSectionText"/>
|
---|
231 | </gsf:otherwise>
|
---|
232 | </gsf:switch>
|
---|
233 | </gsf:template>
|
---|
234 |
|
---|
235 | </format>
|
---|
236 | </display>
|
---|
237 | <replaceListRef id="gs2-standard"/>
|
---|
238 | <serviceRackList>
|
---|
239 | <serviceRack name="RSSRetrieve"/>
|
---|
240 | <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
241 | <serviceRack name="OAIPMH">
|
---|
242 | <setName>Digital NZ Maori</setName>
|
---|
243 | <setDescription>Record in Digital NZ identified is in the Maori language</setDescription>
|
---|
244 | <!-- uncomment the following and set the name attribute if you want this
|
---|
245 | collection to be part of a super set. -->
|
---|
246 | <!--<oaiSuperSet name="xxx"/>-->
|
---|
247 | <ListMetadataFormats>
|
---|
248 | <!--What metadata sets to support for this collection. You can select any set that is specified in OAIConfig.xml. To use a new set, you need to add a set definition in OAIConfig.xml, then reference it here, like:
|
---|
249 | <metadataFormat metadataPrefix="prefix"/> -->
|
---|
250 | <metadataFormat metadataPrefix="oai_dc">
|
---|
251 | <!-- a custom mapping as this collection doesn't have exclusive dc metadata --><!-- this will replace the dc:publisher element from the main set -->
|
---|
252 | <element name="dc:publisher">
|
---|
253 | <mapping elements="dnz.creator"/>
|
---|
254 | </element>
|
---|
255 | </metadataFormat>
|
---|
256 | </ListMetadataFormats>
|
---|
257 | </serviceRack>
|
---|
258 | </serviceRackList>
|
---|
259 | </CollectionConfig>
|
---|