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"/>
|
---|
5 | <metadata lang="en" name="maintainer"/>
|
---|
6 | <metadata lang="en" name="public">true</metadata>
|
---|
7 | </metadataList>
|
---|
8 | <displayItemList>
|
---|
9 | <displayItem dictionary="collectionConfig" key="name" name="name"/>
|
---|
10 | <displayItem lang="en" name="name">OAI demo</displayItem>
|
---|
11 | <displayItem dictionary="collectionConfig" key="shortDescription" name="shortDescription"/>
|
---|
12 | <displayItem dictionary="collectionConfig" key="description1" name="description1"/>
|
---|
13 | <displayItem dictionary="collectionConfig" key="description2" name="description2"/>
|
---|
14 | <displayItem dictionary="collectionConfig" key="description3" name="description3"/>
|
---|
15 | <displayItem dictionary="collectionConfig" key="description4" name="description4"/>
|
---|
16 | <displayItem dictionary="collectionConfig" key="description5" name="description5"/>
|
---|
17 | <displayItem dictionary="collectionConfig" key="description6" name="description6"/>
|
---|
18 | <displayItem dictionary="collectionConfig" key="description7" name="description7"/>
|
---|
19 | <displayItem dictionary="collectionConfig" key="description8" name="description8"/>
|
---|
20 | <displayItem dictionary="collectionConfig" key="description9" name="description9"/>
|
---|
21 | <displayItem dictionary="collectionConfig" key="description10" name="description10"/>
|
---|
22 | <displayItem dictionary="collectionConfig" key="description11" name="description11"/>
|
---|
23 | <displayItem dictionary="collectionConfig" key="description12" name="description12"/>
|
---|
24 | <displayItem dictionary="collectionConfig" key="Rights" name="Rights"/>
|
---|
25 | <displayItem dictionary="collectionConfig" key="Caption" name="Caption"/>
|
---|
26 | <displayItem dictionary="collectionConfig" key="Publisher" name="Publisher"/>
|
---|
27 | <displayItem dictionary="collectionConfig" key="original" name="original"/>
|
---|
28 | <displayItem dictionary="collectionConfig" key="Subject" name="Subject"/>
|
---|
29 | <displayItem dictionary="collectionConfig" key="available" name="available"/>
|
---|
30 | <displayItem dictionary="collectionConfig" key="sampleoid" name="sampleoid"/>
|
---|
31 | <displayItem dictionary="collectionConfig" key="document" name="document"/>
|
---|
32 | </displayItemList>
|
---|
33 | <format/>
|
---|
34 | <search type="mg">
|
---|
35 | <index name="document:ex.dc.Description">
|
---|
36 | <displayItem assigned="true" dictionary="collectionConfig" key="index_Description" name="name"/>
|
---|
37 | </index>
|
---|
38 | <defaultIndex name="document:ex.dc.Description"/>
|
---|
39 | <indexOption name="casefold"/>
|
---|
40 | <indexOption name="stem"/>
|
---|
41 | <searchType name="plain"/>
|
---|
42 | <searchType name="simpleform"/>
|
---|
43 | <searchType name="advancedform"/>
|
---|
44 | <format>
|
---|
45 | <gsf:template match="documentNode">
|
---|
46 | <gsf:format-gs2><![CDATA[<td>[link][thumbicon][/link]</td> <td valign=middle><i>[ex.dc.Description]</i></td>]]></gsf:format-gs2>
|
---|
47 | <td>
|
---|
48 | <gsf:link type="document">
|
---|
49 | <gsf:metadata name="thumbicon"/>
|
---|
50 | </gsf:link>
|
---|
51 | </td>
|
---|
52 | <td valign="middle">
|
---|
53 | <i>
|
---|
54 | <gsf:metadata name="ex.dc.Description"/>
|
---|
55 | </i>
|
---|
56 | </td>
|
---|
57 | </gsf:template>
|
---|
58 | </format>
|
---|
59 | </search>
|
---|
60 | <infodb type="gdbm"/>
|
---|
61 | <import>
|
---|
62 | <pluginList>
|
---|
63 | <plugin name="OAIPlugin">
|
---|
64 | <option name="-default_language" value="en"/>
|
---|
65 | <option name="-input_encoding" value="iso_8859_1"/>
|
---|
66 | <option name="-document_field" value="ex.dc.Identifier"/>
|
---|
67 | </plugin>
|
---|
68 | <plugin name="ImagePlugin">
|
---|
69 | <option name="-screenviewsize" value="300"/>
|
---|
70 | <option name="-OIDtype" value="assigned"/>
|
---|
71 | <option name="-OIDmetadata" value="ex.dc.Title"/>
|
---|
72 | </plugin>
|
---|
73 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
74 | <plugin name="MetadataXMLPlugin"/>
|
---|
75 | <plugin name="ArchivesInfPlugin"/>
|
---|
76 | <plugin name="DirectoryPlugin"/>
|
---|
77 | </pluginList>
|
---|
78 | </import>
|
---|
79 | <browse>
|
---|
80 | <classifier name="AZCompactList">
|
---|
81 | <option name="-metadata" value="ex.dc.Subject"/>
|
---|
82 | <option name="-buttonname" value="Subjects"/>
|
---|
83 | <option name="-doclevel" value="top"/>
|
---|
84 | <format>
|
---|
85 | <gsf:template match="documentNode">
|
---|
86 | <gsf:format-gs2><![CDATA[<td>{If}{[numleafdocs],[link][icon][/link],[link][thumbicon][/link]}</td><td valign=middle>{If}{[numleafdocs],[Title],<i>[ex.dc.Description]</i>}</td>]]></gsf:format-gs2>
|
---|
87 | <td>
|
---|
88 | <gsf:link type="document">
|
---|
89 | <gsf:metadata name="thumbicon"/>
|
---|
90 | </gsf:link>
|
---|
91 | </td>
|
---|
92 | <td valign="middle">
|
---|
93 | <i>
|
---|
94 | <gsf:metadata name="ex.dc.Description"/>
|
---|
95 | </i>
|
---|
96 | </td>
|
---|
97 | </gsf:template>
|
---|
98 | <gsf:template match="classifierNode">
|
---|
99 | <gsf:format-gs2><![CDATA[<td>{If}{[numleafdocs],[link][icon][/link],[link][thumbicon][/link]}</td><td valign=middle>{If}{[numleafdocs],[Title],<i>[ex.dc.Description]</i>}</td>]]></gsf:format-gs2>
|
---|
100 | <td>
|
---|
101 | <gsf:link type="classifier">
|
---|
102 | <gsf:icon type="classifier"/>
|
---|
103 | </gsf:link>
|
---|
104 | </td>
|
---|
105 | <td valign="middle">
|
---|
106 | <gsf:metadata name="Title"/>
|
---|
107 | </td>
|
---|
108 | </gsf:template>
|
---|
109 | </format>
|
---|
110 | </classifier>
|
---|
111 | <classifier name="AZCompactList">
|
---|
112 | <option name="-metadata" value="ex.dc.Description"/>
|
---|
113 | <option name="-mingroup" value="10"/>
|
---|
114 | <option name="-mincompact" value="5"/>
|
---|
115 | <option name="-minnesting" value="7"/>
|
---|
116 | <option name="-buttonname" value="Captions"/>
|
---|
117 | <option name="-maxcompact" value="10"/>
|
---|
118 | <format>
|
---|
119 | <gsf:template match="documentNode">
|
---|
120 | <gsf:format-gs2><![CDATA[<td>{If}{[numleafdocs],[link][icon][/link],[link][thumbicon][/link]}</td><td valign=middle>{If}{[numleafdocs],[Title],<i>[ex.dc.Description]</i>}</td>]]></gsf:format-gs2>
|
---|
121 | <td>
|
---|
122 | <gsf:link type="document">
|
---|
123 | <gsf:metadata name="thumbicon"/>
|
---|
124 | </gsf:link>
|
---|
125 | </td>
|
---|
126 | <td valign="middle">
|
---|
127 | <i>
|
---|
128 | <gsf:metadata name="ex.dc.Description"/>
|
---|
129 | </i>
|
---|
130 | </td>
|
---|
131 | </gsf:template>
|
---|
132 | <gsf:template match="classifierNode">
|
---|
133 | <gsf:format-gs2><![CDATA[<td>{If}{[numleafdocs],[link][icon][/link],[link][thumbicon][/link]}</td><td valign=middle>{If}{[numleafdocs],[Title],<i>[ex.dc.Description]</i>}</td>]]></gsf:format-gs2>
|
---|
134 | <td>
|
---|
135 | <gsf:link type="classifier">
|
---|
136 | <gsf:icon type="classifier"/>
|
---|
137 | </gsf:link>
|
---|
138 | </td>
|
---|
139 | <td valign="middle">
|
---|
140 | <gsf:metadata name="Title"/>
|
---|
141 | </td>
|
---|
142 | </gsf:template>
|
---|
143 | </format>
|
---|
144 | </classifier>
|
---|
145 | <format> <gsf:template match="documentNode">
|
---|
146 | <gsf:format-gs2><![CDATA[
|
---|
147 | <td>[link][thumbicon][/link]
|
---|
148 | </td>
|
---|
149 | <td valign=middle>
|
---|
150 | <i>[ex.dc.Description]
|
---|
151 | </i>
|
---|
152 | </td>]]></gsf:format-gs2>
|
---|
153 | <td>
|
---|
154 | <gsf:link type="document">
|
---|
155 | <gsf:metadata name="thumbicon"/>
|
---|
156 | </gsf:link>
|
---|
157 | </td>
|
---|
158 | <td valign="middle">
|
---|
159 | <i>
|
---|
160 | <gsf:metadata name="ex.dc.Description"/>
|
---|
161 | </i>
|
---|
162 | </td>
|
---|
163 | </gsf:template>
|
---|
164 | <gsf:template match="classifierNode">
|
---|
165 | <gsf:format-gs2><![CDATA[
|
---|
166 | <td>[link][thumbicon][/link]
|
---|
167 | </td>
|
---|
168 | <td valign=middle>
|
---|
169 | <i>[ex.dc.Description]
|
---|
170 | </i>
|
---|
171 | </td>]]></gsf:format-gs2>
|
---|
172 | <td>
|
---|
173 | <gsf:link type="classifier">
|
---|
174 | <gsf:metadata name="thumbicon"/>
|
---|
175 | </gsf:link>
|
---|
176 | </td>
|
---|
177 | <td valign="middle">
|
---|
178 | <i>
|
---|
179 | <gsf:metadata name="ex.dc.Description"/>
|
---|
180 | </i>
|
---|
181 | </td>
|
---|
182 | </gsf:template>
|
---|
183 | <gsf:template match="classifierNode" mode="horizontal">
|
---|
184 | <gsf:format-gs2><![CDATA[[link][highlight][ex.Title][/highlight][/link]]]></gsf:format-gs2>
|
---|
185 | <gsf:link type="classifier">
|
---|
186 | <span class="highlight">
|
---|
187 | <gsf:metadata name="Title"/>
|
---|
188 | </span>
|
---|
189 | </gsf:link>
|
---|
190 | </gsf:template>
|
---|
191 |
|
---|
192 | </format>
|
---|
193 | </browse>
|
---|
194 | <display>
|
---|
195 | <format> <gsf:option name="TOC" value="true"/>
|
---|
196 | <gsf:option name="AllowUserComments" value="false"/>
|
---|
197 |
|
---|
198 | <gsf:template name="documentHeading">
|
---|
199 | <span style="font-weight:bold; font-size: 120%;">
|
---|
200 | <gsf:metadata name="ex.dc.Subject"/>
|
---|
201 | </span>
|
---|
202 | </gsf:template>
|
---|
203 |
|
---|
204 |
|
---|
205 | <gsf:template name="documentContent">
|
---|
206 | <div id="gs-document">
|
---|
207 | <xsl:call-template name="documentPre"/>
|
---|
208 |
|
---|
209 | <div id="gs-document-text">
|
---|
210 | <xsl:call-template name="documentNodeText"/>
|
---|
211 |
|
---|
212 | <center><table width="537px;" border="1px solid black">
|
---|
213 | <tr><td colspan="2" align="center">
|
---|
214 | <a><xsl:attribute name="href">
|
---|
215 | <xsl:value-of select='$library_name'/>
|
---|
216 | <xsl:text>/sites/localsite/</xsl:text>
|
---|
217 | <xsl:text>collect/</xsl:text>
|
---|
218 | <xsl:value-of select='/page/pageResponse/collection/@name'/>
|
---|
219 | <xsl:text>/index/assoc/</xsl:text>
|
---|
220 | <gsf:metadata name="assocfilepath" pos="first"/>/<gsf:metadata name="srclinkFile"/>
|
---|
221 | </xsl:attribute>
|
---|
222 | <gsf:metadata name="screenicon"/></a></td></tr>
|
---|
223 | <tr><td><gsf:displayItem name="Caption"/>:</td><td> <i><gsf:metadata name="ex.dc.Description"/></i><br/>
|
---|
224 | (<a><xsl:attribute name="href"><gsf:metadata name="ex.dc.OrigURL"/></xsl:attribute><gsf:displayItem name="original"/> <gsf:metadata name="ImageWidth"/>x<gsf:metadata name="ImageHeight"/> <gsf:metadata name="ImageType"/> <gsf:displayItem name="available"/></a>)
|
---|
225 | </td></tr>
|
---|
226 | <tr><td><gsf:displayItem name="Subject"/>:</td><td> <gsf:metadata name="ex.dc.Subject"/></td></tr>
|
---|
227 | <tr><td><gsf:displayItem name="Publisher"/>:</td><td> <gsf:metadata name="ex.dc.Publisher"/></td></tr>
|
---|
228 | <tr><td><gsf:displayItem name="Rights"/>:</td><td> <gsf:metadata name="ex.dc.Rights"/></td></tr>
|
---|
229 | </table></center>
|
---|
230 | </div>
|
---|
231 | </div>
|
---|
232 | </gsf:template>
|
---|
233 |
|
---|
234 | <!--
|
---|
235 | Overwriting this template allows you to change the heading of the document.
|
---|
236 | -->
|
---|
237 | <!--
|
---|
238 | <gsf:template name="documentHeading">
|
---|
239 | <span style="font-weight:bold; font-size: 120%;">
|
---|
240 | <xsl:call-template name="choose-title"/>
|
---|
241 | </span>
|
---|
242 | </gsf:template>
|
---|
243 | -->
|
---|
244 | <!--
|
---|
245 | Overwriting 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.
|
---|
246 | -->
|
---|
247 | <!--
|
---|
248 | <gsf:template name="documentContent">
|
---|
249 | <div id="gs-document">
|
---|
250 | <xsl:call-template name="documentPre"/>
|
---|
251 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
252 | <div id="gs-document-text">
|
---|
253 | <xsl:call-template name="documentNodeText"/>
|
---|
254 | </div>
|
---|
255 | </div>
|
---|
256 | </gsf:template>
|
---|
257 | -->
|
---|
258 | <!--
|
---|
259 | Overwriting this template can be used to change the content of section headings.
|
---|
260 | -->
|
---|
261 | <!--
|
---|
262 | <gsf:template name="sectionHeading">
|
---|
263 | <xsl:call-template name="choose-title"/>
|
---|
264 | </gsf:template>
|
---|
265 | -->
|
---|
266 | <!--
|
---|
267 | Overwriting this template can be used to change the content of the top-level section.
|
---|
268 | -->
|
---|
269 | <!--
|
---|
270 | <gsf:template name="topLevelSectionContent">
|
---|
271 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
272 | <xsl:call-template name="wrappedSectionText"/>
|
---|
273 | </gsf:template>
|
---|
274 | -->
|
---|
275 | <!--
|
---|
276 | Overwriting this template can be used to change the content of sections.
|
---|
277 | -->
|
---|
278 | <!--
|
---|
279 | <gsf:template name="sectionContent">
|
---|
280 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
281 | <xsl:call-template name="wrappedSectionText"/>
|
---|
282 | </gsf:template>
|
---|
283 | -->
|
---|
284 |
|
---|
285 | </format>
|
---|
286 | </display>
|
---|
287 | <replaceListRef id="gs2-standard"/>
|
---|
288 | <replaceListRef id="gs2-image"/>
|
---|
289 | </CollectionConfig>
|
---|