source: main/trunk/greenstone3/web/sites/localsite/collect/lucene-jdbm-demo/etc/collectionConfig.xml@ 25825

Last change on this file since 25825 was 25825, checked in by kjdon, 8 years ago

adding in shortDescription - used as roll over text for coll image on home page. Changed lucene colleciton nmae to demo collection

  • Property svn:executable set to *
File size: 5.4 KB
Line 
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>
4 <metadata lang="en" name="creator"/>
5 <metadata lang="en" name="maintainer"/>
6 <metadata lang="en" name="public">true</metadata>
7 </metadataList>
8 <displayItemList>
9 <displayItem lang="en" name="shortDescription">Demonstration collection containing a few books from the Humanitarian and Development Libraries. Uses Lucene and JDBM.</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) 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.</displayItem>
11 <displayItem assigned="true" lang="en" name="name">Demo Collection</displayItem>
12 </displayItemList>
13 <search type="lucene">
14 <level name="section">
15 <displayItem lang="en" name="name">chapter</displayItem>
16 </level>
17 <level name="document">
18 <displayItem lang="en" name="name">book</displayItem>
19 </level>
20 <defaultLevel name="section"/>
21 <index name="allfields">
22 <displayItem lang="en" name="name">all fields</displayItem>
23 </index>
24 <index name="text">
25 <displayItem lang="en" name="name">text</displayItem>
26 </index>
27 <index name="dls.Title,Title">
28 <displayItem lang="en" name="name">titles</displayItem>
29 </index>
30 <index name="dls.Subject">
31 <displayItem lang="en" name="name">subjects</displayItem>
32 </index>
33 <index name="dls.Organization">
34 <displayItem lang="en" name="name">organisations</displayItem>
35 </index>
36 <indexOption>
37 <option name="accentfold"/>
38 <option name="casefold"/>
39 <option name="stem"/>
40 </indexOption>
41 <searchType name="plain"/>
42 <searchType name="simpleform"/>
43 <searchType name="advancedform"/>
44 <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>
45 </search>
46 <infodb type="jdbm"/>
47 <import>
48 <pluginList>
49 <plugin name="GreenstoneXMLPlugin"/>
50 <plugin name="HTMLPlugin">
51 <option name="-description_tags"/>
52 </plugin>
53 <plugin name="MetadataXMLPlugin"/>
54 <plugin name="ArchivesInfPlugin"/>
55 <plugin name="DirectoryPlugin"/>
56 </pluginList>
57 </import>
58 <browse>
59 <classifier name="List">
60 <option name="-metadata" value="dls.Title"/>
61 <option name="-partition_type_within_level" value="constant_size"/>
62 </classifier>
63 <classifier name="Hierarchy">
64 <option name="-metadata" value="dls.Subject"/>
65 <option name="-sort" value="dls.Title"/>
66 </classifier>
67 <classifier name="List">
68 <option name="-metadata" value="dls.Organization"/>
69 <option name="-sort_leaf_nodes_using" value="dls.Title"/>
70 <option name="-partition_type_within_level" value="constant_size"/>
71 <option name="-bookshelf_type" value="always"/>
72 <option name="-buttonname" value="Organization"/>
73 </classifier>
74 <classifier name="List">
75 <option name="-metadata" value="dls.Keyword"/>
76 <option name="-buttonname" value="Howto"/>
77 <option name="-partition_type_within_level" value="constant_size"/>
78 <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>
79 </classifier>
80 <format><gsf:template match="documentNode"><td valign="top"><gsf:link type="document"><gsf:icon type="document"/></gsf:link></td><td valign="top"><gsf:metadata name="srclink"/><gsf:choose-metadata><gsf:metadata name="thumbicon"/><gsf:metadata name="srcicon"/></gsf:choose-metadata><gsf:metadata name="/srclink"/></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><gsf:metadata name="Title"/></td></gsf:template><gsf:template match="classifierNode" mode="horizontal"><gsf:link type="horizontal"><gsf:metadata name="Title"/></gsf:link></gsf:template></format>
81 </browse>
82 <display>
83 <format><gsf:option name="TOC" value="true"/></format>
84 </display>
85 <replaceListRef id="gs2-standard"/>
86</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.