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

From jmt12@cs.waikato.ac.nz
DateMon, 28 Jul 2003 10:22:16 +1200 (NZST)
Subject [greenstone-users] Re: Fixed: Control over display in Compact List
In-Reply-To (NFBBINHLOLBEPDOBGOFGKEIFDIAA-duncan-streamuk-com)
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