source: documented-examples/trunk/wrdpdf-e/etc/collectionConfig.xml

Last change on this file was 38977, checked in by kjdon, 6 weeks ago

removed english version of title - should just use dictionary one. added OAI service

File size: 7.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:gslib="http://www.greenstone.org/skinning" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3 <metadataList>
4 <metadata lang="en" name="creator">[email protected]</metadata>
5 <metadata lang="en" name="maintainer"/>
6 <metadata lang="en" name="public">true</metadata>
7 </metadataList>
8 <displayItemList>
9 <displayItem assigned="true" dictionary="collectionConfig" key="name" name="name"/>
10 <displayItem assigned="true" dictionary="collectionConfig" key="shortDescription" name="shortDescription"/>
11 <displayItem assigned="true" dictionary="collectionConfig" key="description1" name="description1"/>
12 <displayItem assigned="true" dictionary="collectionConfig" key="description2" name="description2"/>
13 <displayItem assigned="true" dictionary="collectionConfig" key="description3" name="description3"/>
14 <displayItem assigned="true" dictionary="collectionConfig" key="description4" name="description4"/>
15 <displayItem assigned="true" dictionary="collectionConfig" key="description5" name="description5"/>
16 </displayItemList>
17 <format/>
18 <search type="mg">
19 <index name="document:text">
20 <displayItem assigned="true" dictionary="collectionConfig" key="document_text" name="name"/>
21 </index>
22 <defaultIndex name="document:text"/>
23 <indexOption name="casefold"/>
24 <indexOption name="stem"/>
25 <searchType name="plain"/>
26 <searchType name="simpleform"/>
27 <searchType name="advancedform"/>
28 <format>
29 <gsf:template match="documentNode">
30 <gsf:format-gs2><![CDATA[<td valign="top">[link][icon][/link]</td>
31<td valign="top">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
32<td valign="top">[highlight] {Or}{[dc.Title],[exp.Title],[ex.Title],Untitled} [/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>]]></gsf:format-gs2>
33 <td valign="top">
34 <gsf:link type="document">
35 <gsf:icon type="document"/>
36 </gsf:link>
37 </td>
38 <td valign="top">
39 <gsf:link type="source">
40 <gsf:choose-metadata>
41 <gsf:metadata name="thumbicon"/>
42 <gsf:metadata name="srcicon"/>
43 </gsf:choose-metadata>
44 </gsf:link>
45 </td>
46 <td valign="top">
47 <span class="highlight">
48 <gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
49 </span>
50 <gsf:switch>
51 <gsf:metadata name="Source"/>
52 <gsf:when test="exists">
53 <br/>
54 <i>(<gsf:metadata name="Source"/>)</i>
55 </gsf:when>
56 </gsf:switch>
57 </td>
58 </gsf:template>
59 </format>
60 </search>
61 <infodb type="gdbm"/>
62 <import>
63 <pluginList>
64 <plugin name="WordPlugin"/>
65 <plugin name="RTFPlugin"/>
66 <plugin name="PDFPlugin"/>
67 <plugin name="PostScriptPlugin"/>
68 <plugin name="GreenstoneXMLPlugin"/>
69 <plugin name="MetadataXMLPlugin"/>
70 <plugin name="ArchivesInfPlugin"/>
71 <plugin name="DirectoryPlugin"/>
72 </pluginList>
73 </import>
74 <browse>
75 <classifier name="AZList">
76 <option name="-metadata" value="Title"/>
77 </classifier>
78 <format>
79 <gsf:template match="documentNode">
80 <gsf:format-gs2><![CDATA[<td valign="top">[link][icon][/link]</td> <td valign="top">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td> <td valign="top">[highlight] {Or}{[dc.Title],[exp.Title],[ex.Title],Untitled} [/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>]]></gsf:format-gs2>
81 <td valign="top">
82 <gsf:link type="document">
83 <gsf:icon type="document"/>
84 </gsf:link>
85 </td>
86 <td valign="top">
87 <gsf:link type="source">
88 <gsf:choose-metadata>
89 <gsf:metadata name="thumbicon"/>
90 <gsf:metadata name="srcicon"/>
91 </gsf:choose-metadata>
92 </gsf:link>
93 </td>
94 <td valign="top">
95 <span class="highlight">
96 <gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
97 </span>
98 <gsf:switch>
99 <gsf:metadata name="Source"/>
100 <gsf:when test="exists">
101 <br/>
102 <i>(<gsf:metadata name="Source"/>)</i>
103 </gsf:when>
104 </gsf:switch>
105 </td>
106 </gsf:template>
107 <gsf:template match="classifierNode">
108 <gsf:format-gs2><![CDATA[<td valign="top">[link][icon][/link]</td> <td valign="top">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td> <td valign="top">[highlight] {Or}{[dc.Title],[exp.Title],[ex.Title],Untitled} [/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>]]></gsf:format-gs2>
109 <td valign="top">
110 <gsf:link type="classifier">
111 <gsf:icon type="classifier"/>
112 </gsf:link>
113 </td>
114 <td valign="top">
115 <gsf:link type="source">
116 <gsf:choose-metadata>
117 <gsf:metadata name="thumbicon"/>
118 <gsf:metadata name="srcicon"/>
119 </gsf:choose-metadata>
120 </gsf:link>
121 </td>
122 <td valign="top">
123 <span class="highlight">
124 <gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
125 </span>
126 <gsf:switch>
127 <gsf:metadata name="Source"/>
128 <gsf:when test="exists">
129 <br/>
130 <i>(<gsf:metadata name="Source"/>)</i>
131 </gsf:when>
132 </gsf:switch>
133 </td>
134 </gsf:template>
135 <gsf:template match="classifierNode" mode="horizontal">
136 <gsf:format-gs2><![CDATA[[link][highlight][ex.Title][/highlight][/link]]]></gsf:format-gs2>
137 <gsf:link type="classifier">
138 <span class="highlight">
139 <gsf:metadata name="Title"/>
140 </span>
141 </gsf:link>
142 </gsf:template>
143 </format>
144 </browse>
145 <display>
146 <format>
147 <gsf:option name="TOC" value="true"/>
148 <gsf:option name="AllowUserComments" value="false"/>
149<!--
150Overwriting this template allows you to change the heading of the document.
151-->
152<!--
153<gsf:template name="documentHeading"><span style="font-weight:bold; font-size: 120%;"><xsl:call-template name="choose-title"/></span></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"><div id="gs-document"><xsl:call-template name="documentPre"/><xsl:call-template name="wrappedSectionImage"/><div id="gs-document-text"><xsl:call-template name="documentNodeText"/></div></gsf:template>
160-->
161<!--
162Overwriting this template can be used to change the content of section headings.
163-->
164<!--
165<gsf:template name="sectionHeading"><xsl:call-template name="choose-title"/></gsf:template>
166-->
167<!--
168Overwriting this template can be used to change the content of the top-level section.
169-->
170<!--
171<gsf:template name="topLevelSectionContent"><xsl:call-template name="wrappedSectionImage"/><xsl:call-template name="wrappedSectionText"/></gsf:template>
172-->
173<!--
174Overwriting this template can be used to change the content of sections.
175-->
176<!--
177<gsf:template name="sectionContent"><xsl:call-template name="wrappedSectionImage"/><xsl:call-template name="wrappedSectionText"/></gsf:template>
178-->
179 </format>
180 </display>
181 <replaceListRef id="gs2-standard"/>
182 <serviceRackList>
183 <serviceRack name="OAIPMH">
184 <setName>Office Documents Demo</setName>
185 <setDescription>A demonstration collection for Office documents.</setDescription>
186 <!-- uncomment the following and set the name attribute if you want this
187 collection to be part of a super set. -->
188 <!--<oaiSuperSet name="xxx"/>-->
189 <ListMetadataFormats>
190 <!--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:
191 <metadataFormat metadataPrefix="prefix"/> -->
192 <metadataFormat metadataPrefix="oai_dc"/>
193 </ListMetadataFormats>
194 </serviceRack>
195</serviceRackList>
196</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.