Re: [greenstone-devel] Hierarchy classifier configuration

From Doug Carter
DateFri, 26 Aug 2005 06:39:16 -0700
Subject Re: [greenstone-devel] Hierarchy classifier configuration
In-Reply-To (20050824195220-GA13076-mercycorps-org)
I've tried setting this in gsdl/etc/main.cfg. It works, but it messes
up the displaying of html documents. Where is the preferred place to
set this?

Thanks,

Doug

On Wed, Aug 24, 2005 at 09:33:48AM +1200, Michael Dewsnip wrote:
> Hi Doug,
>
> Try playing around with the "gc" argument. Valid values are 0, 1 and 2
> -- 0 is the default behaviour, 1 seems to display even less than 0, and
> 2 is what you're after I think.
>
> None of these will let you have both East Asia and Southeast Asia (for
> example) open at once, since Greenstone's "cl" argument only allows you
> to specify one node in the hierarchy, not many nodes.
>
> All the best,
>
> Michael
>
>
>
> Doug Carter wrote:
>
> >Hi all,
> >
> >I'm sure this is a FAQ, but I don't see anything applicable in the
> >mailing list archives.
> >
> >In my collect.cfg I have:
> >
> >classify Hierarchy -hfile geo.txt -metadata Geography -sort Title
> >
> >
> >Here's a section of my geo.txt file:
> >
> >15 15 Asia
> >15.20 15.20 East Asia
> >15.20.16 15.20.16 China (People's Republic of China)
> >15.20.62 15.20.62 Mongolia
> >15.20.77 15.20.77 Russia Far East (Russia)
> >15.80 15.80 Southeast Asia
> >15.80.25 15.80.25 Indonesia
> >15.80.68 15.80.68 Philippines
> >35 35 The Americas
> >35.10 35.10 Central America
> >35.10.01 35.10.01 Multi-Country/Regional
> >35.10.21 35.10.21 El Salvador
> >35.10.31 35.10.31 Guatemala
> >35.10.41 35.10.41 Honduras
> >35.10.51 35.10.51 Nicaragua
> >
> >---
> >
> >My question is, how do I create a CLVList that will always include
> >the entire hierarchy. In my example above clicking Asia will display:
> >
> >Asia
> > East Asia
> > Southeast Asia
> >
> >"The Americas" level disappears. The same is true if I then click
> >East Asia, Southeast Asia disappears:
> >
> >Asia
> > East Asia
> > China (People's Republic of China)
> > Mongolia
> > Russia Far East (Russia)
> >
> >I'd like the index to behave like the Windows File browser works,
> >expanding the hierarchy, but not deleting anything. Does anyone
> >have the formula for this?
> >
> >
> >TIA,
> >
> >Doug Carter
> >Mercy Corps
> >
> >
> >
> >
> >_______________________________________________
> >greenstone-devel mailing list
> >greenstone-devel@list.scms.waikato.ac.nz
> >https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
> >
> >
> >
>