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

Last change on this file since 14213 was 14213, checked in by xiao, 17 years ago

add the OAI element containing ListMetadataFormats of a list of metadata formats this collection supports. Each metadataFormat contains a mappingList if the collection does not contain the standard Dublin Core metadata. See the comments in the collectionConfig.xml in modelcol/etc/ for how to write this OAI element.

File size: 25.3 KB
1<?xml version="1.0" encoding="UTF-8"?>
2<CollectionConfig xmlns:gsf="" xmlns:xsl="">
4 <ListMetadataFormats>
5 <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
6 The support of unqualified Dublin Core metadata set is mendatory in the oai specification.
7 -->
8 <metadataFormat metadataPrefix="oai_dc">
9 <metadataPrefix>oai_dc</metadataPrefix>
10 <schema></schema>
11 <metadataNamespace></metadataNamespace>
12 <mappingList>
13 <!--
14 The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
15 The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
16 searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
17 number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
18 if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
20 **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.
21 -->
22 <mapping>dc.Title,dls.Title</mapping>
23 <mapping>dc.Subject,dls.Subject</mapping>
24 <mapping>dc.Language,dls.Language</mapping>
25 <mapping>dc.Organization,dls.Organization</mapping>
26 </mappingList>
27 </metadataFormat>
28 </ListMetadataFormats>
30 <metadataList>
31 <metadata lang="en" name="creator">[email protected]</metadata>
32 <metadata lang="en" name="maintainer"/>
33 <metadata lang="en" name="public">true</metadata>
34 </metadataList>
35 <displayItemList>
36 <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 a Greenstone2 collection, built with MG. The Greenstone2 configuration files have been converted to Greenstone3 equivalents, enabling it to be served using Greenstone3.</displayItem>
37 <displayItem assigned="true" lang="en" name="smallicon">gs2mgdemo_sm.gif</displayItem>
38 <displayItem assigned="true" lang="en" name="icon">gs2mgdemo.gif</displayItem>
39 <displayItem assigned="true" lang="en" name="name">Greenstone2 MG demo collection</displayItem>
40 </displayItemList>
41 <search type="mg">
42 <index name="section:text">
43 <displayItem lang="ru" name="name">Главы</displayItem>
44 <displayItem lang="en" name="name">chapters</displayItem>
45 <displayItem lang="es" name="name">capítulos</displayItem>
46 <displayItem lang="fr" name="name">chapitres</displayItem>
47 </index>
48 <index name="document:text">
49 <displayItem lang="ru" name="name">ППлМые ЎПкуЌеМты</displayItem>
50 <displayItem lang="en" name="name">entire documents</displayItem>
51 <displayItem lang="es" name="name">documentos enteros</displayItem>
52 <displayItem lang="fr" name="name">documents entiers</displayItem>
53 </index>
54 <index name="section:Title">
55 <displayItem lang="ru" name="name">НазваМОя разЎелПв</displayItem>
56 <displayItem lang="en" name="name">section titles</displayItem>
57 <displayItem lang="es" name="name">títulos de las secciones</displayItem>
58 <displayItem lang="fr" name="name">titres des sections</displayItem>
59 </index>
60 <format name="searchType">plain,form</format>
61 <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>
62 </search>
63 <import>
64 <pluginList>
65 <plugin name="GAPlug"/>
66 <plugin name="HTMLPlug">
67 <option name="-description_tags"/>
68 </plugin>
69 <plugin name="MetadataXMLPlug"/>
70 <plugin name="ArcPlug"/>
71 <plugin name="RecPlug"/>
72 </pluginList>
73 </import>
74 <browse>
75 <classifier name="Hierarchy">
76 <option name="-metadata" value="dls.Subject"/>
77 <option name="-sort" value="dls.Title"/>
78 <option name="-buttonname" value="Subject"/>
79 </classifier>
80 <classifier name="AZList">
81 <option name="-metadata" value="dls.Title"/>
82 <format><gsf:template match="classifierNode" mode="horizontal"> <gsf:link type="horizontal"> <gsf:metadata name="Title"/> </gsf:link> </gsf:template></format>
83 </classifier>
84 <classifier name="AZCompactList">
85 <option name="-metadata" value="dls.Organization"/>
86 <option name="-sort" value="dls.Title"/>
87 <option name="-buttonname" value="Organization"/>
88 <option name="-mingroup" value="1"/>
89 </classifier>
90 <classifier name="List">
91 <option name="-metadata" value="dls.Keyword"/>
92 <option name="-buttonname" value="Howto"/>
93 </classifier>
94 <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="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" mode="horizontal"> <gsf:link type="horizontal"> <gsf:metadata name="Title"/> </gsf:link> </gsf:template></format>
95 </browse>
96 <display>
97 <format><gsf:template match="documentcontent"> </gsf:template> <gsf:option name="TOC" value="true"/> </format>
98 </display>
99 <replaceListRef id="gs2-standard"/>
Note: See TracBrowser for help on using the repository browser.