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

Last change on this file since 36257 was 36257, checked in by anupama, 2 years ago

DEC collection Word-PDF for GS3. The coll descriptions are still mostly for GS2, but I'm at present in the process of getting the DEC collections to build, work and display the existing collection text. Once all the collections are ported, the descriptions can be rewritten and will be available for translation update.

File size: 7.6 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="description" name="description"/>
10 <displayItem assigned="true" lang="en" name="name">Word PDF collection</displayItem>
11 <displayItem assigned="true" dictionary="collectionConfig" key="name" name="name"/>
12 <displayItem assigned="true" dictionary="collectionConfig" key="shortDescription" name="shortDescription"/>
13 <displayItem assigned="true" dictionary="collectionConfig" key="description1" name="description1"/>
14 <displayItem assigned="true" dictionary="collectionConfig" key="description2" name="description2"/>
15 <displayItem assigned="true" dictionary="collectionConfig" key="description3" name="description3"/>
16 <displayItem assigned="true" dictionary="collectionConfig" key="description4" name="description4"/>
17 <displayItem assigned="true" dictionary="collectionConfig" key="description5" name="description5"/>
18 </displayItemList>
19 <format/>
20 <search type="mg">
21 <index name="document:text">
22 <displayItem lang="ru" name="name">document:text</displayItem>
23 <displayItem lang="es" name="name">document:text</displayItem>
24 <displayItem lang="zh" name="name">document:text</displayItem>
25 <displayItem lang="fr" name="name">document:text</displayItem>
26 <displayItem lang="en" name="name">document:text</displayItem>
27 </index>
28 <defaultIndex name="document:text"/>
29 <indexOption name="casefold"/>
30 <indexOption name="stem"/>
31 <searchType name="plain"/>
32 <searchType name="simpleform"/>
33 <searchType name="advancedform"/>
34 <format>
35 <gsf:template match="documentNode">
36 <gsf:format-gs2><![CDATA[<td valign="top">[link][icon][/link]</td>
37<td valign="top">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
38<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>
39 <td valign="top">
40 <gsf:link type="document">
41 <gsf:icon type="document"/>
42 </gsf:link>
43 </td>
44 <td valign="top">
45 <gsf:link type="source">
46 <gsf:choose-metadata>
47 <gsf:metadata name="thumbicon"/>
48 <gsf:metadata name="srcicon"/>
49 </gsf:choose-metadata>
50 </gsf:link>
51 </td>
52 <td valign="top">
53 <span class="highlight">
54 <gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
55 </span>
56 <gsf:switch>
57 <gsf:metadata name="Source"/>
58 <gsf:when test="exists">
59 <br/>
60 <i>(<gsf:metadata name="Source"/>)</i>
61 </gsf:when>
62 </gsf:switch>
63 </td>
64 </gsf:template>
65 </format>
66 </search>
67 <infodb type="gdbm"/>
68 <import>
69 <pluginList>
70 <plugin name="WordPlugin"/>
71 <plugin name="RTFPlugin"/>
72 <plugin name="PDFPlugin"/>
73 <plugin name="PostScriptPlugin"/>
74 <plugin name="GreenstoneXMLPlugin"/>
75 <plugin name="MetadataXMLPlugin"/>
76 <plugin name="ArchivesInfPlugin"/>
77 <plugin name="DirectoryPlugin"/>
78 </pluginList>
79 </import>
80 <browse>
81 <classifier name="AZList">
82 <option name="-metadata" value="Title"/>
83 </classifier>
84 <format>
85 <gsf:template match="documentNode">
86 <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>
87 <td valign="top">
88 <gsf:link type="document">
89 <gsf:icon type="document"/>
90 </gsf:link>
91 </td>
92 <td valign="top">
93 <gsf:link type="source">
94 <gsf:choose-metadata>
95 <gsf:metadata name="thumbicon"/>
96 <gsf:metadata name="srcicon"/>
97 </gsf:choose-metadata>
98 </gsf:link>
99 </td>
100 <td valign="top">
101 <span class="highlight">
102 <gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
103 </span>
104 <gsf:switch>
105 <gsf:metadata name="Source"/>
106 <gsf:when test="exists">
107 <br/>
108 <i>(<gsf:metadata name="Source"/>)</i>
109 </gsf:when>
110 </gsf:switch>
111 </td>
112 </gsf:template>
113 <gsf:template match="classifierNode">
114 <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>
115 <td valign="top">
116 <gsf:link type="classifier">
117 <gsf:icon type="classifier"/>
118 </gsf:link>
119 </td>
120 <td valign="top">
121 <gsf:link type="source">
122 <gsf:choose-metadata>
123 <gsf:metadata name="thumbicon"/>
124 <gsf:metadata name="srcicon"/>
125 </gsf:choose-metadata>
126 </gsf:link>
127 </td>
128 <td valign="top">
129 <span class="highlight">
130 <gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
131 </span>
132 <gsf:switch>
133 <gsf:metadata name="Source"/>
134 <gsf:when test="exists">
135 <br/>
136 <i>(<gsf:metadata name="Source"/>)</i>
137 </gsf:when>
138 </gsf:switch>
139 </td>
140 </gsf:template>
141 <gsf:template match="classifierNode" mode="horizontal">
142 <gsf:format-gs2><![CDATA[[link][highlight][ex.Title][/highlight][/link]]]></gsf:format-gs2>
143 <gsf:link type="classifier">
144 <span class="highlight">
145 <gsf:metadata name="Title"/>
146 </span>
147 </gsf:link>
148 </gsf:template>
149 </format>
150 </browse>
151 <display>
152 <format>
153 <gsf:option name="TOC" value="true"/>
154 <gsf:option name="AllowUserComments" value="false"/>
155<!--
156Overwriting this template allows you to change the heading of the document.
157-->
158<!--
159<gsf:template name="documentHeading"><span style="font-weight:bold; font-size: 120%;"><xsl:call-template name="choose-title"/></span></gsf:template>
160-->
161<!--
162Overwriting 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.
163-->
164<!--
165<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>
166-->
167<!--
168Overwriting this template can be used to change the content of section headings.
169-->
170<!--
171<gsf:template name="sectionHeading"><xsl:call-template name="choose-title"/></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"><xsl:call-template name="wrappedSectionImage"/><xsl:call-template name="wrappedSectionText"/></gsf:template>
178-->
179<!--
180Overwriting this template can be used to change the content of sections.
181-->
182<!--
183<gsf:template name="sectionContent"><xsl:call-template name="wrappedSectionImage"/><xsl:call-template name="wrappedSectionText"/></gsf:template>
184-->
185 </format>
186 </display>
187 <replaceListRef id="gs2-standard"/>
188</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.