Changeset 17561

Show
Ignore:
Timestamp:
18.10.2008 17:58:59 (11 years ago)
Author:
davidb
Message:

Removal of unusual use of Hierarchy to achieve an A-Z listing. Collection now demonstrates a range of classifiers: AZCompactList, AZList, List and Hierarchy used for what they were intended. Just what a demo needs.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/collect/demo/etc/collect.cfg

    r16393 r17561  
    44 
    55buildtype   mg 
     6# Do we want to shift this to mgpp?? as this is the default in GLI??? 
    67 
    78indexes     section:text section:Title document:text 
     
    1314plugin      DirectoryPlugin 
    1415 
    15 classify    Hierarchy -metadata dls.Subject -sort dls.Title -buttonname Subject 
    16 classify    Hierarchy -metadata dls.AZList -hlist_at_top  -sort dls.Title -buttonname Title 
    17 classify    Hierarchy -metadata dls.Organization -sort dls.Title -buttonname Organization 
    18 classify    Hierarchy -metadata dls.Keyword -sort dls.Title -buttonname Howto 
    1916 
    20 # To build this collection using the List clasifier for the Howto 
    21 # listing (as shown in the Greenstone Developer's Guide) you should 
    22 # uncomment the following two lines and comment out the line above 
    23 # before rebuilding. 
    24 #classify      List -metadata dls.Keyword -buttonname Howto 
    25 #format        CL4VList     "<br>[link][dls.Keyword][/link]" 
     17classify    AZList -metadata dls.Title  
     18 
     19classify    AZCompactList -metadata dls.Subject -sort dls.Title \ 
     20  -minnesting 5 -mincompact 1 -maxcompact 3 
     21 
     22 
     23classify    Hierarchy -metadata dls.Organization -sort dls.Title 
     24 
     25classify    List -metadata dls.Keyword  -buttonname Howto 
     26 
     27format CL4VList "<td>[link][icon][/link]</td><td>[link][dls.Keyword][/link]" 
    2628 
    2729format SearchVList "<td valign=top>[link][icon][/link]</td><td>{If}{[parent(All\': \'):Title],[parent(All\': \'):Title]:}[link][Title][/link]</td>"