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

Last change on this file since 29229 was 29229, checked in by ak19, 10 years ago

3 more GS3 model-collections, two of which are intermediate stages of tutorials

File size: 9.1 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="dc.Title,ex.dc.Title,Title">titles</displayItem>
12 <displayItem assigned="true" lang="en" name="Source">filenames</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="shortDescription">cdsisis</displayItem>
19 <displayItem assigned="true" lang="en" name=".Photographer^all">Photographer^all</displayItem>
20 <displayItem assigned="true" lang="en" name=".Country^all">Country^all</displayItem>
21 <displayItem assigned="true" lang="en" name=".dc.Coverage,Notes^all">dc.Coverage,Notes^all</displayItem>
22 <displayItem assigned="true" lang="en" name="Photographer^all">photographer</displayItem>
23 <displayItem assigned="true" lang="en" name="Country^all">country</displayItem>
24 <displayItem assigned="true" lang="en" name="dc.Coverage,Notes^all">notes</displayItem>
25 </displayItemList>
26 <format>
27 <gsf:template name="choose-title">
28 <gsf:choose-metadata>
29 <gsf:metadata name="dc.Title"/>
30 <gsf:metadata name="exp.Title"/>
31 <gsf:metadata name="ex.dc.Title"/>
32 <gsf:metadata name="Title"/>
33 <gsf:default>Untitled</gsf:default>
34 </gsf:choose-metadata>
35 </gsf:template>
36 </format>
37 <search type="mgpp">
38 <level name="document">
39 <displayItem lang="en" name="name">document</displayItem>
40 </level>
41 <level name="section">
42 <displayItem lang="en" name="name">section</displayItem>
43 </level>
44 <defaultLevel name="document"/>
45 <index name="text">
46 <displayItem lang="en" name="name">text</displayItem>
47 </index>
48 <index name="Photographer^all">
49 <displayItem lang="en" name="name">photographer</displayItem>
50 </index>
51 <index name="Country^all">
52 <displayItem lang="en" name="name">country</displayItem>
53 </index>
54 <index name="dc.Coverage,Notes^all">
55 <displayItem lang="en" name="name">notes</displayItem>
56 </index>
57 <defaultIndex name="text"/>
58 <indexOption name="casefold"/>
59 <indexOption name="stem"/>
60 <searchType name="plain"/>
61 <searchType name="simpleform"/>
62 <searchType name="advancedform"/>
63 <format><gsf:template match="documentNode">
64 <td valign="top">
65 <gsf:link type="document">
66 <gsf:icon type="document"/>
67 </gsf:link>
68 </td>
69 <td valign="top">
70 <b><gsf:metadata name="Photographer^all"/></b>
71 <br/><gsf:metadata name="Notes^all"/>
72 </td>
73</gsf:template>
74</format>
75 </search>
76 <infodb type="gdbm"/>
77 <import>
78 <pluginList>
79 <plugin name="ZIPPlugin"/>
80 <plugin name="GreenstoneXMLPlugin"/>
81 <plugin name="TextPlugin"/>
82 <plugin name="HTMLPlugin"/>
83 <plugin name="EmailPlugin"/>
84 <plugin name="PDFPlugin"/>
85 <plugin name="RTFPlugin"/>
86 <plugin name="WordPlugin"/>
87 <plugin name="PostScriptPlugin"/>
88 <plugin name="PowerPointPlugin"/>
89 <plugin name="ExcelPlugin"/>
90 <plugin name="ImagePlugin"/>
91 <plugin name="ISISPlugin"/>
92 <plugin name="NulPlugin"/>
93 <plugin name="OAIPlugin"/>
94 <plugin name="MetadataXMLPlugin"/>
95 <plugin name="ArchivesInfPlugin">
96 <option name="-sort"/>
97 </plugin>
98 <plugin name="DirectoryPlugin"/>
99 </pluginList>
100 </import>
101 <browse>
102 <classifier name="List">
103 <option name="-metadata" value="Photographer"/>
104 </classifier>
105 <format> <gsf:template match="documentNode">
106<td valign="top">
107<gsf:link type="document">
108<gsf:icon type="document"/>
109</gsf:link>
110</td>
111<td valign="top">
112<b><gsf:metadata name="Photographer^all"/></b>
113<br/><gsf:metadata name="Notes^all"/>
114</td>
115</gsf:template>
116 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
117 <td valign="top">
118 <gsf:link type="classifier">
119 <gsf:icon type="classifier"/>
120 </gsf:link>
121 </td>
122 <td valign="top">
123 <gsf:metadata name="Title"/>
124 </td>
125 </gsf:template>
126 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
127 <gsf:link type="classifier">
128 <gsf:metadata name="Title"/>
129 </gsf:link>
130 </gsf:template>
131
132</format>
133 </browse>
134 <display>
135 <format> <gsf:option name="TOC" value="true"/>
136<!--
137Overwriting this template allows you to change the heading of the document.
138-->
139<!--
140<gsf:template name="documentHeading">
141<span style="font-weight:bold; font-size: 120%;">
142<xsl:call-template name="choose-title"/>
143</span>
144</gsf:template>
145-->
146<!--
147Overwriting 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.
148-->
149<!--
150<gsf:template name="documentContent">
151<xsl:call-template name="wrappedSectionImage"/>
152<xsl:call-template name="wrappedSectionText"/>
153</gsf:template>
154-->
155<!--
156Overwriting this template can be used to change the content of section headings.
157-->
158<!--
159<gsf:template name="sectionHeading">
160<xsl:call-template name="choose-title"/>
161</gsf:template>
162-->
163<!--
164Overwriting this template can be used to change the content of the top-level section.
165-->
166<!--
167<gsf:template name="topLevelSectionContent">
168<xsl:call-template name="wrappedSectionImage"/>
169<xsl:call-template name="wrappedSectionText"/>
170</gsf:template>
171-->
172<!--
173Overwriting this template can be used to change the content of sections.
174-->
175<!--
176<gsf:template name="sectionContent">
177<xsl:call-template name="wrappedSectionImage"/>
178<xsl:call-template name="wrappedSectionText"/>
179</gsf:template>
180-->
181
182<gsf:template name="documentContent">
183 <p>
184 <xsl:call-template name="wrappedSectionText"/>
185 </p>
186
187 <a href="javascript:;" id="cdsreclink">Show/Hide CDS Record</a>
188 <div id="cdsrecord">
189 <b>CDS Record:</b>
190 <br/>
191 <tt>
192 <gsf:metadata name="ISISRawRecord"/>
193 </tt>
194 </div>
195
196 <script type="text/javascript">
197 <xsl:text disable-output-escaping="yes">
198 var link=document.getElementById("cdsreclink");
199 var div=document.getElementById("cdsrecord");
200 gs.functions.makeToggle(link, div);
201 </xsl:text>
202 </script>
203</gsf:template>
204
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 <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.