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