Re: [greenstone-devel] French diacritics and internal links

From sw64@cs.waikato.ac.nz
DateFri, 22 Dec 2006 10:29:35 +1300 (NZDT)
Subject Re: [greenstone-devel] French diacritics and internal links
In-Reply-To (A11793301D39D711A6850002A5EF77E108F34BD9-SIVALEXG017)
Hello Patrick,

what [cgisafe:dc.Creator] does is encode the metadata rather than filter
the characters as the query form does described in wiki, so you need to do
the same for your hyperlink. However, I suggest you to upgrade your
greenstone and use MGPP's accent folding option.

Regards
Shaoqun

> Hi all,
>
> We've made hyperlink out of the value of metadata element putting in the
> format statement, an <a> tag around the metadata item, for example <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-help-Anupama+of+Greenstone+Team--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=q&q=[cgisafe:dc.Creator]&h=dag&t=0>[dc.Creator]</a>. When
> the value of the metadata contains any diacitics of the french langage
> -□,□,□,□... -, the link won't work fine.
> I've allready written to the Greenstone team about this problem, and it is
> now a little bit better.
> For example, If I click on "Gr□try, Andr□-Ernest-Modeste", first the
> search engine won't find anything and there will be displayed : "Andr□:O,
> Ernest:1, Gr□rty:0, Modeste:1 - No documents mathed the query"... But if I
> click on the "begin search" button, "Gr□try, Andr□-Ernest-Modeste" will
> become "gretry, andre-ernest-modeste" and everything will be OK (We are
> using the "How to handle diacritics" method retrieved in the wiki.
>
> I add that all the metadata we use are encoded in utf-8
>
> Any ideas or suggestions ?
>
> Regards,
>
>
> Patrick Hernebring
> Fonds musical ancien - Num□risation
> Biblioth□que d'Etude et du Patrimoine
> Biblioth□que de Toulouse
> 1 rue de P□rigord, 31000 Toulouse
> T□l : 05 62 27 63 76
>
> _______________________________________________
> greenstone-devel mailing list
> greenstone-devel@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
>