[greenstone-users] Re: Display issue in browse classifiers

From Jenn Cole
DateMon, 18 Apr 2005 14:11:38 -0700
Subject [greenstone-users] Re: Display issue in browse classifiers
In-Reply-To (1112764556-32253-22-camel-matai-cs-waikato-ac-nz)
Hi John,

Here is my collect.cfg for that collection.

Jenn Cole

John R. McPherson wrote:
On Thu, 2005-03-31 at 13:06 -0800, Jenn Cole wrote:

When I use the AZ classifier lists the individual documents matching
classifier term are listed only by page number.  This doesn't let
know from which title the pages are from.  I would like a display 
similar to the search result display.  However, when I tried playing 
with the vlist format statement, my AZ classifier list looks like

A-D:Aboriginal Title and Rights
A-D:Agriculture/Land Cultivation
A-D:American Relations
A-D:British Columbia Terms of Union
A-D:British North America Act
A-D:Burial Sites

the next level looks right:

A-D:Aboriginal Title and Rights
     Meeting at Port Simpson:Page 39
     Kwawkewlth Agency:Meeting with Quawshelah Band
     Nass Agency:Meeting at Grease Harbour
     Kwawkewlth Agency:Meeting with the Principle Tribes of the 
Kwawkewlth Nation
     Meeting at Port Simpson:Page 43
     Skidegate:Page 34

My question is how can I get rid of the A-D: display on the classifier

maybe it would be easier if you gave us the relevant bits out of your
collect.cfg file.



Type: text/plain
Filename: collect.cfg


beta false



classifyAZList -metadata Title -buttonname Title
classifyAZCompactSectionList -metadata Subject -sort Title -doclevel section -mingroup 1 -allvalues -maxcompact 30 -buttonname Subject
classifyAZCompactSectionList -metadata Name -sort Title -doclevel section -mingroup 1 -allvalues -maxcompact 30 -buttonname people
classifyAZCompactSectionList -metadata PlaceName -sort Title -doclevel section -mingroup 1 -allvalues -maxcompact 30 -buttonname places
classifyAZCompactSectionList -metadata BandName -sort Title -doclevel section -mingroup 1 -allvalues -maxcompact 30 -buttonname band

classifyAZCompactSectionList -metadata Organization -doclevel section -mingroup 1 -allvalues -maxcompact 30 -buttonname Organization

pluginHTMLPlug -metadata_fields "Title, BandName, PlaceName, Name, Organization, Subject" -description_tags
pluginRecPlug -use_metadata_files

# To build this collection using the List clasifier for the Howto
# listing (as shown in the Greenstone Developer's Guide) you should
# uncomment the following two lines and comment out the line above
# before rebuilding.
#classify List -metadata dls.Keyword -buttonname Howto
#format CL4VList "<br>[link][dls.Keyword][/link]"

format SearchVList "<td valign=top>[link][icon][/link]</td><td>{If}{[parent(All': '):Title],[parent(All': '):Title]:}[link][Title][/link]</td>"

format DocumentText "<h3>[Title]</h3>\n\n<p>[Text]"

format DateList "<td>[link][icon][/link]</td><td>[highlight]{Or}{[dls.Title],[dc.Title],[Title],Untitled}[/highlight]</td><td>[Date]</td>"

format HList "[link][highlight]{Or}{[dls.Title],[dc.Title],[Title],Untitled}[/highlight][/link]"

format DocumentContents false

format DocumentImages false

format VList "<td valign=top>[link][icon][/link]</td><td>[link][Title][/link]</td>"

format DocumentButtons "Expand Text|Highlight"

format DocumentArrowsBottom true

format DocumentArrowsTop true

# -- English strings ----------------

# -- French strings ----------------

# -- Spanish strings ----------------

# -- Russian strings ----------------

collectionmeta.section:PLaceName,PlaceName [l=en] "Places"
collectionmeta.section:PLaceName,PlaceName [l=fr] "Endroit"
collectionmeta.section:text [l=en] "Full Text"
collectionmeta.section:text [l=fr] "Texte Complet"
collectionmetacollectionname [l=en] "Royal Commission on Indian Affairs For the Province of British Columbia"
collectionmetacollectionextra [l=en] "This collection contains testimony from all 15 agencies visited during the Royal Commission. Currently you can only perform full-text searches in this collection. If you wish to browse by people, places, subjects, band/tribes and organizations you have to go to the agency specific collection, which are located on the testimonies home page. For help finding information in this collection go to the collection help page at the top of this screen or read the "How to find information" section below."