Re: [greenstone-users] Formatting CL1VLIST

From Tomáš Fiala
DateTue, 15 May 2007 11:41:58 +0200
Subject Re: [greenstone-users] Formatting CL1VLIST
In-Reply-To (D0EBABFB-B624-4454-88F0-2E6A7333EA59-dlconsulting-com)
Hello all,

many thanks to all of you, your replies helped me to solve my problem !

I used this one for my CL1VLIST :

{If}{[ex.IssuingBodyAsOnThePiece^a],<br/><i>Issuing body as on the
piece: </i>[ex.IssuingBodyAsOnThePiece^a],{If}{[ex.541^a], [ex.541^a]}}

Sincerely,

Tomas Fiala

John Rowe wrote / napísal(a):
> Hey Tomas,
>
> If it's in the format statements (within the collect.cfg), it
> should look something like this:
>
> {If}{[MEATDATA1],[METADATA1],[METADATA2]}
>
> Or, an alternative syntax allows you to check whether or not a
> piece of metadata is equal to a string. For example this checks if
> METADATA1 is equal to the text "Hello" and outputs METADATA2 if that
> is the case, otherwise METADATA1:
>
> {If}{[MEATDATA1] eq Hello,[METADATA2],[METADATA1]}
>
>
> Cheers,
> John Rowe
>
> DL Consulting
> Greenstone Digital Library and Digitisation Specialists
> contact@dlconsulting.com
> www.dlconsulting.com
>
>
> On 15/05/2007, at 1:58 AM, Tomas Fiala wrote:
>
>> Hello,
>>
>> please can anyone help me with formatting my CL1VLIST ?
>>
>> I want to do following :
>>
>>
>> IF {[METADATA1], has some text display [METADATA1], IF NOT, DISPLAY
>> {[METADATA2], IF IT has some text </i>[METADATA2]}<
>>
>> Many thanks to all of you !
>>
>> Sincerely,
>>
>> Tomas Fiala
>> _______________________________________________
>> greenstone-users mailing list
>> greenstone-users@list.scms.waikato.ac.nz
>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>