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

From HERNEBRING Patrick
DateTue, 23 Jan 2007 13:12:35 +0100
Subject RE : [greenstone-devel] French diacritics and internal links
Hi Shaoqun,

Thanks for your answer and sorry for not replying sooner.
I've tried to build a collection with MGPP using the accent folding option, but it doesn't change anything to the problem and the link is still not working.

Otherwise and concerning what you're saying "so you need to do the same for your hyperlink", I'm afraid that I'm not really able to know concretely what to do...

Anymore help ?

Patrick

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


-----Message d'origine-----
De : sw64@cs.waikato.ac.nz [mailto:sw64@cs.waikato.ac.nz]
Envoyé : jeudi 21 décembre 2006 22:30
À : HERNEBRING Patrick
Cc : greenstone-devel@list.scms.waikato.ac.nz
Objet : Re: [greenstone-devel] French diacritics and internal links

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-preferences-Stefan+Boddie--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
>