source: main/trunk/greenstone3/web/sites/localsite/collect/gs2mgdemo/etc/collectionConfig.xml@ 21788

Last change on this file since 21788 was 21788, checked in by kjdon, 14 years ago

changed OAI element to serviceRack

File size: 7.4 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="description">This is a demonstration collection for the Greenstone3 digital library software. It contains a small subset (11 books) of the Humanitarian and Development Libraries. It is the Greenstone 3 equivalent of the Greenstone 2 demo collection, built with MG.</displayItem>
10 <displayItem assigned="true" lang="en" name="smallicon">gs2mgdemo_sm.gif</displayItem>
11 <displayItem assigned="true" lang="en" name="icon">gs2mgdemo.gif</displayItem>
12 <displayItem assigned="true" lang="en" name="name">MG demo</displayItem>
13 </displayItemList>
14 <search type="mg">
15 <index name="section:text">
16 <displayItem lang="ru" name="name">Главы</displayItem>
17 <displayItem lang="en" name="name">chapters</displayItem>
18 <displayItem lang="es" name="name">capítulos</displayItem>
19 <displayItem lang="fr" name="name">chapitres</displayItem>
20 </index>
21 <index name="document:text">
22 <displayItem lang="ru" name="name">ППлМые ЎПкуЌеМты</displayItem>
23 <displayItem lang="en" name="name">entire documents</displayItem>
24 <displayItem lang="es" name="name">documentos enteros</displayItem>
25 <displayItem lang="fr" name="name">documents entiers</displayItem>
26 </index>
27 <index name="section:Title">
28 <displayItem lang="ru" name="name">НазваМОя разЎелПв</displayItem>
29 <displayItem lang="en" name="name">section titles</displayItem>
30 <displayItem lang="es" name="name">títulos de las secciones</displayItem>
31 <displayItem lang="fr" name="name">titres des sections</displayItem>
32 </index>
33 <indexOption>
34 <option name="casefold"/>
35 <option name="stem"/>
36 </indexOption>
37 <format name="searchType">plain,form</format>
38 <format><gsf:template match="documentNode"><td valign="top"><gsf:link type="document"><gsf:icon type="document"/></gsf:link></td><td><gsf:switch><gsf:metadata name="Title" select="ancestors" separator=": "/><gsf:when test="exists"><gsf:metadata name="Title" select="ancestors" separator=": "/>:</gsf:when></gsf:switch><gsf:link type="document"><gsf:metadata name="Title"/></gsf:link></td></gsf:template></format>
39 </search>
40 <import>
41 <pluginList>
42 <plugin name="GreenstoneXMLPlugin"/>
43 <plugin name="HTMLPlugin">
44 <option name="-description_tags"/>
45 </plugin>
46 <plugin name="MetadataXMLPlugin"/>
47 <plugin name="ArchivesInfPlugin"/>
48 <plugin name="DirectoryPlugin"/>
49 </pluginList>
50 </import>
51 <browse>
52 <classifier name="List">
53 <option name="-metadata" value="dls.Title"/>
54 <option name="-partition_type_within_level" value="constant_size"/>
55 </classifier>
56 <classifier name="Hierarchy">
57 <option name="-metadata" value="dls.Subject"/>
58 <option name="-sort" value="dls.Title"/>
59 </classifier>
60 <classifier name="List">
61 <option name="-metadata" value="dls.Organization"/>
62 <option name="-sort_leaf_nodes_using" value="dls.Title"/>
63 <option name="-partition_type_within_level" value="constant_size"/>
64 <option name="-bookshelf_type" value="always"/>
65 <option name="-buttonname" value="Organization"/>
66 </classifier>
67 <classifier name="List">
68 <option name="-metadata" value="dls.Keyword"/>
69 <option name="-buttonname" value="Howto"/>
70 <option name="-partition_type_within_level" value="constant_size"/>
71 <format><gsf:template match="documentNode"><td><gsf:link type="document"><gsf:metadata name="dls.Keyword"/></gsf:link></td></gsf:template><gsf:template match="classifierNode"><td><gsf:link type="classifier"><gsf:metadata name="Title"/></gsf:link></td></gsf:template></format>
72 </classifier>
73 <format><gsf:template match="documentNode"><td valign="top"><gsf:link type="document"><gsf:icon type="document"/></gsf:link></td><td valign="top"><gsf:metadata name="srclink"/><gsf:choose-metadata><gsf:metadata name="thumbicon"/><gsf:metadata name="srcicon"/></gsf:choose-metadata><gsf:metadata name="/srclink"/></td><td valign="top"><gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/><gsf:default>Untitled</gsf:default></gsf:choose-metadata><gsf:switch><gsf:metadata name="Source"/><gsf:when test="exists"><br/><i>(<gsf:metadata name="Source"/>)</i></gsf:when></gsf:switch></td></gsf:template><gsf:template match="classifierNode"><td valign="top"><gsf:link type="classifier"><gsf:icon type="classifier"/></gsf:link></td><td valign="top"><gsf:metadata name="Title"/></td></gsf:template><gsf:template match="classifierNode" mode="horizontal"><gsf:link type="horizontal"><gsf:metadata name="Title"/></gsf:link></gsf:template></format>
74 </browse>
75 <display>
76 <format><gsf:option name="TOC" value="true"/></format>
77 </display>
78 <replaceListRef id="gs2-standard"/>
79 <serviceRackList>
80 <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
81 <serviceRack name="OAIPMH">
82 <ListMetadataFormats>
83 <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
84 The support of unqualified Dublin Core metadata set is mendatory in the oai specification.
85 -->
86 <metadataFormat metadataPrefix="oai_dc">
87 <metadataPrefix>oai_dc</metadataPrefix>
88 <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
89 <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
90 <mappingList>
91 <!--
92 The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
93 The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
94 searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
95 number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
96 if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
97
98 **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.
99 -->
100 <mapping>dc.Title,dls.Title</mapping>
101 <mapping>dc.Subject,dls.Subject</mapping>
102 <mapping>dc.Language,dls.Language</mapping>
103 <mapping>dc.Organization,dls.Organization</mapping>
104 </mappingList>
105 </metadataFormat>
106 </ListMetadataFormats>
107 </serviceRack>
108 </serviceRackList>
109</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.