[greenstone-users] AZCompactList and Subject

From Richard Gartner
Date06 Aug 2003 12:58:29 +0100
Subject [greenstone-users] AZCompactList and Subject
Could anyone help?

I'm trying to set up a browsable subject list using AZCompactList: this
is what I have in my collect.cfg:-

classify AZList -metadata Title
classify AZCompactList -metadata Subject -mingroup 1
classify AZCompactList -metadata Contributor -buttonname names
-mingroup 1

format CL1VList "<td valign=top>[link][icon][/link]</td><td>
{If}{[numleafdocs], <b>[Subject]</b>,[Title]}</td>"
format CL2VList "<td valign=top>[link][icon][/link]</td><td>
{If}{[numleafdocs], <b>[Contributor]</b>,[Title]}</td>"

This works fine for the Contributor list, but for the subject list no
subject names appear next to the bookshelf icons (although clicking on
one of these brings up the list of constituent titles without any
problem). Here's a typical description from the archive file in case
there's a problem with that:

<Metadata name="Title">Review of the French troops on their
returning march through Smolensko</Metadata>
<Metadata name="Identifier">politi004-azz</Metadata>
<Metadata name="Contributor">Cruikshank, George, 1792-1878
<Metadata name="Subject">Napoleonic Wars -- 1800-1815 --
Campaigns -- Russia</Metadata>

Any ideas? I'm baffled!