[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">
|
---|
[30637] | 3 | <metadataList>
|
---|
[30639] | 4 | <metadata lang="en" name="creator">Greenstone project</metadata>
|
---|
| 5 | <metadata lang="en" name="maintainer">Greenstone project</metadata>
|
---|
[30637] | 6 | <metadata lang="en" name="public">true</metadata>
|
---|
| 7 | </metadataList>
|
---|
| 8 | <displayItemList>
|
---|
[30665] | 9 | <displayItem lang="en" name="shortDescription">Demonstration collection using MGPP for the indexer and GDBM for the database.</displayItem>
|
---|
| 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) from the Humanity Development Library. It is the Greenstone 3 equivalent of the Greenstone 2 demo collection, built with MGPP and GDBM.</displayItem>
|
---|
[30637] | 11 | <displayItem assigned="true" lang="en" name="name">MGPP demo</displayItem>
|
---|
| 12 | </displayItemList>
|
---|
| 13 | <search type="mgpp">
|
---|
| 14 | <level name="section">
|
---|
[30639] | 15 | <displayItem name="name" key="level.chapter"/>
|
---|
[30637] | 16 | </level>
|
---|
| 17 | <level name="document">
|
---|
[30639] | 18 | <displayItem name="name" key="level.book"/>
|
---|
[30637] | 19 | </level>
|
---|
| 20 | <defaultLevel name="section"/>
|
---|
[30639] | 21 | <index name="allfields"/>
|
---|
| 22 | <index name="text"/>
|
---|
| 23 | <index name="dc.Title,Title"/>
|
---|
| 24 | <index name="dc.Subject"/>
|
---|
| 25 | <index name="dls.Organization"/>
|
---|
[30637] | 26 | <indexOption name="accentfold"/>
|
---|
| 27 | <indexOption name="casefold"/>
|
---|
| 28 | <indexOption name="stem"/>
|
---|
| 29 | <searchType name="plain"/>
|
---|
| 30 | <searchType name="simpleform"/>
|
---|
| 31 | <searchType name="advancedform"/>
|
---|
[30639] | 32 | <format>
|
---|
| 33 | <gsf:template match="documentNode">
|
---|
| 34 | <td valign="top"><gsf:link type="document"><gsf:icon type="document"/></gsf:link></td>
|
---|
| 35 | <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>
|
---|
| 36 | </gsf:template>
|
---|
| 37 | </format>
|
---|
[30637] | 38 | </search>
|
---|
| 39 | <infodb type="gdbm"/>
|
---|
| 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="dc.Title"/>
|
---|
| 54 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
| 55 | </classifier>
|
---|
| 56 | <classifier name="Hierarchy">
|
---|
| 57 | <option name="-metadata" value="dc.Subject"/>
|
---|
| 58 | <option name="-sort" value="dc.Title"/>
|
---|
| 59 | </classifier>
|
---|
| 60 | <classifier name="List">
|
---|
| 61 | <option name="-metadata" value="dls.Organization"/>
|
---|
| 62 | <option name="-sort_leaf_nodes_using" value="dc.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"/>
|
---|
[30639] | 71 | <format>
|
---|
| 72 | <gsf:template match="documentNode">
|
---|
| 73 | <td><gsf:link type="document"><gsf:metadata name="dls.Keyword"/></gsf:link></td>
|
---|
| 74 | </gsf:template>
|
---|
| 75 | <gsf:template match="classifierNode">
|
---|
| 76 | <td><gsf:link type="classifier"><gsf:metadata name="Title"/></gsf:link></td></gsf:template></format>
|
---|
[30637] | 77 | </classifier>
|
---|
[30639] | 78 | <format> <!-- general format statements for all classifiers that don't have their own versions -->
|
---|
| 79 | <gsf:template match="documentNode">
|
---|
| 80 | <td valign="top">
|
---|
| 81 | <gsf:link type="document">
|
---|
| 82 | <gsf:icon type="document"/>
|
---|
| 83 | </gsf:link>
|
---|
| 84 | </td>
|
---|
| 85 | <td valign="top">
|
---|
| 86 | <gsf:choose-metadata>
|
---|
| 87 | <gsf:metadata name="dc.Title"/>
|
---|
| 88 | <gsf:metadata name="Title"/>
|
---|
| 89 | <gsf:default>Untitled</gsf:default>
|
---|
| 90 | </gsf:choose-metadata>
|
---|
| 91 | </td>
|
---|
| 92 | </gsf:template>
|
---|
| 93 | <gsf:template match="classifierNode[@classifierStyle = 'VList']">
|
---|
| 94 | <td valign="top">
|
---|
| 95 | <gsf:link type="classifier">
|
---|
| 96 | <gsf:icon type="classifier"/>
|
---|
| 97 | </gsf:link>
|
---|
| 98 | </td>
|
---|
| 99 | <td valign="top">
|
---|
| 100 | <gsf:metadata name="Title"/>
|
---|
| 101 | </td>
|
---|
| 102 | </gsf:template>
|
---|
| 103 | <gsf:template match="classifierNode[@classifierStyle = 'HList']">
|
---|
| 104 | <gsf:link type="classifier">
|
---|
| 105 | <gsf:metadata name="Title"/>
|
---|
| 106 | </gsf:link>
|
---|
| 107 | </gsf:template>
|
---|
| 108 | </format>
|
---|
[30637] | 109 | </browse>
|
---|
| 110 | <display>
|
---|
| 111 | <format><gsf:option name="TOC" value="true"/></format>
|
---|
| 112 | </display>
|
---|
| 113 | <replaceListRef id="gs2-standard"/>
|
---|
| 114 | <serviceRackList>
|
---|
| 115 | <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
| 116 | <serviceRack name="OAIPMH">
|
---|
| 117 | <setName>MGPP demo collection</setName>
|
---|
| 118 | <setDescription>A demo collection for greenstone, using MGPP and GDBM.</setDescription>
|
---|
| 119 | <!-- uncomment the following and set the name attribute if you want this
|
---|
| 120 | collection to be part of a super set. -->
|
---|
| 121 | <!--<oaiSuperSet name="xxx"/>-->
|
---|
| 122 | <ListMetadataFormats>
|
---|
| 123 | <!--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:
|
---|
| 124 | <metadataFormat metadataPrefix="prefix"/> -->
|
---|
| 125 | <metadataFormat metadataPrefix="oai_dc">
|
---|
| 126 | <!-- a custom mapping as this collection doesn't have exclusive dc metadata --><!-- this will replace the dc:publisher element from the main set -->
|
---|
| 127 | <element name="dc:publisher">
|
---|
| 128 | <mapping elements="dls.Organization"/>
|
---|
| 129 | </element>
|
---|
| 130 | </metadataFormat>
|
---|
| 131 | </ListMetadataFormats>
|
---|
| 132 | </serviceRack>
|
---|
| 133 | </serviceRackList>
|
---|
[14188] | 134 | </CollectionConfig>
|
---|