root/main/trunk/model-sites-dev/atea/collect/hemicorp/etc/collectionConfig.bak @ 33166

Revision 33166, 7.7 KB (checked in by davidb, 4 months ago)

Collection config files and initial programming work for atea collections

  • Property svn:executable set to *
  • Property svn:mime-type set to application/xml
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="-mingroup" value="2"/>
97        </classifier>
98        <classifier name="AZCompactList">
99            <option name="-metadata" value="dc.Creator,dc.Contributor"/>
100            <option name="-allvalues"/>
101            <option name="-buttonname" value="Authors/Editors"/>
102        </classifier>
103        <format>  <gsf:template match="documentNode">
104    <td valign="top">
105      <gsf:link type="document">
106        <gsf:icon type="document"/>
107      </gsf:link>
108    </td>
109    <td valign="top">
110      <gsf:link type="source">
111        <gsf:choose-metadata>
112          <gsf:metadata name="thumbicon"/>
113          <gsf:metadata name="srcicon"/>
114        </gsf:choose-metadata>
115      </gsf:link>
116    </td>
117    <td valign="top">
118      <gsf:link type="document">
119<!--
120Defined in the global format statement
121-->
122        <xsl:call-template name="choose-title"/>
123        <gsf:switch>
124          <gsf:metadata name="dc.Relation"/>
125          <gsf:when test="exists">
126            Volume <gsf:metadata name="dc.Relation"/>
127          </gsf:when>
128        </gsf:switch>
129      </gsf:link>
130    </td>
131  </gsf:template>
132  <gsf:template match="classifierNode[@classifierStyle = 'VList']">
133    <td valign="top">
134      <gsf:link style="static" type="classifier">
135        <gsf:icon type="classifier"/>
136      </gsf:link>
137    </td>
138    <td valign="top">
139      <gsf:link type="classifier">
140        <gsf:metadata name="Title"/>
141      </gsf:link>
142    </td>
143  </gsf:template>
144  <gsf:template match="classifierNode[@classifierStyle = 'HList']">
145    <gsf:link style="static" type="classifier">
146      <gsf:metadata name="Title"/>
147    </gsf:link>
148  </gsf:template>
149
150</format>
151    </browse>
152    <display>
153        <format>
154            <gsf:option name="TOC" value="true"/>
155            <gsf:option name="AllowUserComments" value="false"/>
156<!--
157Overwriting this template allows you to change the heading of the document.
158-->
159<!--
160<gsf:template name="documentHeading">
161<span style="font-weight:bold; font-size: 120%;">
162<xsl:call-template name="choose-title"/>
163</span>
164</gsf:template>
165-->
166<!--
167Overwriting 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.
168-->
169<!--
170<gsf:template name="documentContent">
171<div id="gs-document">
172<xsl:call-template name="documentPre"/>
173<xsl:call-template name="wrappedSectionImage"/>
174<div id="gs-document-text">
175<xsl:call-template name="documentNodeText"/>
176</div>
177</div>
178</gsf:template>
179-->
180<!--
181Overwriting this template can be used to change the content of section headings.
182-->
183<!--
184<gsf:template name="sectionHeading">
185<xsl:call-template name="choose-title"/>
186</gsf:template>
187-->
188<!--
189Overwriting this template can be used to change the content of the top-level section.
190-->
191<!--
192<gsf:template name="topLevelSectionContent">
193<xsl:call-template name="wrappedSectionImage"/>
194<xsl:call-template name="wrappedSectionText"/>
195</gsf:template>
196-->
197<!--
198Overwriting this template can be used to change the content of sections.
199-->
200<!--
201<gsf:template name="sectionContent">
202<xsl:call-template name="wrappedSectionImage"/>
203<xsl:call-template name="wrappedSectionText"/>
204</gsf:template>
205-->
206        </format>
207    </display>
208    <replaceListRef id="gs2-standard"/>
209    <replaceListRef id="gs2-image"/>
210    <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
211        <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
212        <serviceRack name="OAIPMH">
213            <setName>hemicorp</setName>
214            <setDescription/><!-- uncomment the following and set the name attribute if
215               you want this collection to be part of a super set. --><!--<oaiSuperSet name="xxx"/>-->
216            <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:
217                   <metadataFormat metadataPrefix="prefix"/> -->
218                <metadataFormat metadataPrefix="oai_dc"><!-- you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format--></metadataFormat>
219            </ListMetadataFormats>
220        </serviceRack>
221    </serviceRackList>
222</CollectionConfig>
Note: See TracBrowser for help on using the browser.