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

From Katherine Don
DateMon, 30 May 2005 11:01:13 +1200
Subject [greenstone-users] Re: Displaying Author Metadata and Original Documents
In-Reply-To (20050527151423-3270-qmail-web8405-mail-in-yahoo-com)

I'm not sure why the page would go blank, but here's a few things to check:

Is the classifier the first one? CL1VList is for the first classifier in
the list.
CL1VList should have a capital L, not CL1Vlist.
You should also display the Title for the classifier node, i.e.

format CL1VList "{If}{[numleafdocs],[link][icon][/link][Title],
[srclink][srcicon][/srclink] [dc.Title][dc.Description]}"

If you are having problems with the format statements, you can try to
debug them yourself. start off with something really simple like
format CL1VList "xxx"
Then you can immediately see if your format statement is actually being
used or not.
Once you know that it is, then you can add in the other bits one by one.
format CL1VList "{If}{[numleafdocs],[link][icon][/link]classifier,


Sharad Jadhav wrote:
> Hi,
> I have used the numleafdocs tag as suggested. But after adding this to
> the format string, if I restart greenstone, the page goes blank or only
> Author : Untitled string is displyed. Below is the classifier string and
> format string
> classify AZCompactList -mingroup 1 -metadata dc.Creator
> -buttonname Creator
> format CL1Vlist " {If}{[numleafdocs],[link][icon][/link],
> [srclink][srcicon][/srclink] [dc.Title][dc.Description]}"
> Is the format statement is not rightly defined, if yes please let me know.
> I have successfully installed and tested GSDL Web Library using IIS
> (Internet Information Services/ Webserver from Microsoft) on a local
> computer. Hope it works well on our server too.
> Regards,
> Sharad Jadhav
> */Katherine Don <kjdon@cs.waikato.ac.nz>/* wrote:
> Hi
> >
> > As suggested, I tried -minigroup 1, and yes it worked well. This has
> > solved my big problem of grouping the documents together. As we have
> > mostly PDF documents in our collection, we want to show them without
> > HTML version. I tried removing the [link] tag around [icon]. After
> > removing [link] tag, now bookshelf icon doesn’t work.
> >
> Use the structure I put in the format statement in the previous email:
> {If}{[numleafdocs], display for bookshelf, display for documents}
> Regards,
> Katherine
> *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/>.