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

Last change on this file since 30641 was 30641, checked in by kjdon, 8 years ago

small tidying up

File size: 5.9 KB
RevLine 
[14196]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">
[30640]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="name">MG demo</displayItem>
11 </displayItemList>
12 <search type="mg">
13 <index name="section:text">
[30641]14 <displayItem name="name" key="level.chapter"/>
[30640]15 </index>
16 <index name="document:text">
17 <displayItem lang="ru" name="name">ППлМые ЎПкуЌеМты</displayItem>
18 <displayItem lang="en" name="name">entire documents</displayItem>
19 <displayItem lang="es" name="name">documentos enteros</displayItem>
20 <displayItem lang="fr" name="name">documents entiers</displayItem>
21 </index>
22 <index name="section:Title">
23 <displayItem lang="ru" name="name">НазваМОя разЎелПв</displayItem>
24 <displayItem lang="en" name="name">section titles</displayItem>
25 <displayItem lang="es" name="name">títulos de las secciones</displayItem>
26 <displayItem lang="fr" name="name">titres des sections</displayItem>
27 </index>
28 <indexOption>
29 <option name="casefold"/>
30 <option name="stem"/>
31 </indexOption>
32 <searchType name="plain"/>
33 <searchType name="simpleform"/>
34 <searchType name="advancedform"/>
35 <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>
36 </search>
37 <infodb type="gdbm"/>
38 <import>
39 <pluginList>
40 <plugin name="GreenstoneXMLPlugin"/>
41 <plugin name="HTMLPlugin">
42 <option name="-description_tags"/>
43 </plugin>
44 <plugin name="MetadataXMLPlugin"/>
45 <plugin name="ArchivesInfPlugin"/>
46 <plugin name="DirectoryPlugin"/>
47 </pluginList>
48 </import>
49 <browse>
50 <classifier name="List">
51 <option name="-metadata" value="dc.Title"/>
52 <option name="-partition_type_within_level" value="constant_size"/>
53 </classifier>
54 <classifier name="Hierarchy">
55 <option name="-metadata" value="dc.Subject"/>
56 <option name="-sort" value="dc.Title"/>
57 </classifier>
58 <classifier name="List">
59 <option name="-metadata" value="dls.Organization"/>
60 <option name="-sort_leaf_nodes_using" value="dc.Title"/>
61 <option name="-partition_type_within_level" value="constant_size"/>
62 <option name="-bookshelf_type" value="always"/>
63 <option name="-buttonname" value="Organization"/>
64 </classifier>
65 <classifier name="List">
66 <option name="-metadata" value="dls.Keyword"/>
67 <option name="-buttonname" value="Howto"/>
68 <option name="-partition_type_within_level" value="constant_size"/>
69 <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>
70 </classifier>
71 <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>
72 </browse>
73 <display>
74 <format><gsf:option name="TOC" value="true"/></format>
75 </display>
76 <replaceListRef id="gs2-standard"/>
77 <serviceRackList>
78 <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
79 <serviceRack name="OAIPMH">
80 <setName>MG demo collection</setName>
81 <setDescription>A demo collection for greenstone, using MG and GDBM.</setDescription>
82 <!-- uncomment the following and set the name attribute if you want this
83 collection to be part of a super set. -->
84 <!--<oaiSuperSet name="xxx"/>-->
85 <ListMetadataFormats>
86 <!--What metadata sets to support for this collection. You can select any set that is specified in OAIConfig.xml. To use a new set, you need to add a set definition in OAIConfig.xml, then reference it here, like:
87 <metadataFormat metadataPrefix="prefix"/> -->
88 <metadataFormat metadataPrefix="oai_dc">
89 <!-- a custom mapping as this collection doesn't have exclusive dc metadata --><!-- this will replace the dc:publisher element from the main set -->
90 <element name="dc:publisher">
91 <mapping elements="dls.Organization"/>
92 </element>
93 </metadataFormat>
94 </ListMetadataFormats>
95 </serviceRack>
96 </serviceRackList>
[14196]97</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.