Re: [greenstone-users] How do I format AZCompact list with -mingroup 1?

From Stephen DeGabrielle
DateThu, 24 Mar 2005 16:47:06 +0930
Subject Re: [greenstone-users] How do I format AZCompact list with -mingroup 1?
In-Reply-To (42423C0E-9030707-adelaide-edu-au)
Hi Steve,

the classifiers match up with the format statements

the third classifier in your list

> classify AZCompactList -metadata Creator -sort Title -mingroup 1 -buttonname Creator

is set by the corresponding format statement
format CL2VList "<td
documents), <i>[Title]</i>} </td>"
In this case
- the [Title] made a link using the opening and closing [link][/link]
- if their are leaf nodes then [Title] is the value of the [Creator]
for that classifer group. (Yes It is confusing)
- it is followed by the number of leaf nodes(documents) for the
clasifier ([numleafdocs] documents)

This example statement could be just a VList - then it would apply to
all your Classifiers without their own CL[n]VList statement. (if their
is no corresponding CL[n]VList format statement then the default VList
format statement is used.)

The {if} directive works on the first argument being not null, or null
{If}{[this element is null or not null], - displayed if not null-,
-displayed if null- optional-}

I hope this helps,


On Thu, 24 Mar 2005 14:33:26 +1030, Steve Thomas
<> wrote:
> Hi. This has got me stumped, so I hope there's a simple answer:
> I have several classifiers using -mingroup 1 to show only the
> author/topic name. But what I'd like to do is replace the icon
> link with a text link using the text of the item. But I can't
> see how the "heading only" list is formatted.
> Here's a snip from the config file (cribbed from cltbib-e):
> classify AZList -metadata Title
> classify AZCompactList -metadata Creator -sort Title
> -mingroup 1 -buttonname Creator
> classify AZCompactList -metadata Department -sort Title
> -mingroup 1 -buttonname Topic
> format VList "<td valign=top>[link][icon][/link]</td>
> <td valign=top><b>[Title]</b> - <i>{Or}{[Creator],[Editor]}</i>
> {If}{[Year], - [Month] [Year]}</td>"
> format CL2VList "<td valign=top>[link][icon][/link]</td>
> <td valign=top>{If}{[numleafdocs],<b>[Title]</b>,
> <b>[Author]</b> ([Creator]) -- <i>[Title]</i>}
> {If}{[Year], - [Month] [Year]}</td>"
> What I'd like is something like:
> format xxxxVList "<td valign=top>[link]<td
> valign=top>[Creator][/link]</td>"
> but I don't want to format the list of titles, only the list of
> headings. What do I need for "xxxxVList"? Or is this format only
> defined in a macro?
> Also, I'd like the headings list to show the number of documents
> attached to that heading. Is that possible?
> --
> Stephen Thomas,
> Senior Systems Analyst,
> University of Adelaide Library
> Phone: +61 8 830 35190 Fax: +61 8 830 34369
> Email:
> URL:
> CRICOS Provider Number 00123M
> -----------------------------------------------------------
> This email message is intended only for the addressee(s)
> and contains information that may be confidential and/or
> copyright. If you are not the intended recipient please
> notify the sender by reply email and immediately delete
> this email. Use, disclosure or reproduction of this email
> by anyone other than the intended recipient(s) is strictly
> prohibited. No representation is made that this email or
> any attachments are free of viruses. Virus scanning is
> recommended and is the responsibility of the recipient.
> _______________________________________________
> greenstone-users mailing list



Stephen De Gabrielle