[23907] | 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">
|
---|
[29105] | 3 | <!--<security scope="document" default_access="private">
|
---|
[29070] | 4 | <exception>
|
---|
| 5 | <group name="demo"/>
|
---|
| 6 | </exception>
|
---|
| 7 | <exception>
|
---|
[29105] | 8 | <documentSet name="publicset"/>
|
---|
[29070] | 9 | <group name=""/>
|
---|
| 10 | </exception>
|
---|
[29105] | 11 | <documentSet name="publicset">
|
---|
[29070] | 12 | <match>b17mie</match>
|
---|
| 13 | <match>b18ase</match>
|
---|
| 14 | <match>b20cre</match>
|
---|
| 15 | <match>b21wae</match>
|
---|
| 16 | </documentSet>
|
---|
[29105] | 17 | </security>-->
|
---|
[29069] | 18 | <metadataList>
|
---|
| 19 | <metadata lang="en" name="creator"></metadata>
|
---|
| 20 | <metadata lang="en" name="maintainer"></metadata>
|
---|
| 21 | <metadata lang="en" name="public">true</metadata>
|
---|
| 22 | </metadataList>
|
---|
| 23 | <displayItemList>
|
---|
| 24 | <displayItem assigned="true" lang="en" name="name">Demo Collection</displayItem>
|
---|
[29252] | 25 | <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 Lucene for indexing and JDBM as the database for metadata.
|
---|
[29069] | 26 | </displayItem>
|
---|
[29252] | 27 | <displayItem assigned="true" lang="en" name="shortDescription">Demonstration collection containing a few books from the Humanitarian and Development Libraries. Uses Lucene and JDBM.
|
---|
[29069] | 28 | </displayItem>
|
---|
[29252] | 29 | </displayItemList>
|
---|
[29069] | 30 | <format>
|
---|
| 31 | <!-- Define any global format statements here -->
|
---|
[27152] | 32 |
|
---|
[29069] | 33 | <!-- Setting the RSS option to true here will display a link to the collection's RSS feed on all
|
---|
| 34 | pages of the collection. Can include the RSS feed link in section specific format statements
|
---|
| 35 | too, such as search, if wishing to display the link only in particular sections.-->
|
---|
| 36 | <gsf:option name="RSS" value="true"/>
|
---|
| 37 | </format>
|
---|
| 38 | <search type="lucene">
|
---|
| 39 | <level name="section">
|
---|
| 40 | <displayItem lang="en" name="name">chapter</displayItem>
|
---|
| 41 | </level>
|
---|
| 42 | <level name="document">
|
---|
| 43 | <displayItem lang="en" name="name">book</displayItem>
|
---|
| 44 | </level>
|
---|
| 45 | <defaultLevel name="section"/>
|
---|
| 46 | <index name="allfields">
|
---|
| 47 | <displayItem lang="en" name="name">all fields</displayItem>
|
---|
| 48 | </index>
|
---|
| 49 | <index name="text">
|
---|
| 50 | <displayItem lang="en" name="name">text</displayItem>
|
---|
| 51 | </index>
|
---|
| 52 | <index name="dc.Title,Title">
|
---|
| 53 | <displayItem lang="en" name="name">titles</displayItem>
|
---|
| 54 | </index>
|
---|
| 55 | <index name="dc.Subject">
|
---|
| 56 | <displayItem lang="en" name="name">subjects</displayItem>
|
---|
| 57 | </index>
|
---|
| 58 | <index name="dls.Organization">
|
---|
| 59 | <displayItem lang="en" name="name">organisations</displayItem>
|
---|
| 60 | </index>
|
---|
[28032] | 61 | <sort name="rank">
|
---|
[29252] | 62 | <displayItem lang="en" name="name">rank</displayItem>
|
---|
[28032] | 63 | </sort>
|
---|
| 64 | <sort name="dls.Organization">
|
---|
| 65 | <displayItem lang="en" name="name">organisation</displayItem>
|
---|
| 66 | </sort>
|
---|
| 67 | <sort name="none">
|
---|
| 68 | <displayItem lang="en" name="name">natural (build) order</displayItem>
|
---|
| 69 | </sort>
|
---|
| 70 | <searchType name="plain"/>
|
---|
[29069] | 71 | <searchType name="simpleform"/>
|
---|
| 72 | <searchType name="advancedform"/>
|
---|
| 73 | <format>
|
---|
| 74 | <gsf:template match="documentNode">
|
---|
| 75 | <td valign="top">
|
---|
| 76 | <gsf:link type="document">
|
---|
| 77 | <gsf:icon type="document"/>
|
---|
| 78 | </gsf:link>
|
---|
| 79 | </td>
|
---|
[28032] | 80 | <td>
|
---|
[29070] | 81 | <gsf:choose-metadata>
|
---|
| 82 | <gsf:metadata name="dc.Title"/>
|
---|
| 83 | <gsf:metadata name="Title"/>
|
---|
| 84 | <gsf:default>Untitled</gsf:default>
|
---|
| 85 | </gsf:choose-metadata>
|
---|
[29069] | 86 | </td>
|
---|
[29252] | 87 | </gsf:template>
|
---|
[29069] | 88 | </format>
|
---|
| 89 | </search>
|
---|
| 90 | <infodb type="jdbm"/>
|
---|
| 91 | <import>
|
---|
| 92 | <pluginList>
|
---|
| 93 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
| 94 | <plugin name="HTMLPlugin">
|
---|
| 95 | <option name="-description_tags"/>
|
---|
| 96 | </plugin>
|
---|
| 97 | <plugin name="MetadataXMLPlugin"/>
|
---|
| 98 | <plugin name="ArchivesInfPlugin"/>
|
---|
| 99 | <plugin name="DirectoryPlugin"/>
|
---|
| 100 | </pluginList>
|
---|
| 101 | </import>
|
---|
[28032] | 102 | <importOption name="OIDtype" value="dirname"/>
|
---|
| 103 | <buildOption name="sections_sort_on_document_metadata" value="unless_section_metadata_exists"/>
|
---|
[29069] | 104 | <browse>
|
---|
| 105 | <classifier name="List">
|
---|
| 106 | <option name="-metadata" value="dc.Title"/>
|
---|
| 107 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
| 108 | </classifier>
|
---|
| 109 | <classifier name="Hierarchy">
|
---|
| 110 | <option name="-metadata" value="dc.Subject"/>
|
---|
| 111 | <option name="-sort" value="dc.Title"/>
|
---|
| 112 | </classifier>
|
---|
| 113 | <classifier name="List">
|
---|
| 114 | <option name="-metadata" value="dls.Organization"/>
|
---|
| 115 | <option name="-sort_leaf_nodes_using" value="dc.Title"/>
|
---|
| 116 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
| 117 | <option name="-bookshelf_type" value="always"/>
|
---|
| 118 | <option name="-buttonname" value="Organization"/>
|
---|
| 119 | </classifier>
|
---|
| 120 | <classifier name="List">
|
---|
| 121 | <option name="-metadata" value="dls.Keyword"/>
|
---|
| 122 | <option name="-buttonname" value="Howto"/>
|
---|
| 123 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
[29070] | 124 | <format> <!-- format statement specific to this classifier -->
|
---|
[29069] | 125 | <gsf:template match="documentNode">
|
---|
| 126 | <td>
|
---|
| 127 | <gsf:link type="document">
|
---|
| 128 | <gsf:metadata name="dls.Keyword"/>
|
---|
| 129 | </gsf:link>
|
---|
| 130 | </td>
|
---|
| 131 | </gsf:template>
|
---|
| 132 | <gsf:template match="classifierNode">
|
---|
| 133 | <td>
|
---|
| 134 | <gsf:link type="classifier">
|
---|
| 135 | <gsf:metadata name="Title"/>
|
---|
| 136 | </gsf:link>
|
---|
| 137 | </td>
|
---|
| 138 | </gsf:template>
|
---|
| 139 | </format>
|
---|
| 140 | </classifier>
|
---|
[29070] | 141 | <format> <!-- general format statements for all classifiers that don't have their own versions -->
|
---|
[29069] | 142 | <gsf:template match="documentNode">
|
---|
| 143 | <td valign="top">
|
---|
| 144 | <gsf:link type="document">
|
---|
| 145 | <gsf:icon type="document"/>
|
---|
| 146 | </gsf:link>
|
---|
| 147 | </td>
|
---|
| 148 | <td valign="top">
|
---|
| 149 | <gsf:link type="source">
|
---|
| 150 | <gsf:choose-metadata>
|
---|
| 151 | <gsf:metadata name="thumbicon"/>
|
---|
| 152 | <gsf:metadata name="srcicon"/>
|
---|
| 153 | </gsf:choose-metadata>
|
---|
| 154 | </gsf:link>
|
---|
| 155 | </td>
|
---|
| 156 | <td valign="top">
|
---|
[29070] | 157 | <gsf:choose-metadata>
|
---|
| 158 | <gsf:metadata name="dc.Title"/>
|
---|
| 159 | <gsf:metadata name="exp.Title"/>
|
---|
| 160 | <gsf:metadata name="ex.dc.Title"/>
|
---|
| 161 | <gsf:metadata name="Title"/>
|
---|
| 162 | <gsf:default>Untitled</gsf:default>
|
---|
| 163 | </gsf:choose-metadata>
|
---|
[29069] | 164 | </td>
|
---|
| 165 | </gsf:template>
|
---|
| 166 | <gsf:template match="classifierNode[@classifierStyle = 'VList']">
|
---|
| 167 | <td valign="top">
|
---|
| 168 | <gsf:link type="classifier">
|
---|
| 169 | <gsf:icon type="classifier"/>
|
---|
| 170 | </gsf:link>
|
---|
| 171 | </td>
|
---|
| 172 | <td valign="top">
|
---|
[29070] | 173 | <gsf:metadata name="Title"/>
|
---|
[29069] | 174 | </td>
|
---|
| 175 | </gsf:template>
|
---|
| 176 | <gsf:template match="classifierNode[@classifierStyle = 'HList']">
|
---|
| 177 | <gsf:link type="classifier">
|
---|
| 178 | <gsf:metadata name="Title"/>
|
---|
| 179 | </gsf:link>
|
---|
| 180 | </gsf:template>
|
---|
| 181 | </format>
|
---|
| 182 | </browse>
|
---|
| 183 | <display>
|
---|
| 184 | <format>
|
---|
[29070] | 185 | <gsf:option name="TOC" value="true"/>
|
---|
[29069] | 186 | <gsf:headMetaTags>
|
---|
| 187 | <gsf:metadata name="dc.Title"/>
|
---|
| 188 | <gsf:metadata name="dc.Subject"/>
|
---|
| 189 | <gsf:metadata name="dls.Organization"/>
|
---|
| 190 | </gsf:headMetaTags>
|
---|
| 191 | </format>
|
---|
| 192 | </display>
|
---|
| 193 | <replaceListRef id="gs2-standard"/>
|
---|
| 194 | <serviceRackList>
|
---|
| 195 | <serviceRack name="RSSRetrieve"/>
|
---|
| 196 | <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
| 197 | <serviceRack name="OAIPMH">
|
---|
[29070] | 198 | <setName>Lucene demo collection</setName>
|
---|
| 199 | <setDescription>A demo collection for greenstone</setDescription>
|
---|
| 200 | <!-- uncomment the following and set the name attribute if you want this
|
---|
| 201 | collection to be part of a super set. -->
|
---|
| 202 | <!--<oaiSuperSet name="xxx"/>-->
|
---|
[29069] | 203 | <ListMetadataFormats>
|
---|
[29070] | 204 | <!--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:
|
---|
| 205 | <metadataFormat metadataPrefix="prefix"/> -->
|
---|
[29069] | 206 | <metadataFormat metadataPrefix="oai_dc">
|
---|
[29070] | 207 | <!-- a custom mapping as this collection doesn't have exclusive dc metadata --><!-- this will replace the dc:publisher element from the main set -->
|
---|
| 208 | <element name="dc:publisher">
|
---|
| 209 | <mapping elements="dls.Organization"/>
|
---|
| 210 | </element>
|
---|
[29069] | 211 | </metadataFormat>
|
---|
| 212 | </ListMetadataFormats>
|
---|
| 213 | </serviceRack>
|
---|
| 214 | </serviceRackList>
|
---|
[23907] | 215 | </CollectionConfig>
|
---|