[greenstone-users] Re: Displaying Author Metadata and Original Documents

From Katherine Don
DateMon, 23 May 2005 09:08:16 +1200
Subject [greenstone-users] Re: Displaying Author Metadata and Original Documents
In-Reply-To (20050520035740-64480-qmail-web8405-mail-in-yahoo-com)
Hi

You need to use

classify AZCompactList -metadata dc.Creator -buttonname Creator -mingroup 1

The mingroup 1 means that even if there is only one book with a
particular creator there will still be a bookshelf node created.

For your classifier format statement, you need something like:

<td>{If}{[numleafdocs],[link][icon][/link]</td><td>[Title]</td>,
[srclink][srcicon][/srclink]</td><td>XXXX</td>}


What goes in XXXX is what you want to display for the documents.

Regards,
Katherine Don

Sharad Jadhav wrote:
> Dear List Members,
>
>
>
> I am using following classifier for displaying titles grouped
> by authors. I have few problems.
>
>
>
> 1. I want only original items should be displayed. if i remove the
> [link] [/link] tag then the bookshelf icon (displayed when there are
> two or more titles by same author) is now non clickable, and hence can
> not be viewed.
>
> (We don’t want to show the html version)
>
>
>
> classify AZCompactList -metadata dc.Creator -buttonname Creator
>
>
>
> 2. If there is only one title by an author, directly the title is being
> displayed. Is it possible to first display the author and then after
> selecting it the titles by the author.
>
>
>
>
>
>
>
> classify AZCompactList -metadata dc.Creator -buttonname Creator
>
>
>
> format CL4VList "
>
> <td valign=top> [link][icon][/link] </td>
>
> <td
> valign=top>[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
>
> <td valign=top><b>[sibling(All'<br>'):dc.Subject] </b>[highlight]
>
> {Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}
>
> [/highlight]</td>"
>
>
>
>
>
> Any help from experts is highly appreciated.
>
>
>
> With regards,
>
> Sharad Jadhav,
>
>
>
> Library and Info Center
>
> National Insurance Academy,
>
> 25 Balewadi Rd, Pune 411045,
>
> INDIA
>
>
>
> email sharad7703@yahoo.co.in <mailto:sharad7703@yahoo.co.in>
>
>
>
>
>
>
>
>
>
>
>
> *Yahoo! India Matrimony*
> <http://in.rd.yahoo.com/specials/mailtg/*http://yahoo.shaadi.com/india-matrimony/>*:*
> Find your life partner online
> <http://in.rd.yahoo.com/specials/mailtg2/*http://yahoo.shaadi.com/india-matrimony/>.
>
>