[14188] | 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>
|
---|
[16986] | 4 | <metadata lang="en" name="creator"/>
|
---|
[14188] | 5 | <metadata lang="en" name="maintainer"/>
|
---|
[25243] | 6 | <metadata lang="en" name="public">true</metadata>
|
---|
[14188] | 7 | </metadataList>
|
---|
| 8 | <displayItemList>
|
---|
[25825] | 9 | <displayItem lang="en" name="shortDescription">Demonstration collection containing a few books from the Humanitarian and Development Libraries. Uses MGPP and GDBM.</displayItem>
|
---|
[20031] | 10 | <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 MGPP.</displayItem>
|
---|
[25375] | 11 | <!--
|
---|
| 12 | <displayItem assigned="true" lang="en" name="smallicon">gs2mgppdemo_sm.gif</displayItem>
|
---|
| 13 | <displayItem assigned="true" lang="en" name="icon">gs2mgppdemo.gif</displayItem>
|
---|
| 14 | -->
|
---|
[20031] | 15 | <displayItem assigned="true" lang="en" name="name">MGPP demo</displayItem>
|
---|
[14188] | 16 | </displayItemList>
|
---|
| 17 | <search type="mgpp">
|
---|
[16986] | 18 | <level name="section">
|
---|
[20066] | 19 | <displayItem lang="en" name="name">chapter</displayItem>
|
---|
[16986] | 20 | </level>
|
---|
| 21 | <level name="document">
|
---|
[20066] | 22 | <displayItem lang="en" name="name">book</displayItem>
|
---|
[16986] | 23 | </level>
|
---|
[14188] | 24 | <defaultLevel name="section"/>
|
---|
| 25 | <index name="allfields">
|
---|
| 26 | <displayItem lang="en" name="name">all fields</displayItem>
|
---|
| 27 | </index>
|
---|
| 28 | <index name="text">
|
---|
| 29 | <displayItem lang="en" name="name">text</displayItem>
|
---|
| 30 | </index>
|
---|
[27031] | 31 | <index name="dc.Title,Title">
|
---|
[16986] | 32 | <displayItem lang="en" name="name">titles</displayItem>
|
---|
[14188] | 33 | </index>
|
---|
[27031] | 34 | <index name="dc.Subject">
|
---|
[14188] | 35 | <displayItem lang="en" name="name">subjects</displayItem>
|
---|
| 36 | </index>
|
---|
| 37 | <index name="dls.Organization">
|
---|
| 38 | <displayItem lang="en" name="name">organisations</displayItem>
|
---|
| 39 | </index>
|
---|
[27096] | 40 | <indexOption name="accentfold"/>
|
---|
| 41 | <indexOption name="casefold"/>
|
---|
| 42 | <indexOption name="stem"/>
|
---|
[23569] | 43 | <searchType name="plain"/>
|
---|
| 44 | <searchType name="simpleform"/>
|
---|
| 45 | <searchType name="advancedform"/>
|
---|
[16986] | 46 | <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>
|
---|
[14188] | 47 | </search>
|
---|
[24613] | 48 | <infodb type="gdbm"/>
|
---|
[14188] | 49 | <import>
|
---|
| 50 | <pluginList>
|
---|
[18303] | 51 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
[16986] | 52 | <plugin name="HTMLPlugin">
|
---|
[14188] | 53 | <option name="-description_tags"/>
|
---|
| 54 | </plugin>
|
---|
[16986] | 55 | <plugin name="MetadataXMLPlugin"/>
|
---|
| 56 | <plugin name="ArchivesInfPlugin"/>
|
---|
| 57 | <plugin name="DirectoryPlugin"/>
|
---|
[14188] | 58 | </pluginList>
|
---|
| 59 | </import>
|
---|
| 60 | <browse>
|
---|
[20066] | 61 | <classifier name="List">
|
---|
[27031] | 62 | <option name="-metadata" value="dc.Title"/>
|
---|
[20066] | 63 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
[14188] | 64 | </classifier>
|
---|
| 65 | <classifier name="Hierarchy">
|
---|
[27031] | 66 | <option name="-metadata" value="dc.Subject"/>
|
---|
| 67 | <option name="-sort" value="dc.Title"/>
|
---|
[14188] | 68 | </classifier>
|
---|
[20066] | 69 | <classifier name="List">
|
---|
[14188] | 70 | <option name="-metadata" value="dls.Organization"/>
|
---|
[27031] | 71 | <option name="-sort_leaf_nodes_using" value="dc.Title"/>
|
---|
[20066] | 72 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
| 73 | <option name="-bookshelf_type" value="always"/>
|
---|
[14188] | 74 | <option name="-buttonname" value="Organization"/>
|
---|
| 75 | </classifier>
|
---|
| 76 | <classifier name="List">
|
---|
| 77 | <option name="-metadata" value="dls.Keyword"/>
|
---|
| 78 | <option name="-buttonname" value="Howto"/>
|
---|
[20066] | 79 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
[16986] | 80 | <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>
|
---|
[14188] | 81 | </classifier>
|
---|
[24436] | 82 | <format><gsf:template match="documentNode"><td valign="top"><gsf:link type="document"><gsf:icon type="document"/></gsf:link></td><td valign="top"><gsf:link type="source"><gsf:choose-metadata><gsf:metadata name="thumbicon"/><gsf:metadata name="srcicon"/></gsf:choose-metadata></gsf:link></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:link type="source"><gsf:choose-metadata><gsf:metadata name="thumbicon"/><gsf:metadata name="srcicon"/></gsf:choose-metadata></gsf:link></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>
|
---|
[14188] | 83 | </browse>
|
---|
| 84 | <display>
|
---|
[16986] | 85 | <format><gsf:option name="TOC" value="true"/></format>
|
---|
[14188] | 86 | </display>
|
---|
| 87 | <replaceListRef id="gs2-standard"/>
|
---|
[24712] | 88 | <serviceRackList>
|
---|
[30086] | 89 | <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
| 90 | <serviceRack name="OAIPMH">
|
---|
| 91 | <setName>MGPP demo collection</setName>
|
---|
| 92 | <setDescription>A demo collection for greenstone, using MGPP and GDBM.</setDescription>
|
---|
| 93 | <!-- uncomment the following and set the name attribute if you want this
|
---|
| 94 | collection to be part of a super set. -->
|
---|
| 95 | <!--<oaiSuperSet name="xxx"/>-->
|
---|
| 96 | <ListMetadataFormats>
|
---|
| 97 | <!--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:
|
---|
| 98 | <metadataFormat metadataPrefix="prefix"/> -->
|
---|
| 99 | <metadataFormat metadataPrefix="oai_dc">
|
---|
| 100 | <!-- a custom mapping as this collection doesn't have exclusive dc metadata --><!-- this will replace the dc:publisher element from the main set -->
|
---|
| 101 | <element name="dc:publisher">
|
---|
| 102 | <mapping elements="dls.Organization"/>
|
---|
| 103 | </element>
|
---|
| 104 | </metadataFormat>
|
---|
| 105 | </ListMetadataFormats>
|
---|
| 106 | </serviceRack>
|
---|
[24712] | 107 | </serviceRackList>
|
---|
[14188] | 108 | </CollectionConfig>
|
---|