[27840] | 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 |
|
---|
[30642] | 4 | <metadataList>
|
---|
[30643] | 5 | <metadata lang="en" name="creator">Greenstone Project</metadata>
|
---|
| 6 | <metadata lang="en" name="maintainer">Greenstone Project</metadata>
|
---|
[30642] | 7 | <metadata lang="en" name="public">true</metadata>
|
---|
| 8 | </metadataList>
|
---|
| 9 | <displayItemList>
|
---|
[31048] | 10 | <displayItem name="name" key="name" dictionary="collectionConfig"/>
|
---|
[30799] | 11 | <displayItem name="name" lang="en">Solr Demo</displayItem>
|
---|
[30674] | 12 | <displayItem name="description" key="description" dictionary="collectionConfig"/>
|
---|
| 13 | <displayItem name="shortDescription" key="shortDescription" dictionary="collectionConfig"/>
|
---|
[30642] | 14 | </displayItemList>
|
---|
[27840] | 15 |
|
---|
[30642] | 16 | <format>
|
---|
| 17 | <!-- Define any global format statements here -->
|
---|
[27840] | 18 |
|
---|
[30642] | 19 | <!-- Setting the RSS option to true here will display a link to the collection's RSS feed on all
|
---|
| 20 | pages of the collection. Can include the RSS feed link in section specific format statements
|
---|
| 21 | too, such as search, if wishing to display the link only in particular sections.-->
|
---|
| 22 | <gsf:option name="RSS" value="true"/>
|
---|
| 23 | </format>
|
---|
[27840] | 24 |
|
---|
[30642] | 25 | <search type="solr">
|
---|
| 26 | <level name="section">
|
---|
[30643] | 27 | <displayItem name="name" key="level.chapter"/>
|
---|
[30642] | 28 | </level>
|
---|
| 29 | <level name="document">
|
---|
[30643] | 30 | <displayItem name="name" key="level.book"/>
|
---|
[30642] | 31 | </level>
|
---|
| 32 | <defaultLevel name="section"/>
|
---|
[30643] | 33 | <index name="allfields"/>
|
---|
| 34 | <index name="text"/>
|
---|
| 35 | <index name="dc.Title,Title"/>
|
---|
| 36 | <index name="dc.Subject"/>
|
---|
| 37 | <index name="dls.Organization"/>
|
---|
| 38 | <sort name="rank"/>
|
---|
[28094] | 39 | <sort name="dls.Organization">
|
---|
[30643] | 40 | <displayItem name="name" key="Organization.buttonname"/>
|
---|
[28094] | 41 | </sort>
|
---|
[30643] | 42 | <sort name="none"/>
|
---|
[30642] | 43 | <facet name="dls.Organization">
|
---|
[30674] | 44 | <displayItem name="name" key="Organization.buttonname"/>
|
---|
[28094] | 45 | </facet>
|
---|
[30642] | 46 | <searchType name="plain"/>
|
---|
| 47 | <searchType name="simpleform"/>
|
---|
| 48 | <searchType name="advancedform"/>
|
---|
| 49 | <format>
|
---|
| 50 | <gsf:template match="documentNode">
|
---|
| 51 | <td valign="top">
|
---|
| 52 | <gsf:link type="document">
|
---|
| 53 | <gsf:icon type="document"/>
|
---|
| 54 | </gsf:link>
|
---|
| 55 | </td>
|
---|
| 56 | <td>
|
---|
| 57 | <gsf:link type="document">
|
---|
| 58 | <gsf:choose-metadata>
|
---|
| 59 | <gsf:metadata name="dc.Title"/>
|
---|
| 60 | <gsf:metadata name="exp.Title"/>
|
---|
| 61 | <gsf:metadata name="ex.dc.Title"/>
|
---|
| 62 | <gsf:metadata name="Title"/>
|
---|
| 63 | <gsf:default>Untitled</gsf:default>
|
---|
| 64 | </gsf:choose-metadata>
|
---|
| 65 | </gsf:link>
|
---|
| 66 | </td>
|
---|
[30158] | 67 |
|
---|
[30642] | 68 | </gsf:template>
|
---|
| 69 | </format>
|
---|
| 70 | </search>
|
---|
| 71 | <infodb type="jdbm"/>
|
---|
| 72 | <import>
|
---|
| 73 | <pluginList>
|
---|
| 74 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
| 75 | <plugin name="HTMLPlugin">
|
---|
| 76 | <option name="-description_tags"/>
|
---|
| 77 | </plugin>
|
---|
| 78 | <plugin name="MetadataXMLPlugin"/>
|
---|
| 79 | <plugin name="ArchivesInfPlugin"/>
|
---|
| 80 | <plugin name="DirectoryPlugin"/>
|
---|
| 81 | </pluginList>
|
---|
| 82 | </import>
|
---|
[27840] | 83 | <importOption name="OIDtype" value="dirname"/>
|
---|
[28094] | 84 | <buildOption name="sections_sort_on_document_metadata" value="unless_section_metadata_exists"/>
|
---|
[30642] | 85 | <browse>
|
---|
| 86 | <classifier name="List">
|
---|
| 87 | <option name="-metadata" value="dc.Title"/>
|
---|
| 88 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
| 89 | </classifier>
|
---|
| 90 | <classifier name="Hierarchy">
|
---|
| 91 | <option name="-metadata" value="dc.Subject"/>
|
---|
| 92 | <option name="-sort" value="dc.Title"/>
|
---|
| 93 | </classifier>
|
---|
| 94 | <classifier name="List">
|
---|
| 95 | <option name="-metadata" value="dls.Organization"/>
|
---|
| 96 | <option name="-sort_leaf_nodes_using" value="dc.Title"/>
|
---|
| 97 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
| 98 | <option name="-bookshelf_type" value="always"/>
|
---|
| 99 | <option name="-buttonname" value="Organization"/>
|
---|
| 100 | </classifier>
|
---|
| 101 | <classifier name="List">
|
---|
| 102 | <option name="-metadata" value="dls.Keyword"/>
|
---|
| 103 | <option name="-buttonname" value="Howto"/>
|
---|
| 104 | <option name="-partition_type_within_level" value="constant_size"/>
|
---|
| 105 | <format>
|
---|
| 106 | <gsf:template match="documentNode">
|
---|
| 107 | <td>
|
---|
| 108 | <gsf:link type="document">
|
---|
| 109 | <gsf:metadata name="dls.Keyword"/>
|
---|
| 110 | </gsf:link>
|
---|
| 111 | </td>
|
---|
| 112 | </gsf:template>
|
---|
| 113 | <gsf:template match="classifierNode">
|
---|
| 114 | <td>
|
---|
| 115 | <gsf:link type="classifier">
|
---|
| 116 | <gsf:metadata name="Title"/>
|
---|
| 117 | </gsf:link>
|
---|
| 118 | </td>
|
---|
| 119 | </gsf:template>
|
---|
| 120 | </format>
|
---|
| 121 | </classifier>
|
---|
| 122 | <format>
|
---|
| 123 | <gsf:template match="documentNode">
|
---|
| 124 | <td valign="top">
|
---|
| 125 | <gsf:link type="document">
|
---|
| 126 | <gsf:icon type="document"/>
|
---|
| 127 | </gsf:link>
|
---|
| 128 | </td>
|
---|
| 129 | <td valign="top">
|
---|
| 130 | <gsf:link type="document">
|
---|
| 131 | <gsf:choose-metadata>
|
---|
| 132 | <gsf:metadata name="dc.Title"/>
|
---|
| 133 | <gsf:metadata name="Title"/>
|
---|
| 134 | <gsf:default>Untitled</gsf:default>
|
---|
| 135 | </gsf:choose-metadata>
|
---|
| 136 | </gsf:link>
|
---|
| 137 | </td>
|
---|
| 138 | </gsf:template>
|
---|
| 139 | <gsf:template match="classifierNode[@classifierStyle = 'VList']">
|
---|
| 140 | <td valign="top">
|
---|
| 141 | <gsf:link type="classifier">
|
---|
| 142 | <gsf:icon type="classifier"/>
|
---|
| 143 | </gsf:link>
|
---|
| 144 | </td>
|
---|
| 145 | <td valign="top">
|
---|
| 146 | <gsf:metadata name="Title"/>
|
---|
| 147 | </td>
|
---|
| 148 | </gsf:template>
|
---|
| 149 | <gsf:template match="classifierNode[@classifierStyle = 'HList']">
|
---|
| 150 | <gsf:link type="classifier">
|
---|
| 151 | <gsf:metadata name="Title"/>
|
---|
| 152 | </gsf:link>
|
---|
| 153 | </gsf:template>
|
---|
| 154 | </format>
|
---|
| 155 | </browse>
|
---|
| 156 | <display>
|
---|
| 157 | <format>
|
---|
| 158 | <gsf:option name="TOC" value="true"/>
|
---|
| 159 |
|
---|
| 160 | <gsf:headMetaTags>
|
---|
| 161 | <gsf:metadata name="dc.Title"/>
|
---|
| 162 | <gsf:metadata name="dc.Subject"/>
|
---|
| 163 | <gsf:metadata name="dls.Organization"/>
|
---|
| 164 | </gsf:headMetaTags>
|
---|
[27840] | 165 |
|
---|
[30642] | 166 | </format>
|
---|
| 167 | </display>
|
---|
| 168 | <replaceListRef id="gs2-standard"/>
|
---|
| 169 | <serviceRackList>
|
---|
| 170 | <serviceRack name="RSSRetrieve"/>
|
---|
| 171 | <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
| 172 | <serviceRack name="OAIPMH">
|
---|
| 173 | <setName>Solr demo collection</setName>
|
---|
| 174 | <setDescription>A demo collection for Greenstone3, using Solr and JDBM.</setDescription>
|
---|
| 175 | <!-- uncomment the following and set the name attribute if you want this
|
---|
| 176 | collection to be part of a super set. -->
|
---|
| 177 | <!--<oaiSuperSet name="xxx"/>-->
|
---|
| 178 | <ListMetadataFormats>
|
---|
| 179 | <!--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:
|
---|
| 180 | <metadataFormat metadataPrefix="prefix"/> -->
|
---|
| 181 | <metadataFormat metadataPrefix="oai_dc">
|
---|
| 182 | <!-- a custom mapping as this collection doesn't have exclusive dc metadata --><!-- this will replace the dc:publisher element from the main set -->
|
---|
| 183 | <element name="dc:publisher">
|
---|
| 184 | <mapping elements="dls.Organization"/>
|
---|
| 185 | </element>
|
---|
| 186 | </metadataFormat>
|
---|
| 187 | </ListMetadataFormats>
|
---|
| 188 | </serviceRack>
|
---|
| 189 | </serviceRackList>
|
---|
[27840] | 190 | </CollectionConfig>
|
---|