source: other-projects/nightly-tasks/diffcol/trunk/gs3-model-collect/CDS-ISIS/etc/collectionConfig.xml@ 29240

Last change on this file since 29240 was 29240, checked in by ak19, 7 years ago

Instead of removing and replacing prebuilt CDS-ISIS tutorial collection for gs3, had removed all gs3 tutorial collections. Adding them back in, including the updated CDS-ISIS, which has been pre-built on 64 bit with the latest GS3 binary.

File size: 9.3 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">CDS-ISIS</displayItem>
10 <displayItem assigned="true" lang="en" name="text">text</displayItem>
11 <displayItem assigned="true" lang="en" name="Photographer^all">photographer</displayItem>
12 <displayItem assigned="true" lang="en" name="Country^all">country</displayItem>
13 <displayItem assigned="true" lang="en" name="Notes^all">notes</displayItem>
14 <displayItem assigned="true" lang="en" name="document:text">text</displayItem>
15 <displayItem assigned="true" lang="en" name="document:ex.Title">Title</displayItem>
16 <displayItem assigned="true" lang="en" name="document:ex.Source">Source</displayItem>
17 <displayItem assigned="true" lang="en" name="document">document</displayItem>
18 <displayItem assigned="true" lang="en" name="section">section</displayItem>
19 <displayItem assigned="true" lang="en" name="dc.Coverage,Notes^all">notes</displayItem>
20 <displayItem assigned="true" lang="en" name="dc.Title,ex.dc.Title,Title">titles</displayItem>
21 <displayItem assigned="true" lang="en" name="Source">filenames</displayItem>
22 <displayItem assigned="true" lang="en" name="shortDescription">cdsisis</displayItem>
23 <displayItem assigned="true" lang="en" name=".Photographer^all">Photographer^all</displayItem>
24 <displayItem assigned="true" lang="en" name=".Country^all">Country^all</displayItem>
25 <displayItem assigned="true" lang="en" name=".Notes^all">Notes^all</displayItem>
26 </displayItemList>
27 <format>
28 <gsf:template name="choose-title">
29 <gsf:choose-metadata>
30 <gsf:metadata name="dc.Title"/>
31 <gsf:metadata name="exp.Title"/>
32 <gsf:metadata name="ex.dc.Title"/>
33 <gsf:metadata name="Title"/>
34 <gsf:default>Untitled</gsf:default>
35 </gsf:choose-metadata>
36 </gsf:template>
37 </format>
38 <search type="mgpp">
39 <level name="document">
40 <displayItem lang="en" name="name">document</displayItem>
41 </level>
42 <level name="section">
43 <displayItem lang="en" name="name">section</displayItem>
44 </level>
45 <defaultLevel name="document"/>
46 <index name="text">
47 <displayItem lang="en" name="name">text</displayItem>
48 </index>
49 <index name="Photographer^all">
50 <displayItem lang="en" name="name">photographer</displayItem>
51 </index>
52 <index name="Country^all">
53 <displayItem lang="en" name="name">country</displayItem>
54 </index>
55 <index name="Notes^all">
56 <displayItem lang="en" name="name">notes</displayItem>
57 </index>
58 <defaultIndex name="text"/>
59 <indexOption name="casefold"/>
60 <indexOption name="stem"/>
61 <searchType name="plain"/>
62 <searchType name="simpleform"/>
63 <searchType name="advancedform"/>
64 <format>
65 <gsf:template match="documentNode">
66 <td valign="top">
67 <gsf:link type="document">
68 <gsf:icon type="document"/>
69 </gsf:link>
70 </td>
71 <td valign="top">
72 <b>
73 <gsf:metadata name="Photographer^all"/>
74 </b>
75 <br/>
76 <gsf:metadata name="Notes^all"/>
77 </td>
78 </gsf:template>
79 </format>
80 </search>
81 <infodb type="gdbm"/>
82 <import>
83 <pluginList>
84 <plugin name="ZIPPlugin"/>
85 <plugin name="GreenstoneXMLPlugin"/>
86 <plugin name="TextPlugin"/>
87 <plugin name="HTMLPlugin"/>
88 <plugin name="EmailPlugin"/>
89 <plugin name="PDFPlugin"/>
90 <plugin name="RTFPlugin"/>
91 <plugin name="WordPlugin"/>
92 <plugin name="PostScriptPlugin"/>
93 <plugin name="PowerPointPlugin"/>
94 <plugin name="ExcelPlugin"/>
95 <plugin name="ImagePlugin"/>
96 <plugin name="ISISPlugin"/>
97 <plugin name="NulPlugin"/>
98 <plugin name="OAIPlugin"/>
99 <plugin name="MetadataXMLPlugin"/>
100 <plugin name="ArchivesInfPlugin">
101 <option name="-sort"/>
102 </plugin>
103 <plugin name="DirectoryPlugin"/>
104 </pluginList>
105 </import>
106 <browse>
107 <classifier name="List">
108 <option name="-metadata" value="Photographer"/>
109 </classifier>
110 <format>
111 <gsf:template match="documentNode">
112 <td valign="top">
113 <gsf:link type="document">
114 <gsf:icon type="document"/>
115 </gsf:link>
116 </td>
117 <td valign="top">
118 <b>
119 <gsf:metadata name="Photographer^all"/>
120 </b>
121 <br/>
122 <gsf:metadata name="Notes^all"/>
123 </td>
124 </gsf:template>
125 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
126 <td valign="top">
127 <gsf:link type="classifier">
128 <gsf:icon type="classifier"/>
129 </gsf:link>
130 </td>
131 <td valign="top">
132 <gsf:metadata name="Title"/>
133 </td>
134 </gsf:template>
135 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
136 <gsf:link type="classifier">
137 <gsf:metadata name="Title"/>
138 </gsf:link>
139 </gsf:template>
140 </format>
141 </browse>
142 <display>
143 <format>
144 <gsf:option name="TOC" value="true"/>
145<!--
146Overwriting this template allows you to change the heading of the document.
147-->
148<!--
149<gsf:template name="documentHeading">
150<span style="font-weight:bold; font-size: 120%;">
151<xsl:call-template name="choose-title"/>
152</span>
153</gsf:template>
154-->
155<!--
156Overwriting 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.
157-->
158<!--
159<gsf:template name="documentContent">
160<xsl:call-template name="wrappedSectionImage"/>
161<xsl:call-template name="wrappedSectionText"/>
162</gsf:template>
163-->
164<!--
165Overwriting this template can be used to change the content of section headings.
166-->
167<!--
168<gsf:template name="sectionHeading">
169<xsl:call-template name="choose-title"/>
170</gsf:template>
171-->
172<!--
173Overwriting this template can be used to change the content of the top-level section.
174-->
175<!--
176<gsf:template name="topLevelSectionContent">
177<xsl:call-template name="wrappedSectionImage"/>
178<xsl:call-template name="wrappedSectionText"/>
179</gsf:template>
180-->
181<!--
182Overwriting this template can be used to change the content of sections.
183-->
184<!--
185<gsf:template name="sectionContent">
186<xsl:call-template name="wrappedSectionImage"/>
187<xsl:call-template name="wrappedSectionText"/>
188</gsf:template>
189-->
190 <gsf:template name="documentContent">
191 <p>
192 <xsl:call-template name="wrappedSectionText"/>
193 </p>
194 <a href="javascript:;" id="cdsreclink">Show/Hide CDS Record</a>
195 <div id="cdsrecord">
196 <b>CDS Record:</b>
197 <br/>
198 <tt>
199 <gsf:metadata name="ISISRawRecord"/>
200 </tt>
201 </div>
202 <script type="text/javascript">
203 <xsl:text disable-output-escaping="yes">var link=document.getElementById("cdsreclink"); var div=document.getElementById("cdsrecord"); gs.functions.makeToggle(link, div);</xsl:text>
204 </script>
205 </gsf:template>
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 <ListMetadataFormats><!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
214 The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
215 -->
216 <metadataFormat metadataPrefix="oai_dc">
217 <metadataPrefix>oai_dc</metadataPrefix>
218 <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
219 <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>-->
220 <mappingList><!--
221 The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
222 The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
223 searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
224 number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
225 if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
226
227 **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.
228
229 **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.
230 -->
231 <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. -->
232 </mappingList>
233 </metadataFormat>
234 </ListMetadataFormats>
235 </serviceRack>
236 </serviceRackList>
237 <importOption name="OIDtype" value="hash_on_full_filename"/>
238 <importOption name="sortmeta" value="OID"/>
239</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.