source: main/trunk/greenstone2/collect/modelcol/etc/collectionConfig.xml@ 30084

Last change on this file since 30084 was 30084, checked in by kjdon, 6 years ago

modified the default OAIPMH service rack contents

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