[greenstone-users] making hierarchical subjects display as individual subjects

From John Fitzgibbon
DateWed Dec 8 23:26:13 2010
Subject [greenstone-users] making hierarchical subjects display as individual subjects
Hi,

I have created a hierarchical classifier of subjects using | to seperate each level of the hierarchy. For example,

Ireland|Leinster|Dublin

At a different place in the document I create a list of all subject terms which are hyperlinks. I use

{If}{[sibling(1):dc.Subject],<a href="/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-John+Rose--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=q&fqf=DS&q=[sibling(1):dc.Subject]" title="Subject">[sibling(1):dc.Subject]</a>}
etc.

This list displays

Ireland|Leinster|Dublin

as one keyword and one hyperlink.

Can I make the software break such subjects up into individual keywords and sort them alphabetically? I know I can do this by using two subject fields from two metadata sets but I am hoping there is a more elegant solution.

I would appreciate any advice.


Regards,

John

John Fitzgibbon

w: www.galwaylibrary.ie

e: info@galwaylibrary.ie

p: 00 353 91 562471

f: 00 353 91 565039


#####################################################################################
This e-mail message has been scanned for content and cleared
by MailMarshal Hosted at Galway County Council

T? an teachtaireacht r?omhphoist seo scan?ilte d??bhar agus glanta
ag MailMarshal at? ?st?lta i gComhairle Chontae na Gaillimhe.

Correspondance is welcome in Irish or in English.
T? m?le f?ilte roimh chomhfhreagras i nGaeilge n? i mB?arla.

T? eolas at? pr?obh?ideach agus r?nda sa r?omhphost seo
agus aon iat?n a ghabhann leis agus is leis an duine/na daoine
sin amh?in a bhfuil siad seolta chucu a bhaineann siad.
Mura seola? th?, n?l t? ?daraithe an r?omhphost n? aon iat?n
a ghabhann leis a l?amh, a ch?ip?il n? a ?s?id.
M? t? an r?omhphost seo faighte agat tr? dhearmad,
cuir an seolt?ir ar an eolas thr? aischur r?omhphoist
agus scrios ansin ? le do thoil.

This e-mail and any attachment contains information which is
private and confidential and is intended for the addressee
only. If you are not an addressee, you are not authorised
to read, copy or use the e-mail or any attachment.
If you have received this e-mail in error, please notify
the sender by return e-mail and then destroy it.

If you need this email in an alternative format please contact the sender
M? t? an r?omhphost seo ag teast?il uait i bhform?id eile d?an teagmh?il leis an duine a sheol chugat ?

#####################################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20101208/0b42d6d2/attachment.html