source: other-projects/nightly-tasks/diffcol/trunk/gs3-model-collect/Associated-Files/etc/collectionConfig.xml@ 28141

Last change on this file since 28141 was 28141, 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: 8.5 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">Associated-Files</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="document:text">text</displayItem>
13 <displayItem assigned="true" lang="en" name="document:ex.Title">Title</displayItem>
14 <displayItem assigned="true" lang="en" name="document:ex.Source">Source</displayItem>
15 <displayItem assigned="true" lang="en" name="document">document</displayItem>
16 <displayItem assigned="true" lang="en" name="section">section</displayItem>
17 <displayItem assigned="true" lang="en" name="Source">filenames</displayItem>
18 <displayItem assigned="true" lang="en" name="shortDescription">associat</displayItem>
19 </displayItemList>
20 <format>
21 <gsf:template name="choose-title">
22 <gsf:choose-metadata>
23 <gsf:metadata name="dc.Title"/>
24 <gsf:metadata name="exp.Title"/>
25 <gsf:metadata name="ex.dc.Title"/>
26 <gsf:metadata name="Title"/>
27 <gsf:default>Untitled</gsf:default>
28 </gsf:choose-metadata>
29 </gsf:template>
30 </format>
31 <search type="mgpp">
32 <level name="document">
33 <displayItem lang="en" name="name">document</displayItem>
34 </level>
35 <level name="section">
36 <displayItem lang="en" name="name">section</displayItem>
37 </level>
38 <defaultLevel name="document"/>
39 <index name="text">
40 <displayItem lang="en" name="name">text</displayItem>
41 </index>
42 <index name="dc.Title,ex.dc.Title,Title">
43 <displayItem lang="en" name="name">titles</displayItem>
44 </index>
45 <defaultIndex name="text"/>
46 <indexOption name="casefold"/>
47 <indexOption name="stem"/>
48 <searchType name="plain"/>
49 <searchType name="simpleform"/>
50 <searchType name="advancedform"/>
51 <format>
52 <gsf:template match="documentNode">
53 <td valign="top">
54 <gsf:link type="document">
55 <gsf:icon type="document"/>
56 </gsf:link>
57 </td>
58 <td>
59 <gsf:link type="document">
60 <xsl:call-template name="choose-title"/>
61 </gsf:link>
62 </td>
63 </gsf:template>
64 </format>
65 </search>
66 <infodb type="gdbm"/>
67 <import>
68 <pluginList>
69 <plugin name="ZIPPlugin"/>
70 <plugin name="GreenstoneXMLPlugin"/>
71 <plugin name="TextPlugin"/>
72 <plugin name="HTMLPlugin"/>
73 <plugin name="EmailPlugin"/>
74 <plugin name="PDFPlugin"/>
75 <plugin name="RTFPlugin"/>
76 <plugin name="WordPlugin">
77 <option name="-convert_to" value="auto"/>
78 <option name="-associate_ext" value="pdf"/>
79 </plugin>
80 <plugin name="PostScriptPlugin"/>
81 <plugin name="PowerPointPlugin"/>
82 <plugin name="ExcelPlugin"/>
83 <plugin name="ImagePlugin"/>
84 <plugin name="ISISPlugin"/>
85 <plugin name="NulPlugin"/>
86 <plugin name="OAIPlugin"/>
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="List">
96 <option name="-metadata" value="dc.Title;Title"/>
97 <option name="-partition_type_within_level" value="approximate_size"/>
98 </classifier>
99 <format>
100 <gsf:template match="documentNode">
101 <td valign="top">
102 <gsf:link type="document">
103 <gsf:icon type="document"/>
104 </gsf:link>
105 </td>
106 <td valign="top">
107 <gsf:metadata name="equivDocLink"/>
108 <gsf:metadata name="equivDocIcon"/>
109 <gsf:metadata name="/equivDocLink"/>
110 </td>
111 <td valign="top">
112 <gsf:link type="document">
113 <xsl:call-template name="choose-title"/>
114 </gsf:link>
115 <gsf:switch>
116 <gsf:metadata name="dc.Creator"/>
117 <gsf:when test="exists">
118 <br/>
119 <gsf:metadata name="dc.Creator" separator=", "/>
120 </gsf:when>
121 </gsf:switch>
122 </td>
123 </gsf:template>
124 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
125 <td valign="top">
126 <gsf:link type="classifier">
127 <gsf:icon type="classifier"/>
128 </gsf:link>
129 </td>
130 <td valign="top">
131 <gsf:metadata name="Title"/>
132 </td>
133 </gsf:template>
134 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
135 <gsf:link type="classifier">
136 <gsf:metadata name="Title"/>
137 </gsf:link>
138 </gsf:template>
139 </format>
140 </browse>
141 <display>
142 <format>
143 <gsf:option name="TOC" value="true"/>
144<!--
145Overwriting this template allows you to change the heading of the document.
146-->
147<!--
148<gsf:template name="documentHeading">
149 <span style="font-weight:bold; font-size: 120%;">
150 <xsl:call-template name="choose-title"/>
151 </span>
152 </gsf:template>
153-->
154<!--
155Overwriting 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<!--
166Overwriting this template can be used to change the content of section headings.
167-->
168<!--
169<gsf:template name="sectionHeading">
170 <xsl:call-template name="choose-title"/>
171 </gsf:template>
172-->
173<!--
174Overwriting this template can be used to change the content of the top-level section.
175-->
176<!--
177<gsf:template name="topLevelSectionContent">
178 <xsl:call-template name="wrappedSectionImage"/>
179 <xsl:call-template name="wrappedSectionText"/>
180 </gsf:template>
181-->
182<!--
183Overwriting this template can be used to change the content of sections.
184-->
185<!--
186<gsf:template name="sectionContent">
187 <xsl:call-template name="wrappedSectionImage"/>
188 <xsl:call-template name="wrappedSectionText"/>
189 </gsf:template>
190-->
191 </format>
192 </display>
193 <replaceListRef id="gs2-standard"/>
194 <replaceListRef id="gs2-image"/>
195 <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
196 <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
197 <serviceRack name="OAIPMH">
198 <ListMetadataFormats><!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
199 The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
200 -->
201 <metadataFormat metadataPrefix="oai_dc">
202 <metadataPrefix>oai_dc</metadataPrefix>
203 <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
204 <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>-->
205 <mappingList><!--
206 The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
207 The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
208 searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
209 number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
210 if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
211
212 **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.
213
214 **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.
215 -->
216 <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. -->
217 </mappingList>
218 </metadataFormat>
219 </ListMetadataFormats>
220 </serviceRack>
221 </serviceRackList>
222 <importOption name="OIDtype" value="hash_on_full_filename"/>
223 <importOption name="sortmeta" value="OID"/>
224</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.