Re: [greenstone-users] Re: Display issue in browse classifiers

From Jenn Cole
DateThu, 21 Apr 2005 08:51:56 -0700
Subject Re: [greenstone-users] Re: Display issue in browse classifiers
In-Reply-To (42672265-3050000-cs-waikato-ac-nz)
Hi Michael & Katherine,

Everything is working great now with the new version and help from you
both. I can't thank you enough!!

Jenn Cole

Michael Dewsnip wrote:

>Hi Jenn,
>
>Actually, I remember now that [numleafdocs] was broken in Greenstone
>v2.52, which is why it wouldn't work for you previously. I think it will
>work fine now you've upgraded.
>
>Regards,
>
>Michael
>
>
>
>Michael Dewsnip wrote:
>
>
>
>>Hi Jenn,
>>
>>Katherine's suggestion to use [numleafdocs] works for me (see attached
>>screenshots). I used
>>
>>format CL2VList "<td
>>valign=top>[link][icon][/link]</td><td>{If}{[numleafdocs],[Title],{If}{[parent(All\':
>>\'):Title],[parent(All\': \'):Title]:}[link][Title][/link]</td>}"
>>
>>[numleafdocs] is only defined for folder-level nodes, so it is useful in
>>{If} statements in cases like this.
>>
>>Regards,
>>
>>Michael
>>
>>
>>
>>Jenn Cole wrote:
>>
>>
>>
>>
>>
>>>Yes, I was trying to use the searchVlist format statement, but it
>>>wasn't working. I did use the [parent:Title] in my VList when I got
>>>the wrong output. I am not quite sure if what I am trying to do is
>>>even possible. I only want the browse list to show the appropriate
>>>browse term and then once inside the term I want the parent title and
>>>title for documents to show up. I tried your format statement and it
>>>did not work either. Using your statement I got:
>>>
>>>Adams, Alfred:Adams, AlfredAdams, Alfred
>>>Page 32:Page 32Page 32
>>>Page 2:Page 2Page 2
>>>Page 3:Page 3Page 3
>>>Page 4:Page 4Page 4
>>>Page 5:Page 5Page 5
>>>Masset:MassetMasset
>>>Page 6:Page 6Page 6
>>>
>>>I havve tried using the [numleafdocs] in a format statement before and
>>>nothing worked. Maybe the way my html is done, greenstone is unable to
>>>use the [numleafdocs]. The metadata is extracted from my html file.
>>>
>>>I am sending along a sample document so you can see how I have my
>>>metadata coded in the html.
>>>
>>>This is one of the very last issues I am dealing with before the
>>>collection is released. I really do appreciate all of your assistance.
>>>
>>>Jenn Cole
>>>
>>>Katherine Don wrote:
>>>
>>>
>>>
>>>
>>>
>>>>Hi Jenn
>>>>
>>>>Is the collect.cfg you sent the one that gave you the funny output?
>>>>Because it doesn't look like it should to me.
>>>>Were you trying to use the SearchVList format statement for the VList?
>>>>Did you use [parent:Title] in your VList when you got the wrong output?
>>>>
>>>>You could try switching on [numleafdocs] so that classifier nodes use a
>>>>different format to document nodes.
>>>>eg
>>>>{If}{[numleafdocs],[Title],{If}{[parent(All\': \'):Title],[parent(All\':
>>>>\'):Title]:}[Title]}
>>>>
>>>>This should display the Title for the nodes, and parent Titles and Title
>>>>for documents.
>>>>
>>>>Regards,
>>>>Katherine Don
>>>>
>>>>Jenn Cole wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>Hi John,
>>>>>
>>>>>Here is my collect.cfg for that collection.
>>>>>
>>>>>Thanks,
>>>>>Jenn Cole
>>>>>
>>>>>John R. McPherson wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>On Thu, 2005-03-31 at 13:06 -0800, Jenn Cole wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>When I use the AZ classifier lists the individual documents matching
>>>>>>>the
>>>>>>>classifier term are listed only by page number. This doesn't let
>>>>>>>users
>>>>>>>know from which title the pages are from. I would like a display
>>>>>>>similar to the search result display. However, when I tried playing
>>>>>>>with the vlist format statement, my AZ classifier list looks like
>>>>>>>this:
>>>>>>>
>>>>>>>A-D:Aboriginal Title and Rights
>>>>>>>A-D:Agents
>>>>>>>A-D:Agriculture/Land Cultivation
>>>>>>>A-D:American Relations
>>>>>>>A-D:Aquaculture
>>>>>>>A-D:Assimilation
>>>>>>>A-D:British Columbia Terms of Union
>>>>>>>A-D:British North America Act
>>>>>>>A-D:Burial Sites
>>>>>>>A-D:Canneries
>>>>>>>
>>>>>>>the next level looks right:
>>>>>>>
>>>>>>>A-D:Aboriginal Title and Rights
>>>>>>> Meeting at Port Simpson:Page 39
>>>>>>> Kwawkewlth Agency:Meeting with Quawshelah Band
>>>>>>> Nass Agency:Meeting at Grease Harbour
>>>>>>> Kwawkewlth Agency:Meeting with the Principle Tribes of the
>>>>>>>Kwawkewlth Nation
>>>>>>> Meeting at Port Simpson:Page 43
>>>>>>> Skidegate:Page 34
>>>>>>>
>>>>>>>My question is how can I get rid of the A-D: display on the classifier
>>>>>>>list?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>Hi,
>>>>>>maybe it would be easier if you gave us the relevant bits out of your
>>>>>>collect.cfg file.
>>>>>>
>>>>>>John
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>