source: main/trunk/model-sites-dev/atea/collect/hemicorp/etc/collectionConfig.xml@ 33166

Last change on this file since 33166 was 33166, checked in by davidb, 5 years ago

Collection config files and initial programming work for atea collections

  • Property svn:executable set to *
  • Property svn:mime-type set to application/xml
File size: 7.7 KB
Line 
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 <metadataList>
4 <metadata lang="en" name="creator"/>
5 <metadata lang="en" name="maintainer"/>
6 <metadata lang="en" name="public">true</metadata>
7 </metadataList>
8 <displayItemList>
9 <displayItem assigned="true" lang="en" name="description">PDF resources collated at the University of Waikato.</displayItem>
10 <displayItem assigned="true" lang="en" name="name">Hemi Corpus</displayItem>
11 <displayItem assigned="true" lang="en" name="text">text</displayItem>
12 <displayItem assigned="true" lang="en" name="dc.Title,ex.dc.Title,Title">titles</displayItem>
13 <displayItem assigned="true" lang="en" name="document:text">text</displayItem>
14 <displayItem assigned="true" lang="en" name="document:ex.Title">Title</displayItem>
15 <displayItem assigned="true" lang="en" name="document:ex.Source">Source</displayItem>
16 <displayItem assigned="true" lang="en" name="document">document</displayItem>
17 <displayItem assigned="true" lang="en" name="section">section</displayItem>
18 <displayItem assigned="true" lang="en" name="Source">filenames</displayItem>
19 <displayItem assigned="true" lang="en" name="shortDescription">hemicorp</displayItem>
20 </displayItemList>
21 <format>
22 <gsf:template name="choose-title">
23 <gsf:choose-metadata>
24 <gsf:metadata name="dc.Title"/>
25 <gsf:metadata name="exp.Title"/>
26 <gsf:metadata name="ex.dc.Title"/>
27 <gsf:metadata name="Title"/>
28 <gsf:default>Untitled</gsf:default>
29 </gsf:choose-metadata>
30 </gsf:template>
31 </format>
32 <search type="lucene">
33 <level name="document">
34 <displayItem lang="en" name="name">document</displayItem>
35 </level>
36 <level name="section">
37 <displayItem lang="en" name="name">section</displayItem>
38 </level>
39 <defaultLevel name="document"/>
40 <index name="text">
41 <displayItem lang="en" name="name">text</displayItem>
42 </index>
43 <index name="dc.Title,ex.dc.Title,Title">
44 <displayItem lang="en" name="name">titles</displayItem>
45 </index>
46 <defaultIndex name="text"/>
47 <sort name="rank">
48 <displayItem lang="en" name="name">rank</displayItem>
49 </sort>
50 <sort name="none">
51 <displayItem lang="en" name="name">natural (build) order</displayItem>
52 </sort>
53 <searchType name="plain"/>
54 <searchType name="advancedform"/>
55 <format>
56 <gsf:template match="documentNode">
57 <td valign="top">
58 <gsf:link type="document">
59 <gsf:icon type="document"/>
60 </gsf:link>
61 </td>
62 <td>
63 <gsf:link type="document">
64 <xsl:call-template name="choose-title"/>
65 </gsf:link>
66 </td>
67 </gsf:template>
68 </format>
69 </search>
70 <infodb type="jdbm"/>
71 <import>
72 <pluginList>
73 <plugin name="ZIPPlugin"/>
74 <plugin name="GreenstoneXMLPlugin"/>
75 <plugin name="TextPlugin"/>
76 <plugin name="HTMLPlugin"/>
77 <plugin name="EmailPlugin"/>
78 <plugin name="PDFv2Plugin"/>
79 <plugin name="RTFPlugin"/>
80 <plugin name="WordPlugin"/>
81 <plugin name="PostScriptPlugin"/>
82 <plugin name="PowerPointPlugin"/>
83 <plugin name="ExcelPlugin"/>
84 <plugin name="ImagePlugin"/>
85 <plugin name="ISISPlugin"/>
86 <plugin name="NulPlugin"/>
87 <plugin name="OAIPlugin"/>
88 <plugin name="MetadataXMLPlugin"/>
89 <plugin name="ArchivesInfPlugin"/>
90 <plugin name="DirectoryPlugin"/>
91 </pluginList>
92 </import>
93 <browse>
94 <classifier name="AZCompactList">
95 <option name="-metadata" value="dc.Title"/>
96 <option name="-sort" value="dc.Relation"/>
97 <option name="-mingroup" value="2"/>
98 </classifier>
99 <classifier name="AZCompactList">
100 <option name="-metadata" value="dc.Creator,dc.Contributor"/>
101 <option name="-allvalues"/>
102 <option name="-buttonname" value="Authors/Editors"/>
103 </classifier>
104 <format> <gsf:template match="documentNode">
105 <td valign="top">
106 <gsf:link type="document">
107 <gsf:icon type="document"/>
108 </gsf:link>
109 </td>
110 <td valign="top">
111 <gsf:link type="source">
112 <gsf:choose-metadata>
113 <gsf:metadata name="thumbicon"/>
114 <gsf:metadata name="srcicon"/>
115 </gsf:choose-metadata>
116 </gsf:link>
117 </td>
118 <td valign="top">
119 <gsf:link type="document">
120<!--
121Defined in the global format statement
122-->
123 <xsl:call-template name="choose-title"/>
124 <gsf:switch>
125 <gsf:metadata name="dc.Relation"/>
126 <gsf:when test="exists">
127 Volume <gsf:metadata name="dc.Relation"/>
128 </gsf:when>
129 </gsf:switch>
130 </gsf:link>
131 </td>
132 </gsf:template>
133 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
134 <td valign="top">
135 <gsf:link style="static" type="classifier">
136 <gsf:icon type="classifier"/>
137 </gsf:link>
138 </td>
139 <td valign="top">
140 <gsf:link type="classifier">
141 <gsf:metadata name="Title"/>
142 </gsf:link>
143 </td>
144 </gsf:template>
145 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
146 <gsf:link style="static" type="classifier">
147 <gsf:metadata name="Title"/>
148 </gsf:link>
149 </gsf:template>
150
151</format>
152 </browse>
153 <display>
154 <format>
155 <gsf:option name="TOC" value="true"/>
156 <gsf:option name="AllowUserComments" value="false"/>
157<!--
158Overwriting this template allows you to change the heading of the document.
159-->
160<!--
161<gsf:template name="documentHeading">
162<span style="font-weight:bold; font-size: 120%;">
163<xsl:call-template name="choose-title"/>
164</span>
165</gsf:template>
166-->
167<!--
168Overwriting this template can be used to redefine the content of the whole document. This is useful for simple documents, but not recommended for more complex documents (e.g. hierachical and paged documents) as it can prevent any sub-sections from showing.
169-->
170<!--
171<gsf:template name="documentContent">
172<div id="gs-document">
173<xsl:call-template name="documentPre"/>
174<xsl:call-template name="wrappedSectionImage"/>
175<div id="gs-document-text">
176<xsl:call-template name="documentNodeText"/>
177</div>
178</div>
179</gsf:template>
180-->
181<!--
182Overwriting this template can be used to change the content of section headings.
183-->
184<!--
185<gsf:template name="sectionHeading">
186<xsl:call-template name="choose-title"/>
187</gsf:template>
188-->
189<!--
190Overwriting this template can be used to change the content of the top-level section.
191-->
192<!--
193<gsf:template name="topLevelSectionContent">
194<xsl:call-template name="wrappedSectionImage"/>
195<xsl:call-template name="wrappedSectionText"/>
196</gsf:template>
197-->
198<!--
199Overwriting this template can be used to change the content of sections.
200-->
201<!--
202<gsf:template name="sectionContent">
203<xsl:call-template name="wrappedSectionImage"/>
204<xsl:call-template name="wrappedSectionText"/>
205</gsf:template>
206-->
207 </format>
208 </display>
209 <replaceListRef id="gs2-standard"/>
210 <replaceListRef id="gs2-image"/>
211 <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
212 <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
213 <serviceRack name="OAIPMH">
214 <setName>hemicorp</setName>
215 <setDescription/><!-- uncomment the following and set the name attribute if
216 you want this collection to be part of a super set. --><!--<oaiSuperSet name="xxx"/>-->
217 <ListMetadataFormats><!--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:
218 <metadataFormat metadataPrefix="prefix"/> -->
219 <metadataFormat metadataPrefix="oai_dc"><!-- you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format--></metadataFormat>
220 </ListMetadataFormats>
221 </serviceRack>
222 </serviceRackList>
223</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.