source: other-projects/nightly-tasks/diffcol/trunk/gs3-model-collect/OAI-Local/etc/collectionConfig.xml@ 28144

Last change on this file since 28144 was 28144, checked in by ak19, 11 years ago

Committing the GS3 model collections for the tutorials originally built on Windows up to the 19th of July 2013, but re-built on Linux today. Enhanced-PDF not committed as its PDF to img conversion has issues.

  • Property svn:executable set to *
File size: 9.6 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 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="name">OAI-Local</displayItem>
10 <displayItem assigned="true" lang="en" name="ex.dc.Description">descriptions</displayItem>
11 <displayItem assigned="true" lang="en" name="document:text">text</displayItem>
12 <displayItem assigned="true" lang="en" name="document:ex.Title">Title</displayItem>
13 <displayItem assigned="true" lang="en" name="document:ex.Source">Source</displayItem>
14 <displayItem assigned="true" lang="en" name="document">document</displayItem>
15 <displayItem assigned="true" lang="en" name="section">section</displayItem>
16 <displayItem assigned="true" lang="en" name="text">text</displayItem>
17 <displayItem assigned="true" lang="en" name="dc.Title,ex.dc.Title,Title">titles</displayItem>
18 <displayItem assigned="true" lang="en" name="Source">filenames</displayItem>
19 <displayItem assigned="true" lang="en" name="shortDescription">oailocal</displayItem>
20 <displayItem assigned="true" lang="en" name=".ex.dc.Description">ex.dc.Description</displayItem>
21 </displayItemList>
22 <format>
23 <gsf:template name="choose-title">
24 <gsf:choose-metadata>
25 <gsf:metadata name="dc.Title"/>
26 <gsf:metadata name="exp.Title"/>
27 <gsf:metadata name="ex.dc.Title"/>
28 <gsf:metadata name="Title"/>
29 <gsf:default>Untitled</gsf:default>
30 </gsf:choose-metadata>
31 </gsf:template>
32 </format>
33 <search type="mgpp">
34 <level name="document">
35 <displayItem lang="en" name="name">document</displayItem>
36 </level>
37 <level name="section">
38 <displayItem lang="en" name="name">section</displayItem>
39 </level>
40 <defaultLevel name="document"/>
41 <index name="ex.dc.Description">
42 <displayItem lang="en" name="name">descriptions</displayItem>
43 </index>
44 <defaultIndex name="ex.dc.Description"/>
45 <indexOption name="casefold"/>
46 <indexOption name="stem"/>
47 <searchType name="plain"/>
48 <searchType name="simpleform"/>
49 <searchType name="advancedform"/>
50 <format>
51 <gsf:template match="documentNode">
52 <td valign="top">
53 <gsf:link type="document">
54 <gsf:icon type="document"/>
55 </gsf:link>
56 </td>
57 <td>
58 <gsf:link type="document">
59 <xsl:call-template name="choose-title"/>
60 </gsf:link>
61 </td>
62 </gsf:template>
63 </format>
64 </search>
65 <infodb type="gdbm"/>
66 <import>
67 <pluginList>
68 <plugin name="ZIPPlugin"/>
69 <plugin name="GreenstoneXMLPlugin"/>
70 <plugin name="TextPlugin"/>
71 <plugin name="HTMLPlugin"/>
72 <plugin name="EmailPlugin"/>
73 <plugin name="PDFPlugin"/>
74 <plugin name="RTFPlugin"/>
75 <plugin name="WordPlugin"/>
76 <plugin name="PostScriptPlugin"/>
77 <plugin name="PowerPointPlugin"/>
78 <plugin name="ExcelPlugin"/>
79 <plugin name="ImagePlugin">
80 <option name="-screenviewsize" value="300"/>
81 </plugin>
82 <plugin name="ISISPlugin"/>
83 <plugin name="NulPlugin"/>
84 <plugin name="OAIPlugin">
85 <option name="-document_field" value="ex.dc.Identifier"/>
86 </plugin>
87 <plugin name="MetadataXMLPlugin"/>
88 <plugin name="ArchivesInfPlugin">
89 <option name="-sort"/>
90 </plugin>
91 <plugin name="DirectoryPlugin"/>
92 </pluginList>
93 </import>
94 <browse>
95 <classifier name="AZCompactList">
96 <option name="-metadata" value="ex.dc.Subject"/>
97 <option name="-buttonname" value="Subjects"/>
98 </classifier>
99 <classifier name="AZCompactList">
100 <option name="-metadata" value="ex.dc.Description"/>
101 <option name="-mingroup" value="2"/>
102 <option name="-mincompact" value="1"/>
103 <option name="-maxcompact" value="10"/>
104 <option name="-buttonname" value="Captions"/>
105 </classifier>
106 <format>
107 <gsf:template match="documentNode">
108 <td valign="top">
109 <gsf:link type="document">
110 <gsf:metadata name="thumbicon"/>
111 </gsf:link>
112 </td>
113 <td valign="middle">
114 <i>
115 <gsf:metadata name="ex.dc.Description"/>
116 </i>
117 </td>
118 </gsf:template>
119 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
120 <td valign="top">
121 <gsf:link type="classifier">
122 <gsf:icon type="classifier"/>
123 </gsf:link>
124 </td>
125 <td valign="top">
126 <xsl:call-template name="choose-title"/>
127 </td>
128 </gsf:template>
129 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
130 <gsf:link type="classifier">
131 <gsf:metadata name="Title"/>
132 </gsf:link>
133 </gsf:template>
134 </format>
135 </browse>
136 <display>
137 <format>
138 <gsf:option name="TOC" value="true"/>
139 <gsf:template name="documentHeading">
140 <h3>
141 <gsf:metadata name="ex.dc.Subject"/>
142 </h3>
143 </gsf:template>
144 <gsf:template name="documentContent">
145 <table>
146 <tr>
147 <td align="center" colspan="2">
148 <a>
149 <xsl:attribute name="href">
150 <gsf:metadata name="ex.dc.OrigURL"/>
151 </xsl:attribute>
152 <gsf:metadata name="screenicon"/>
153 </a>
154 </td>
155 </tr>
156 <tr>
157 <td>Caption:</td>
158 <td>
159 <i>
160 <gsf:metadata name="ex.dc.Description"/>
161 </i>
162 <br/>
163 <a><xsl:attribute name="href"><gsf:metadata name="ex.dc.OrigURL"/></xsl:attribute>original<gsf:metadata name="ImageWidth"/>x<gsf:metadata name="ImageHeight"/><gsf:metadata name="ImageType"/> available</a>
164 </td>
165 </tr>
166 <tr>
167 <td>Subject:</td>
168 <td>
169 <gsf:metadata name="ex.dc.Subject"/>
170 </td>
171 </tr>
172 <tr>
173 <td>Publisher:</td>
174 <td>
175 <gsf:metadata name="ex.dc.Publisher"/>
176 </td>
177 </tr>
178 <tr>
179 <td>Rights:</td>
180 <td>
181 <gsf:metadata name="ex.dc.Rights"/>
182 </td>
183 </tr>
184 </table>
185 </gsf:template>
186<!--
187Overwriting this template allows you to change the heading of the document.
188-->
189<!--
190<gsf:template name="documentHeading">
191<span style="font-weight:bold; font-size: 120%;">
192<xsl:call-template name="choose-title"/>
193</span>
194</gsf:template>
195-->
196<!--
197Overwriting 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.
198-->
199<!--
200<gsf:template name="documentContent">
201<xsl:call-template name="wrappedSectionImage"/>
202<xsl:call-template name="wrappedSectionText"/>
203</gsf:template>
204-->
205<!--
206Overwriting this template can be used to change the content of section headings.
207-->
208<!--
209<gsf:template name="sectionHeading">
210<xsl:call-template name="choose-title"/>
211</gsf:template>
212-->
213<!--
214Overwriting this template can be used to change the content of the top-level section.
215-->
216<!--
217<gsf:template name="topLevelSectionContent">
218<xsl:call-template name="wrappedSectionImage"/>
219<xsl:call-template name="wrappedSectionText"/>
220</gsf:template>
221-->
222<!--
223Overwriting this template can be used to change the content of sections.
224-->
225<!--
226<gsf:template name="sectionContent">
227<xsl:call-template name="wrappedSectionImage"/>
228<xsl:call-template name="wrappedSectionText"/>
229</gsf:template>
230-->
231 </format>
232 </display>
233 <replaceListRef id="gs2-standard"/>
234 <replaceListRef id="gs2-image"/>
235 <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
236 <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
237 <serviceRack name="OAIPMH">
238 <ListMetadataFormats><!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
239 The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
240 -->
241 <metadataFormat metadataPrefix="oai_dc">
242 <metadataPrefix>oai_dc</metadataPrefix>
243 <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
244 <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace><!--<metadataElements>dc.Title,dc.Creator,dc.Subject,dc.Description,dc.Publisher,dc.Contributor,dc.Date,dc.Type,dc.Format,dc.Identifier,dc.Source,dc.Language,dc.Relation,dc.Coverage,dc.Rights</metadataElements>-->
245 <mappingList><!--
246 The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
247 The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
248 searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
249 number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
250 if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
251
252 **Bear in mind: if this mapping list is not present, the standard dc. metadata names (15 in total) will be used to retrieve metadata in the database.
253
254 **The only case when this mapping is not present is that: 1. this metadata format is oai_dc; 2. the metadata is also stored in the database by Dublin Core's names.
255 -->
256 <mapping>dc:title,Title</mapping><!-- This mapping example means that the dc.Title is requested and the value of the metadata Title, which is used in this repository, is returned as response. -->
257 </mappingList>
258 </metadataFormat>
259 </ListMetadataFormats>
260 </serviceRack>
261 </serviceRackList>
262 <importOption name="OIDtype" value="hash_on_full_filename"/>
263 <importOption name="sortmeta" value="OID"/>
264</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.