[greenstone-devel] Subject classifier will only display first line

From Michael Lines
DateSun, 2 May 2004 13:23:10 -0600
Subject [greenstone-devel] Subject classifier will only display first line
Hi there
 
For a test case with a flat subject hierarchy, and the default searches, my config. file looks like this (pretty much copied straight from the Greenstone demos):
 
PROBLEM CODE
 
classify AZList -metadata Source
 
classify AZList -metadata dc.Title -removeprefix dc. -buttonname Title
 
classify Hierarchy -metadata dc.Subject -sort "Metadata element specified with -metadata." -buttonname Subject -hfile dc.subject.txt
 
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 VList "<td valign=top>[link][icon][/link]</td><td valign=top>[srclink]{Or}{[thumbicon],[srcicon]}[/srclink]</td><td valign=top>[highlight]{Or}{[dls.Title],[dc.Title],[Title],Untitled}[/highlight]{If}{[Source],<br><i>([Source])</i>}</td>"
 
/END OF PROBLEM CODE
 
I have a subject.txt file in etc. and another in  metadata (dc), also called subject.txt. Snippets of each look like this:
 
PROBLEM CODE
 
etc.:  "Agriculture Implementation Agreement"     1     "Agriculture Implementation Agreement"    "Alberta Climate Change Plan" 2  "Alberta Climate Change Plan"  "Alberta Energy Research"  3  "Alberta Energy Research"   "CASA EPT Committee" 4  "CASA EPT Committee"
 
/END OF PROBLEM CODE
 
metatdata: (Can't get at the example just now, but you likely know the one, automatically generated with <subject> </subject> tags.)
 
 Is it possible for you to see right away what my neophyte problem is?
 
Everything else finally works, except that the subject page only displays the first member of  the list. (I am operating Windows 2000, and trying to use the GLI.)
 
Many, many thanks.
 
Lorelee