Re: [greenstone-users] Another question: multivalued fields

From E Robinson
DateFri, 20 Oct 2006 10:38:24 +1300
Subject Re: [greenstone-users] Another question: multivalued fields
In-Reply-To (45250-130-217-244-2-1161120285-squirrel-webmail-scms-waikato-ac-nz)
Thanks, it works, and the latest version is good.

The [sibling:Subject] option works to produce a list of all the values, but it does not have any commas or identifiers to separate the values. I would like to list each "Subject" on a new line (Subject 1, Subject 2 etc, with only printing the later ones of they exist. Is it possible to do this? at present I have limited the number of Subjects to 2, which may make it easier.

Ideally I would like to be able to use multiple values for a hierarchy but I recall that this isn't possible.

Thanks again
Ed Robinson

At 10:24 18/10/2006, sw64@cs.waikato.ac.nz wrote:
Hello Ed,

You can use AZCompactList classifier, for which the "allvalues" parameter
is the default. Also, you can use [sibling:Subject] or [sibling:Author]
format statement to display all multiple values of Subject or Author in
VList,

Regards
Shaoqun


> Michael,
>
> Thank you for your help a few weeks ago. I did get a sample collection
> working, and have just heard that the organisation is keen to continue - I
> now need tog et a couple of things working that I didn't finish before.
>
> One of those is allowing for multiple values for Author and Subject. I
> have
> created additional columns in the .cfg file and put some test data in.
> Where is the "allvalues" parameter put and can it be done through the GLI
> or do I have to edit the config file?
>
> Do I also need to put mode=accumulate somewhere?
>
> Thanks
> Ed Robinson
>
>
> At 11:10 07/09/2006, Michael Dewsnip wrote:
>>Hi Michael,
>>
>>If you're using CSVPlug you will need to have multiple columns in the
>>Excel file for the same field, and put one value in each column.
>>
>>Also, check you have the "-allvalues" option enabled for your
>> classifiers.
>>
>>Regards,
>>
>>Michael
>>
>>Michael Silver wrote:
>>
>> >Hello,
>> >
>> >I'm getting closer, thanks to much help from Michael Dewsnip and
>> Cameron
>> >Esslemont. Right now I'm stuck trying to figure out how to get a
>> browsing
>> >classifier to work with multiple values in a field, eg
>> >
>> >"Subject 1|Subject 2|Subject 3"
>> >
>> >I've tried AZCompactList and Hierarchy without luck. I'm going to keep
>> >reading, but can anyone point me to a quick fix?
>> >
>> >Thank you all for your patience and assistance,
>> >Michael
>> >
>> >Michael Silver, Network Administrator
>> >Parkland Regional Library
>> >5404 56 Avenue Lacombe, AB T4L 1G1
>> >Phone: 403.782.3850    Fax: 403.782.4650
>> > http://www.prl.ab.ca/
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>