Re: [greenstone-users] hierarchical markers

From Michael Dewsnip
DateSat, 09 Jun 2007 13:01:28 +1200
Subject Re: [greenstone-users] hierarchical markers
In-Reply-To (466978A0-5090709-sdb-org)
Hi Julian,

You're right that the Hierarchy classifier uses both "|" and "/" as
hierarchy separators by default. However you can easily change this by
specifying a "-separator" option to the Hierarchy classifier, eg:

classify Hierarchy -metadata dc.Title -separator "\|"

if you just want "|" to be the separator.

All the best,

Michael

Julian Fox wrote:
> Hi list,
> This little experience just might help someone along the way.
> I was putting in Title metadata on letters, and using the Hierarchy
> classifier because I have 6 thousand items of correspondence to
> enter. Accordingly, the first level was, let's say a name (Cimatti,
> in this case) which I followed with a bar, hence Cimatti|. So far so
> good. Then I was copying and pasting from the letter headings which
> had been written thus: Antonio/Livorno/2001-03-02/.
> Accordingly the metadata looked like this at this point, for Title:
> Cimatti|Antonio/Livorno/2001-03-02/.
> What I was surprised to discover was that Greenstone treated the
> forward slashes, not just the bar, as hierarchical markers. I didn't
> realise it would do that, so have had to remove those slashes
> otherwise a user would have to click through 4 or 5 levels to get to
> the letter itself.
> Not sure how often a situation like that might turn up for others, but
> I thought I'd note it just in case it might help someone avoid (or
> include the possibility of) using / as a hierarchical marker.
> Julian
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>


--
DL Consulting
Greenstone Digital Library and Digitisation Specialists
contact@dlconsulting.com
www.dlconsulting.com