source: documented-examples/trunk/isis-e/etc/collectionConfig.xml@ 36265

Last change on this file since 36265 was 36265, checked in by anupama, 22 months ago

First commit of GS3 version of DEC's isis-e collection: I still want to figure out where the text of each page (nodeContent) is coming from, why it's pre-filled and formatted, instead of using the language strings in resources. In bibtex-e, I overrode the display Format Feature, but that was because it didn't look right by default. This mostly looks correct, although it seems hardcoded to use English strings in document display. I haven't yet figured out why because I don't know where doc display is coming from (yet).

File size: 12.2 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" lang="en" name="name">CDS/ISIS example</displayItem>
10 <displayItem assigned="true" dictionary="collectionConfig" key="name" name="name"/>
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 <displayItem assigned="true" dictionary="collectionConfig" key="description6" name="description6"/>
17 <displayItem assigned="true" dictionary="collectionConfig" key="shortDescription" name="shortDescription"/>
18 <displayItem assigned="true" dictionary="collectionConfig" key="Collation" name="Collation"/>
19 <displayItem assigned="true" dictionary="collectionConfig" key="HideCDSrecord" name="HideCDSrecord"/>
20 <displayItem assigned="true" dictionary="collectionConfig" key="CorporateAuthors" name="CorporateAuthors"/>
21 <displayItem assigned="true" dictionary="collectionConfig" key="ShowCDSrecord" name="ShowCDSrecord"/>
22 <displayItem assigned="true" dictionary="collectionConfig" key="Series" name="Series"/>
23 <displayItem assigned="true" dictionary="collectionConfig" key="Authors" name="Authors"/>
24 <displayItem assigned="true" dictionary="collectionConfig" key="OtherLanguageTitles" name="OtherLanguageTitles"/>
25 <displayItem assigned="true" dictionary="collectionConfig" key="Imprint" name="Imprint"/>
26 <displayItem assigned="true" dictionary="collectionConfig" key="Keywords" name="Keywords"/>
27 <displayItem assigned="true" dictionary="collectionConfig" key="Title" name="Title"/>
28 <displayItem assigned="true" dictionary="collectionConfig" key="Conference" name="Conference"/>
29 <displayItem assigned="true" dictionary="collectionConfig" key="Notes" name="Notes"/>
30 <displayItem assigned="true" dictionary="collectionConfig" key="CDSrecord" name="CDSrecord"/>
31 <displayItem assigned="true" dictionary="collectionConfig" key="AddedTitle" name="AddedTitle"/>
32 <displayItem assigned="true" dictionary="collectionConfig" key="Edition" name="Edition"/>
33 <displayItem assigned="true" dictionary="collectionConfig" key="Meetings" name="Meetings"/>
34 <displayItem assigned="true" dictionary="collectionConfig" key=".Notes^all" name=".Notes^all"/>
35 <displayItem assigned="true" dictionary="collectionConfig" key=".PersonalAuthors^all" name=".PersonalAuthors^all"/>
36 <displayItem assigned="true" dictionary="collectionConfig" key=".AddedTitle^all" name=".AddedTitle^all"/>
37 <displayItem assigned="true" dictionary="collectionConfig" key=".Imprint^all" name=".Imprint^all"/>
38 <displayItem assigned="true" dictionary="collectionConfig" key=".ConferenceMainEntry^all" name=".ConferenceMainEntry^all"/>
39 <displayItem assigned="true" dictionary="collectionConfig" key=".CorporateBodies^all" name=".CorporateBodies^all"/>
40 <displayItem assigned="true" dictionary="collectionConfig" key=".Series^all" name=".Series^all"/>
41 <displayItem assigned="true" dictionary="collectionConfig" key=".OtherLanguageTitles^all" name=".OtherLanguageTitles^all"/>
42 <displayItem assigned="true" dictionary="collectionConfig" key=".Keywords^all" name=".Keywords^all"/>
43 <displayItem assigned="true" dictionary="collectionConfig" key=".Collation^all" name=".Collation^all"/>
44 <displayItem assigned="true" dictionary="collectionConfig" key=".Title^all" name=".Title^all"/>
45 <displayItem assigned="true" dictionary="collectionConfig" key=".text" name=".text"/>
46 <displayItem assigned="true" dictionary="collectionConfig" key=".Meetings^all" name=".Meetings^all"/>
47 <displayItem assigned="true" dictionary="collectionConfig" key=".Edition^all" name=".Edition^all"/>
48 </displayItemList>
49 <format/>
50 <search type="mgpp">
51 <level name="document"/>
52 <defaultLevel name="document"/>
53 <index name="PersonalAuthors^all"/>
54 <index name="ConferenceMainEntry^all"/>
55 <index name="CorporateBodies^all"/>
56 <index name="text"/>
57 <index name="OtherLanguageTitles^all"/>
58 <index name="Series^all"/>
59 <index name="Keywords^all"/>
60 <index name="Imprint^all"/>
61 <index name="Collation^all"/>
62 <index name="Edition^all"/>
63 <index name="Notes^all"/>
64 <index name="Title^all"/>
65 <index name="AddedTitle^all"/>
66 <index name="Meetings^all"/>
67 <defaultIndex name="ConferenceMainEntry^all"/>
68 <indexOption name="casefold"/>
69 <indexOption name="stem"/>
70 <searchType name="plain"/>
71 <searchType name="simpleform"/>
72 <searchType name="advancedform"/>
73 <format>
74 <gsf:template match="documentNode">
75 <gsf:format-gs2><![CDATA[
76<td valign=top>[link][icon][/link]
77</td>
78<td>[Title]
79<br>
80<i>{If}{[PersonalAuthors^all], {If}{[CorporateBodies^all], [sibling(All'; '):PersonalAuthors] - , [sibling(All'; '):PersonalAuthors]}}{If}{[CorporateBodies^all], [CorporateBodies^all]}
81</i>
82</td>]]></gsf:format-gs2>
83 <td valign="top">
84 <gsf:link type="document">
85 <gsf:icon type="document"/>
86 </gsf:link>
87 </td>
88 <td>
89 <gsf:metadata name="Title"/>
90 <br/>
91 <i>
92 <gsf:switch>
93 <gsf:metadata name="PersonalAuthors^all"/>
94 <gsf:when test="exists">
95 <gsf:switch>
96 <gsf:metadata name="CorporateBodies^all"/>
97 <gsf:when test="exists"><gsf:metadata name="PersonalAuthors"/> -</gsf:when>
98 <gsf:otherwise>
99 <gsf:metadata name="PersonalAuthors"/>
100 </gsf:otherwise>
101 </gsf:switch>
102 </gsf:when>
103 </gsf:switch>
104 <gsf:switch>
105 <gsf:metadata name="CorporateBodies^all"/>
106 <gsf:when test="exists">
107 <gsf:metadata name="CorporateBodies^all"/>
108 </gsf:when>
109 </gsf:switch>
110 </i>
111 </td>
112 </gsf:template>
113 </format>
114 </search>
115 <infodb type="gdbm"/>
116 <import>
117 <pluginList>
118 <plugin name="GreenstoneXMLPlugin"/>
119 <plugin name="ISISPlugin">
120 <option name="-input_encoding" value="dos_437"/>
121 <option name="-OIDtype" value="incremental"/>
122 <option name="-subfield_separator" value=", "/>
123 <option name="-entry_separator" value="&lt;br>"/>
124 </plugin>
125 <plugin name="MetadataXMLPlugin"/>
126 <plugin name="ArchivesInfPlugin"/>
127 <plugin name="DirectoryPlugin"/>
128 </pluginList>
129 </import>
130 <browse>
131 <classifier name="AZList">
132 <option name="-metadata" value="Title"/>
133 </classifier>
134 <classifier name="AZCompactList">
135 <option name="-mingroup" value="1"/>
136 <option name="-metadata" value="Keywords^sub"/>
137 <option name="-buttonname" value="Keyword"/>
138 <format>
139 <gsf:template match="documentNode">
140 <gsf:format-gs2><![CDATA[<td valign=top>[link][icon][/link]</td><td>{If}{[numleafdocs], [Title] ([numleafdocs]), [Title]}</td>]]></gsf:format-gs2>
141 <td valign="top">
142 <gsf:link type="document">
143 <gsf:icon type="document"/>
144 </gsf:link>
145 </td>
146 <td>
147 <gsf:metadata name="Title"/>
148 </td>
149 </gsf:template>
150 <gsf:template match="classifierNode">
151 <gsf:format-gs2><![CDATA[<td valign=top>[link][icon][/link]</td><td>{If}{[numleafdocs], [Title] ([numleafdocs]), [Title]}</td>]]></gsf:format-gs2>
152 <td valign="top">
153 <gsf:link type="classifier">
154 <gsf:icon type="classifier"/>
155 </gsf:link>
156 </td>
157 <td><gsf:metadata name="Title"/> (<gsf:metadata name="numleafdocs"/>)</td>
158 </gsf:template>
159 </format>
160 </classifier>
161 <format>
162 <gsf:template match="documentNode">
163 <gsf:format-gs2><![CDATA[
164<td valign=top>[link][icon][/link]
165</td>
166<td>[Title]
167<br>
168<i>{If}{[PersonalAuthors^all], {If}{[CorporateBodies^all], [sibling(All'; '):PersonalAuthors] - , [sibling(All'; '):PersonalAuthors]}}{If}{[CorporateBodies^all], [CorporateBodies^all]}
169</i>
170</td>]]></gsf:format-gs2>
171 <td valign="top">
172 <gsf:link type="document">
173 <gsf:icon type="document"/>
174 </gsf:link>
175 </td>
176 <td>
177 <gsf:metadata name="Title"/>
178 <br/>
179 <i>
180 <gsf:switch>
181 <gsf:metadata name="PersonalAuthors^all"/>
182 <gsf:when test="exists">
183 <gsf:switch>
184 <gsf:metadata name="CorporateBodies^all"/>
185 <gsf:when test="exists"><gsf:metadata name="PersonalAuthors"/> -</gsf:when>
186 <gsf:otherwise>
187 <gsf:metadata name="PersonalAuthors"/>
188 </gsf:otherwise>
189 </gsf:switch>
190 </gsf:when>
191 </gsf:switch>
192 <gsf:switch>
193 <gsf:metadata name="CorporateBodies^all"/>
194 <gsf:when test="exists">
195 <gsf:metadata name="CorporateBodies^all"/>
196 </gsf:when>
197 </gsf:switch>
198 </i>
199 </td>
200 </gsf:template>
201 <gsf:template match="classifierNode">
202 <gsf:format-gs2><![CDATA[
203<td valign=top>[link][icon][/link]
204</td>
205<td>[Title]
206<br>
207<i>{If}{[PersonalAuthors^all], {If}{[CorporateBodies^all], [sibling(All'; '):PersonalAuthors] - , [sibling(All'; '):PersonalAuthors]}}{If}{[CorporateBodies^all], [CorporateBodies^all]}
208</i>
209</td>]]></gsf:format-gs2>
210 <td valign="top">
211 <gsf:link type="classifier">
212 <gsf:icon type="classifier"/>
213 </gsf:link>
214 </td>
215 <td>
216 <gsf:metadata name="Title"/>
217 <br/>
218 <i>
219 <gsf:switch>
220 <gsf:metadata name="PersonalAuthors^all"/>
221 <gsf:when test="exists">
222 <gsf:switch>
223 <gsf:metadata name="CorporateBodies^all"/>
224 <gsf:when test="exists"><gsf:metadata name="PersonalAuthors"/> -</gsf:when>
225 <gsf:otherwise>
226 <gsf:metadata name="PersonalAuthors"/>
227 </gsf:otherwise>
228 </gsf:switch>
229 </gsf:when>
230 </gsf:switch>
231 <gsf:switch>
232 <gsf:metadata name="CorporateBodies^all"/>
233 <gsf:when test="exists">
234 <gsf:metadata name="CorporateBodies^all"/>
235 </gsf:when>
236 </gsf:switch>
237 </i>
238 </td>
239 </gsf:template>
240 <gsf:template match="classifierNode" mode="horizontal">
241 <gsf:format-gs2><![CDATA[[link][highlight]{Or}{[dls.Title],[dc.Title],[Title],Untitled}[/highlight][/link]]]></gsf:format-gs2>
242 <gsf:link type="classifier">
243 <span class="highlight">
244 <gsf:choose-metadata><gsf:metadata name="dls.Title"/><gsf:metadata name="dc.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata>
245 </span>
246 </gsf:link>
247 </gsf:template>
248 </format>
249 </browse>
250 <display>
251 <format> <gsf:option name="TOC" value="true"/>
252 <gsf:option name="AllowUserComments" value="false"/>
253<!--
254Overwriting this template allows you to change the heading of the document.
255-->
256<!--
257<gsf:template name="documentHeading">
258<span style="font-weight:bold; font-size: 120%;">
259<xsl:call-template name="choose-title"/>
260</span>
261</gsf:template>
262-->
263<!--
264Overwriting 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.
265-->
266<!--
267<gsf:template name="documentContent">
268<div id="gs-document">
269<xsl:call-template name="documentPre"/>
270<xsl:call-template name="wrappedSectionImage"/>
271<div id="gs-document-text">
272<xsl:call-template name="documentNodeText"/>
273</div>
274</div>
275</gsf:template>
276-->
277<!--
278Overwriting this template can be used to change the content of section headings.
279-->
280<!--
281<gsf:template name="sectionHeading">
282<xsl:call-template name="choose-title"/>
283</gsf:template>
284-->
285<!--
286Overwriting this template can be used to change the content of the top-level section.
287-->
288<!--
289<gsf:template name="topLevelSectionContent">
290<xsl:call-template name="wrappedSectionImage"/>
291<xsl:call-template name="wrappedSectionText"/>
292</gsf:template>
293-->
294<!--
295Overwriting this template can be used to change the content of sections.
296-->
297<!--
298<gsf:template name="sectionContent">
299<xsl:call-template name="wrappedSectionImage"/>
300<xsl:call-template name="wrappedSectionText"/>
301</gsf:template>
302-->
303
304</format>
305 </display>
306 <replaceListRef id="gs2-standard"/>
307</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.