Re: [greenstone-users] Metadata Display in Hierarchy

From Michael Dewsnip
DateTue, 28 Sep 2004 11:40:43 +1200
Subject Re: [greenstone-users] Metadata Display in Hierarchy
In-Reply-To (000501c4a46a$654fe540$7002010a-mkcl-local)
Hi Anant,

You can format the hierarchy/folder nodes (with the bookshelf icon)
differently to the document nodes by testing on the [numleafdocs] metadata.
This metadata is defined for the hierarchy/folder nodes only.

So, the basic structure of your format statement will be:

{If}{[numleafdocs], <formatting for hierarchy/folder nodes>,
<formatting for document nodes>}

Please correct me if I have misunderstood your question.



Anant Sabane wrote:

> Hello,
> Currently I am working on development of variety of collections where I
> wish to display some of the metadata elements along with the basic
> description offered for each of the document. Following is the display
> format I am using for CL3 and CL4 Vlists. The problem I face is
> whatever static text I enter in the display including punctuation marks
> get displayed in the hierarchy in front of Subjects and Keywords. E.g.
> if I have Mathematics as subject then instead of displaying it as just
> "Mathematics" it displays "Mathematics Courtsey: .- " using the VList
> format below.
> [/highlight]
> <td valign=top>[highlight]
> <font color="666655">Courtesy: {Or}{[sibling(All' and '):dc.Creator]} .-
> </Font><font color="blue">[dc.Publisher]
> </font><BR><B>{Or}{[ocw.CourseTitle]}</B>
> [/highlight]
> {If}{[Source],<br><i>([Source])</i>}</td>
> Can anyone kindly help me by removing the static text appearing along
> with the subjects and keywords and letting it appear only for the
> documents attached to these Subjects and keywords?
> Thanks and best regards
> Anant Sabane
> _______________________________________________
> greenstone-users mailing list