Changeset 13853 for trunk


Ignore:
Timestamp:
2007-02-05T15:39:29+13:00 (17 years ago)
Author:
kjdon
Message:

rebuilt the collection with GLI, so updated the config files and index files

Location:
trunk/gsdl3/web/sites/localsite/collect/gs2mgdemo
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/web/sites/localsite/collect/gs2mgdemo/etc/collect.cfg

    r10847 r13853  
    33public      true
    44
     5buildtype   mg
     6
    57indexes     section:text section:Title document:text
    68
     9#levels document
     10
     11indexoptions    casefold stem
     12
     13#defaultlevel   document
     14
    715plugin      GAPlug
    8 plugin      HTMLPlug -description_tags
    9 plugin      ArcPlug
    10 plugin      RecPlug -use_metadata_files
     16plugin      HTMLPlug -description_tags
     17plugin      MetadataXMLPlug
     18plugin      ArcPlug
     19plugin      RecPlug
    1120
    12 classify    Hierarchy -metadata dls.Subject -sort dls.Title -buttonname Subject 
    13 classify    AZList -metadata dls.Title 
    14 classify    AZCompactList -metadata dls.Organization -sort dls.Title -buttonname Organization -mingroup 1
    15 classify      List -metadata dls.Keyword -buttonname Howto
     21classify    Hierarchy -metadata dls.Subject -sort dls.Title -buttonname Subject
     22classify    AZList -metadata dls.Title
     23classify    AZCompactList -metadata dls.Organization -sort dls.Title -mingroup 1 -buttonname Organization
     24classify    List -metadata dls.Keyword -buttonname Howto
    1625
    1726format SearchVList "<td valign=top>[link][icon][/link]</td><td>{If}{[parent(All\': \'):Title],[parent(All\': \'):Title]:}[link][Title][/link]</td>"
    1827
    19 format        CL4VList    "<br>[link][dls.Keyword][/link]"
     28format CL4VList "<br>[link][dls.Keyword][/link]"
    2029
    2130format DocumentText "<h3>[Title]</h3>\\n\\n<p>[Text]"
    2231format DocumentImages true
    2332format DocumentButtons "Expand Text|Expand Contents|Detach|Highlight"
     33
     34format VList "<td valign=\"top\">[link][icon][/link]</td>
     35<td valign=\"top\">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
     36<td valign=\"top\">[highlight]
     37{Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}
     38[/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>"
     39
     40format HList "[link][highlight][ex.Title][/highlight][/link]"
     41
     42format DocumentHeading "{Or}{[parent(Top):Title],[Title],untitled}<br>"
    2443
    2544collectionmeta  iconcollectionsmall [l=en] "_httpprefix_/collect/gs2mgdemo/images/gs2mgdemo_sm.gif"
     
    4867collectionmeta  .section:Title [l=ru] "НазваМОя разЎелПв"
    4968collectionmeta  .document:text [l=ru] "ППлМые ЎПкуЌеМты"
     69collectionmeta  .document [l=en] "document"
    5070
    51 
  • trunk/gsdl3/web/sites/localsite/collect/gs2mgdemo/etc/collectionConfig.xml

    r11270 r13853  
    44  <metadataList>
    55    <metadata name="creator">[email protected]</metadata>
     6    <metadata name="public">true</metadata>
    67  </metadataList>
    78  <displayItemList>
    8     <displayItem name='name' lang='en'>Greenstone2 MG demo collection</displayItem>
    9     <displayItem name='description' lang='en'>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 a Greenstone2 collection, built with MG. The Greenstone2 configuration files have been converted to Greenstone3 equivalents, enabling it to be served using Greenstone3. </displayItem>
     9    <displayItem name="description" lang="en">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 a Greenstone2 collection, built with MG. The Greenstone2 configuration files have been converted to Greenstone3 equivalents, enabling it to be served using Greenstone3.</displayItem>
     10    <displayItem name="name" lang="en">Greenstone2 MG demo collection</displayItem>
     11    <displayItem name="icon" lang="en">gs2mgdemo.gif</displayItem>
    1012    <displayItem name="smallicon" lang="en">gs2mgdemo_sm.gif</displayItem>
    11     <displayItem name="icon" lang="en">gs2mgdemo.gif</displayItem>
    1213  </displayItemList>
    1314  <search>
    14     <index name="dtx">
     15    <index name="dte">
    1516      <displayItem name="name" lang="ru">ППлМые ЎПкуЌеМты</displayItem>
    1617      <displayItem name="name" lang="en">entire documents</displayItem>
     
    1819      <displayItem name="name" lang="es">documentos enteros</displayItem>
    1920    </index>
    20     <index name="stt">
     21    <index name="sti">
    2122      <displayItem name="name" lang="ru">НазваМОя разЎелПв</displayItem>
    2223      <displayItem name="name" lang="en">section titles</displayItem>
     
    2425      <displayItem name="name" lang="es">títulos de las secciones</displayItem>
    2526    </index>
    26     <index name="stx">
     27    <index name="ste">
    2728      <displayItem name="name" lang="ru">Главы</displayItem>
    2829      <displayItem name="name" lang="en">chapters</displayItem>
     
    3233    <format>
    3334      <gsf:template match="documentNode">
    34     <td valign='top'><gsf:link><gsf:icon/></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><gsf:metadata name='Title' /></gsf:link></td>
     35    <td valign='top'><gsf:link type='document'><gsf:icon type='document'/></gsf:link></td>
     36    <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>
    3637      </gsf:template>
    3738    </format>
    3839  </search>
    3940  <browse>
    40     <classifier name="CL1"/>
    41     <classifier name="CL2"/>
    42     <classifier name="CL3"/>
     41    <format>
     42      <gsf:template match="documentNode">
     43    <td valign="top"><gsf:link type='document'><gsf:icon type='document'/></gsf:link></td>
     44    <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>
     45    <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>
     46      </gsf:template>
     47      <gsf:template match="classifierNode">
     48    <td valign="top"><gsf:link type='classifier'><gsf:icon type='classifier'/></gsf:link></td>
     49    <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>
     50    <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>
     51      </gsf:template>
     52      <gsf:template match="classifierNode" mode="horizontal">
     53    <gsf:link type='horizontal'><gsf:metadata name='Title' /></gsf:link>
     54      </gsf:template>
     55    </format>
     56    <classifier name="CL1">
     57    </classifier>
     58    <classifier name="CL2">
     59    </classifier>
     60    <classifier name="CL3">
     61    </classifier>
    4362    <classifier name="CL4">
    4463      <format>
    4564    <gsf:template match="documentNode">
    46       <br /><gsf:link><gsf:metadata name="dls.Keyword"/></gsf:link>
     65      <br /><gsf:link type='document'><gsf:metadata name='dls.Keyword' /></gsf:link>
     66    </gsf:template>
     67    <gsf:template match="classifierNode">
     68      <br /><gsf:link type='classifier'><gsf:metadata name='dls.Keyword' /></gsf:link>
    4769    </gsf:template>
    4870      </format>
    4971    </classifier>
    5072  </browse>
    51   <replaceListRef id="gs2-standard"/>
     73  <replaceListRef id="gs2-standard" />
    5274</collectionConfig>
  • trunk/gsdl3/web/sites/localsite/collect/gs2mgdemo/gs2mgdemo.col

    r10830 r13853  
    1313<GathererCollection>
    1414    <Argument name="built">false</Argument>
    15     <Argument name="imported">false</Argument>
     15    <Argument name="imported">true</Argument>
    1616    <GathererConfig/>
    1717    <BuildConfig>
  • trunk/gsdl3/web/sites/localsite/collect/gs2mgdemo/index/buildConfig.xml

    r10844 r13853  
    55  </metadataList>
    66  <serviceRackList>
     7    <serviceRack name="GS2MGRetrieve">
     8      <defaultIndex name="ste" />
     9      <indexStem name="gs2mgdemo" />
     10    </serviceRack>
    711    <serviceRack name="GS2Browse">
    812      <indexStem name="gs2mgdemo" />
    913      <classifierList>
    1014    <classifier name="CL1" content="Subject" />
    11     <classifier name="CL2" content="Title" />
     15    <classifier name="CL2" content="dls.Title" />
    1216    <classifier name="CL3" content="Organization" />
    1317    <classifier name="CL4" content="Howto" />
    1418      </classifierList>
    15     </serviceRack>     
    16     <serviceRack name="GS2MGRetrieve">
    17       <defaultIndex name="stx" />
    18       <indexStem name="gs2mgdemo" />
    1919    </serviceRack>
    2020    <serviceRack name="GS2MGSearch">
    21       <defaultIndex name="stx" />
    2221      <indexStem name="gs2mgdemo" />
     22      <indexOptionList>
     23    <indexOption name="stemIndexes" value="3" />
     24    <indexOption name="maxnumeric" value="4" />
     25      </indexOptionList>
     26      <defaultIndex name="ste" />
    2327      <indexList>
    24     <index name="stx" />
    25     <index name="stt" />
    26     <index name="dtx" />
     28    <index name="dte" />
     29    <index name="sti" />
     30    <index name="ste" />
    2731      </indexList>
    2832    </serviceRack>
Note: See TracChangeset for help on using the changeset viewer.