1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
---|
3 | <security scope="document" default_access="private" disabled="true">
|
---|
4 | <!-- a sample security configuration. enable it by removing the 'disabled'
|
---|
5 | attribute above -->
|
---|
6 | <!-- Document level security. All documents are private -->
|
---|
7 | <exception>
|
---|
8 | <!-- except if you are in demo group -->
|
---|
9 | <group name="demo"/>
|
---|
10 | </exception>
|
---|
11 | <exception>
|
---|
12 | <!-- except for the publicset list of documents which are fully public -->
|
---|
13 | <documentSet name="publicset"/>
|
---|
14 | <group name=""/>
|
---|
15 | </exception>
|
---|
16 | <documentSet name="publicset">
|
---|
17 | <match>b17mie</match>
|
---|
18 | <match>b18ase</match>
|
---|
19 | <match>b20cre</match>
|
---|
20 | <match>b21wae</match>
|
---|
21 | </documentSet>
|
---|
22 | </security>
|
---|
23 | <metadataList>
|
---|
24 | <metadata lang="en" name="creator"></metadata>
|
---|
25 | <metadata lang="en" name="maintainer"></metadata>
|
---|
26 | <metadata lang="en" name="public">true</metadata>
|
---|
27 | </metadataList>
|
---|
28 | <displayItemList>
|
---|
29 | <displayItem assigned="true" lang="en" name="name">Pacific Islands/European Encounters</displayItem>
|
---|
30 | <displayItem assigned="true" lang="en" name="shortDescription">Capisco concept-enhanced DL</displayItem>
|
---|
31 | <displayItem assigned="true" lang="en" name="description">
|
---|
32 | Welcome to the Semantically Enhanced HathiTrust Pacific Islands/European Collection.
|
---|
33 | Through this digital library you can access
|
---|
34 | the public domain HT workset designated <i>Pacific Islands</i>. In addition
|
---|
35 | to usual browsing and search capabilities afforded
|
---|
36 | by the metadata and OCR'd text supplied by
|
---|
37 | the HathiTrust, this DL collection has been
|
---|
38 | enriched with semantically assigned metadata
|
---|
39 | using the <a>Capisco</a> system. The information
|
---|
40 | generated by Capisco has been assigned as metadata
|
---|
41 | at both the document and page level to content
|
---|
42 | in the collection. From this, a combination
|
---|
43 | of searching and browsing structures have
|
---|
44 | been added to the digital library collection,
|
---|
45 | to provide more fine-grained control
|
---|
46 | over how content can be located
|
---|
47 | and accessed. For example, you
|
---|
48 | can browser the collection by concept,
|
---|
49 | and search either exclusively
|
---|
50 | by concept, or else in combination
|
---|
51 | with other metadata fields and
|
---|
52 | full text.
|
---|
53 |
|
---|
54 |
|
---|
55 | </displayItem>
|
---|
56 | </displayItemList>
|
---|
57 | <format>
|
---|
58 | <!-- Define any global format statements here -->
|
---|
59 |
|
---|
60 | <!-- Setting the RSS option to true here will display a link to the collection's RSS feed on all
|
---|
61 | pages of the collection. Can include the RSS feed link in section specific format statements
|
---|
62 | too, such as search, if wishing to display the link only in particular sections.-->
|
---|
63 | <gsf:option name="RSS" value="true"/>
|
---|
64 | </format>
|
---|
65 | <search type="solr">
|
---|
66 | <level name="section">
|
---|
67 | <displayItem lang="en" name="name">page</displayItem>
|
---|
68 | </level>
|
---|
69 | <level name="document">
|
---|
70 | <displayItem lang="en" name="name">book</displayItem>
|
---|
71 | </level>
|
---|
72 | <defaultLevel name="section"/>
|
---|
73 | <index name="allfields">
|
---|
74 | <displayItem lang="en" name="name">all fields</displayItem>
|
---|
75 | </index>
|
---|
76 | <index name="text">
|
---|
77 | <displayItem lang="en" name="name">text</displayItem>
|
---|
78 | </index>
|
---|
79 | <index name="concept">
|
---|
80 | <displayItem lang="en" name="name">concepts</displayItem>
|
---|
81 | </index>
|
---|
82 | <index name="dc.Title,Title">
|
---|
83 | <displayItem lang="en" name="name">titles</displayItem>
|
---|
84 | </index>
|
---|
85 | <index name="dc.Subject">
|
---|
86 | <displayItem lang="en" name="name">subjects</displayItem>
|
---|
87 | </index>
|
---|
88 | <index name="dls.Organization">
|
---|
89 | <displayItem lang="en" name="name">organisations</displayItem>
|
---|
90 | </index>
|
---|
91 | <sort name="rank">
|
---|
92 | <displayItem lang="en" name="name">rank</displayItem>
|
---|
93 | </sort>
|
---|
94 | <sort name="dls.Organization">
|
---|
95 | <displayItem lang="en" name="name">organisation</displayItem>
|
---|
96 | </sort>
|
---|
97 | <sort name="none">
|
---|
98 | <displayItem lang="en" name="name">natural (build) order</displayItem>
|
---|
99 | </sort>
|
---|
100 | <defaultSort name="rank"/>
|
---|
101 | <searchType name="plain"/>
|
---|
102 | <searchType name="simpleform"/>
|
---|
103 | <searchType name="advancedform"/>
|
---|
104 | <format>
|
---|
105 | <gsf:template match="documentNode">
|
---|
106 | <td valign="top">
|
---|
107 | <gsf:link type="document">
|
---|
108 | <gsf:icon type="document"/>
|
---|
109 | </gsf:link>
|
---|
110 | </td>
|
---|
111 | <td>
|
---|
112 |
|
---|
113 | <gsf:switch>
|
---|
114 | <gsf:metadata name='docName' select='parent'/>
|
---|
115 | <gsf:when test='exists'>
|
---|
116 | <gsf:variable name="docName"><gsf:metadata name='docName' select='root' /></gsf:variable>
|
---|
117 | <gsf:variable name="docNameIE"><gsf:metadata name='docNameIE' select='root' /></gsf:variable>
|
---|
118 | <gsf:variable name="dcTitle"><gsf:metadata name='dc.Title' select='root' /></gsf:variable>
|
---|
119 |
|
---|
120 | <a href="http://babel.hathitrust.org/cgi/ls?field1=ocr;q1={$docName};a=srchls;lmt=all">@HT</a>
|
---|
121 | <a href="http://www.google.com/search?q={$docNameIE}&btn"><gsf:script>document.write(gs.variables.dcTitle.replace(/\\n/g,' '));</gsf:script></a>:
|
---|
122 | </gsf:when>
|
---|
123 | </gsf:switch>
|
---|
124 |
|
---|
125 | <gsf:variable name="sectionTitle">
|
---|
126 | <gsf:choose-metadata>
|
---|
127 | <gsf:metadata name="dc.Title"/>
|
---|
128 | <gsf:metadata name="Title"/>
|
---|
129 | <gsf:default>Untitled</gsf:default>
|
---|
130 | </gsf:choose-metadata>
|
---|
131 | </gsf:variable>
|
---|
132 | <gsf:script>document.write(gs.variables.sectionTitle.replace(/Page/g,'Page '));</gsf:script>
|
---|
133 |
|
---|
134 | </td>
|
---|
135 | </gsf:template>
|
---|
136 | </format>
|
---|
137 | </search>
|
---|
138 | <infodb type="gdbm"/>
|
---|
139 | <import>
|
---|
140 | <pluginList>
|
---|
141 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
142 | <plugin name="HathiTrustMETSPlugin"/>
|
---|
143 | <plugin name="HTMLPlugin">
|
---|
144 | <option name="-description_tags"/>
|
---|
145 | </plugin>
|
---|
146 | <plugin name="MetadataXMLPlugin"/>
|
---|
147 | <plugin name="ArchivesInfPlugin"/>
|
---|
148 | <plugin name="DirectoryPlugin"/>
|
---|
149 | </pluginList>
|
---|
150 | </import>
|
---|
151 | <!--
|
---|
152 | <importOption name="OIDtype" value="dirname"/>
|
---|
153 | -->
|
---|
154 | <buildOption name="sections_sort_on_document_metadata" value="unless_section_metadata_exists"/>
|
---|
155 | <browse>
|
---|
156 | <classifier name="List">
|
---|
157 | <option name="-metadata" value="dc.Title"/>
|
---|
158 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
159 | </classifier>
|
---|
160 | <classifier name="AZCompactSectionList">
|
---|
161 | <option name="-metadata" value="concept"/>
|
---|
162 | <option name="-buttonname" value="Concepts"/>
|
---|
163 | <format> <!-- format statement specific to this classifier -->
|
---|
164 | <gsf:template match="documentNode">
|
---|
165 | <td>
|
---|
166 | <gsf:link type="document">
|
---|
167 |
|
---|
168 | <gsf:switch>
|
---|
169 | <gsf:metadata name='docName' select='parent'/>
|
---|
170 | <gsf:when test='exists'>
|
---|
171 | <gsf:variable name="docName"><gsf:metadata name='docName' select='root' /></gsf:variable>
|
---|
172 | <gsf:variable name="docNameIE"><gsf:metadata name='docNameIE' select='root' /></gsf:variable>
|
---|
173 | <gsf:variable name="dcTitle"><gsf:metadata name='dc.Title' select='root' /></gsf:variable>
|
---|
174 |
|
---|
175 | <xsl:value-of select="$dcTitle" />:
|
---|
176 | </gsf:when>
|
---|
177 | </gsf:switch>
|
---|
178 |
|
---|
179 | <gsf:choose-metadata>
|
---|
180 | <gsf:metadata name="dc.Title"/>
|
---|
181 | <gsf:metadata name="Title"/>
|
---|
182 | <gsf:default>Untitled</gsf:default>
|
---|
183 | </gsf:choose-metadata>
|
---|
184 |
|
---|
185 | </gsf:link>
|
---|
186 | </td>
|
---|
187 | </gsf:template>
|
---|
188 | <gsf:template match="classifierNode">
|
---|
189 | <td>
|
---|
190 | <gsf:link type="classifier">
|
---|
191 | <gsf:metadata name="Title"/>
|
---|
192 | </gsf:link>
|
---|
193 | </td>
|
---|
194 | </gsf:template>
|
---|
195 | </format>
|
---|
196 | </classifier>
|
---|
197 | <format> <!-- general format statements for all classifiers that don't have their own versions -->
|
---|
198 | <gsf:template match="documentNode">
|
---|
199 | <td valign="top">
|
---|
200 | <gsf:link type="document">
|
---|
201 | <gsf:icon type="document"/>
|
---|
202 | </gsf:link>
|
---|
203 | </td>
|
---|
204 | <td valign="top">
|
---|
205 | <gsf:choose-metadata>
|
---|
206 | <gsf:metadata name="dc.Title"/>
|
---|
207 | <gsf:metadata name="Title"/>
|
---|
208 | <gsf:default>Untitled</gsf:default>
|
---|
209 | </gsf:choose-metadata>
|
---|
210 | </td>
|
---|
211 | </gsf:template>
|
---|
212 | <gsf:template match="classifierNode[@classifierStyle = 'VList']">
|
---|
213 | <td valign="top">
|
---|
214 | <gsf:link type="classifier">
|
---|
215 | <gsf:icon type="classifier"/>
|
---|
216 | </gsf:link>
|
---|
217 | </td>
|
---|
218 | <td valign="top">
|
---|
219 | <gsf:metadata name="Title"/>
|
---|
220 | </td>
|
---|
221 | </gsf:template>
|
---|
222 | <gsf:template match="classifierNode[@classifierStyle = 'HList']">
|
---|
223 | <gsf:link type="classifier">
|
---|
224 | <gsf:metadata name="Title"/>
|
---|
225 | </gsf:link>
|
---|
226 | </gsf:template>
|
---|
227 | </format>
|
---|
228 | </browse>
|
---|
229 | <display>
|
---|
230 | <format>
|
---|
231 | <gsf:option name="TOC" value="true"/>
|
---|
232 | <gsf:headMetaTags>
|
---|
233 | <gsf:metadata name="dc.Title"/>
|
---|
234 | <gsf:metadata name="dc.Subject"/>
|
---|
235 | <gsf:metadata name="dls.Organization"/>
|
---|
236 | </gsf:headMetaTags>
|
---|
237 | </format>
|
---|
238 | </display>
|
---|
239 | <replaceListRef id="gs2-standard"/>
|
---|
240 | <serviceRackList>
|
---|
241 | <serviceRack name="RSSRetrieve"/>
|
---|
242 | <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
243 | <serviceRack name="OAIPMH">
|
---|
244 | <setName>Capisco HTRC Pacific Islands</setName>
|
---|
245 | <setDescription>A demo collection for Greenstone, using Capisco.</setDescription>
|
---|
246 | <!-- uncomment the following and set the name attribute if you want this
|
---|
247 | collection to be part of a super set. -->
|
---|
248 | <!--<oaiSuperSet name="xxx"/>-->
|
---|
249 | <ListMetadataFormats>
|
---|
250 | <!--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:
|
---|
251 | <metadataFormat metadataPrefix="prefix"/> -->
|
---|
252 | <metadataFormat metadataPrefix="oai_dc">
|
---|
253 | <!-- a custom mapping as this collection doesn't have exclusive dc metadata --><!-- this will replace the dc:publisher element from the main set -->
|
---|
254 | <element name="dc:publisher">
|
---|
255 | <mapping elements="dls.Organization"/>
|
---|
256 | </element>
|
---|
257 | </metadataFormat>
|
---|
258 | </ListMetadataFormats>
|
---|
259 | </serviceRack>
|
---|
260 | </serviceRackList>
|
---|
261 | </CollectionConfig>
|
---|