[greenstone-users] [Fwd: RE: Fixed: Control over display in Compact List]

From jmt12@cs.waikato.ac.nz
DateTue, 29 Jul 2003 09:18:18 +1200 (NZST)
Subject [greenstone-users] [Fwd: RE: Fixed: Control over display in Compact List]
-------- Original Message --------
Subject: RE: Fixed: Control over display in Compact List
From: "Duncan Burbidge" <duncan@streamuk.com>
Date: Tue, July 29, 2003 2:55 am
To: <jmt12@cs.waikato.ac.nz>

Hi John

Thanks for the information below. Regarding the AZCompactlist
classifier, I'd graduated onto the 'if numleafs' type expression, which
was working fine but I still could not get the top level to display the
metadata. Only today I tried the [Title] metadata and saw that this is
what is used for the 'bookshelf' itself!!! (I had spent ages trying to
get the common metadata element, in this case [dc.Creator], to display.)

Thanks for your help,

Duncan

-----Original Message-----
From: jmt12@cs.waikato.ac.nz [mailto:jmt12@cs.waikato.ac.nz]
Sent: 27 July 2003 23:22
To: duncan@streamuk.com
Cc: greenstone-users@list.scms.waikato.ac.nz
Subject: Re: Fixed: Control over display in Compact List


Hello Duncan,

Ah-ha. Now I see whats happening. To display the top level heading try
something like this:

format CL2VList
"<td>[link][icon][/link]</td><td>{If}{[dc.Title],[dc.Title],[Title]}</td>"

which will display the default title if no dc.Title metadata has been
assigned. A couple of other small points about your collect.cfg.

> classify AZCompactList -metadata dc.Subject and Keywords

should be just dc.Subject. This is a bug in the GLI which I'll fix soon.
You also should add '-buttonname Subject' to ensure the 'pretty' button
is shown in the title bar.

Cheers,
John T
Greenstone Digital Library, University of Waikato

> Hi John
>
> That did fix the problem (AZCompactList references metadata in the top
> level directory by default), I now have to work out how to get the
> headings back on my list categories (I want to see Subject at the top
> level, which it does by default, but this is removed when I format a
> Vlist generally)
>
> Best
>
> Duncan
>
> -----Original Message-----
> From: jmt12@cs.waikato.ac.nz [mailto:jmt12@cs.waikato.ac.nz]
> Sent: 25 July 2003 01:28
> To: duncan@streamuk.com
> Cc: greenstone-users@list.scms.waikato.ac.nz
> Subject: Re: [greenstone-users] Control over display in Compact List
>
>
> Hi Duncan,
>
> I'm not sure what is causing this. There is a known problem where the
> format controls don't update the collect.cfg file correctly. When you
> type in the 'Edit Format String' text area is the string shown in the
> 'Currently Assigned Format Commands' list also changing? If not,
> unselect then reselect the offending command (to unselect hold down
> [ctrl] then click), and see if that helps.
>
> My second suspicion would be that the dc.Title metadata might not be
> being stored properly. Can you post the 'metadata.xml' found in the
> same folder where your files are located, within the gimport folder of
> your collection, so I can see.
>
> Cheers,
> John T
> Greenstone Digital Library, University of Waikato
>
>> Hi List
>>
>> I've just started using the librarian feature to format a new
>> collection.
>>
>> I'm using AZCompact lists and want to get the display not to use the
>> extracted document title, but to use my dc.Title (which are complete)
>>
>> So I thought that something like: Format CL2VList
>> "<td>[srclink][srcicon][/srclink]</td><td>[dc.Title]</td>" ,where CL2
>> is my AZCompactList classifier.
>>
>> Unfortunately this results in a blank page (if I don't format the
>> classifier, it works fine but displays the extracted document
>> titles). Likewise if I use Format VList rather than CL2VList.
>>
>> I can format other classifiers normally
>>
>> Any help appreciated.
>>
>> Kind regards
>>
>> Duncan
>>
>> I'm on Windows XP, importing .rtf files
>>
>>
>> _______________________________________________
>> greenstone-users mailing list
>> greenstone-users@list.scms.waikato.ac.nz
>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users