[greenstone-users] Format question and little bugs?

From ruben pandolfi
DateTue, 07 Mar 2006 19:32:35 +0100
Subject [greenstone-users] Format question and little bugs?
Hi All,

I have these little questions about formatting, I can not get it work
...

1) In collect cfg I have:

.............................

classifyGenericList -sort_leaf_nodes_using dc.Title
-always_bookshelf_last_level -metadata dc.Language


and

format DocumentText" ....

{If}{[dc.Language], <tr><td valign=top><b>_Language_:</b></td><td
valign=top>[dc.Language]</td></tr>}

...
.............................

the browsing list is fine and perfect, but for some reason the entire
line in [dc.Language] for DocumentText is not displayed. All other
fields are ok.. any idea what causes this problem?


2) In collect cfg I have:

{If}{[Text] ne 'This document has no text. ',[Text]}

But still the sentence appears for documents with no text

(I have tried with other flavours, cna you confirm that the perl
expression is working in this gsdl version?)


3) How can I translate the text for a button name like this:

classifyAZCompactList -metadata dc.Title -firstvalueonly -buttonname
Titles

You can test the library here:

http://www02.unibg.it/~morin/gsdl/cgi-bin/library?e=d-000-00---0babel3--00-1-0--0prompt-10---4------0-1l--1-en-50---20-preferences---00131-001-1-0utfZz-8-00&a=q

and collect.cfg is here:

http://www02.unibg.it/~morin/gsdl/collect/babel3/etc/collect.cfg

Thank you for your help and for your time!

Ruben


--
..................

Ruben Pandolfi

-------------------------------------------------------------
"...I Think This is the Beginning of a Beautiful Friendship."
-------------------------------------------------------------