RE : [greenstone-devel] Frenc diacritics in item.files - Help:simplehelp

From HERNEBRING Patrick
DateThu, 30 Nov 2006 15:18:44 +0100
Subject RE : [greenstone-devel] Frenc diacritics in item.files - Help:simplehelp
Hi Katherine

We are using the GLI and the 2.71 version. The item.files are in "XML" style. I switched already to expert mode and don't get any error when the pagedimgplug is processing the item.files.
If I suppress the diacritics in the item files, every thing is (generally) working well, but if there are some diacritics, the only problem will be that the images won't be displayed. (In our collection "images" can mean either [srcicon] or [screenicon], or [Docimage]) the navigator can't find the image and displays the small "red cross" instead. However, the TOC is displayed correctly (including the diacritics). The content of the metadatas file in the "archive" folder is the same, but the links to the images are pointing to a false HASH (ex: ".../index/assoc/HASH3fOb.dir/cover.jpg" instead of ".../index/assoc/HASH01b0.dir/cover.jpg"). Besides, for the same document, the HASH folders have not the same numbers in "/index/assoc/" and in "/archives/"...

I join three item.files, the first one (e.g. agatanget.item) is working only if there are no diacritics inside. The second and the third will generate the same kind of problems, but even if there are no diacritics! I don't know why, it seams that there is no syntax error in them...)
To be complete, I just add that I've noticed that the problem is the same for some HTML and PDF documents...

Here is the cfg of the collection too...

Thanks again and again...

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


-----Message d'origine-----
De : Katherine Don [mailto:kjdon@cs.waikato.ac.nz]
Envoyé : mardi 28 novembre 2006 21:34
À : HERNEBRING Patrick
Cc : greenstone-devel@list.scms.waikato.ac.nz
Objet : Re: [greenstone-devel] Frenc diacritics in item.files - Help:simplehelp

Hi Patrick

diacritics should work in metadata in item files as long as they are
saved with utf-8 encoding. what version of greenstone are you using? In
2.71 we fixed a bug where a byte order marker was mucking up parsing of
the XML file.
Are you using XML or text style item files?
There may be problems if the image file names have diacritics.
Are you using GLI? Try switching to expert mode and rebuilding - what
errors do you get?
What platform are you using?
You could send me a couple of item files that don't work and I'll try
them here.

The "search for particular words..." is defined in english.dm.
_textSearchhelp_ macro. (in 2.71)

If you want to find any text macros, the best thing to do is search for
the english text in english.dm (or english2.dm) - all text macros are
defined in these files. Then you can add the appropriate macro into the
french.dm file.

Regards,
Katherine

HERNEBRING Patrick wrote:
> Hi all,
>
>
>
> It seems that it isn't possible to have item files with metadatas
> containing French diacritics "é, à,,ç..." (even if the file is saved with
> utf-8 encoding). In this case, when building the collection, the
> pagedimgplug doesn't processed correctly those kind of item files.
> (sometimes the images don't appear, sometimes the document is not
> integrated in the collection...)
>
>
>
> We're facing another problem.
>
>
> *The text (help : simplehelp) in the about page :*
>
>
> *How to find information in the X collection*
>
> There are X ways to find information in this collection:
>
> search for particular words that appear in the text by clicking the
> Search button...
>
> isn't translated in French. I want to do it but cannot find where it is
> located (I've looked all the macros without finding it)
>
> Any help or advice is greatly appreciated.
>
>
>
> Thanks for your time and consideration.
>
>
>
>
>
>
>
> 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


<<attachment>>
Type: application/octet-stream
Filename: agatanget.item

download


<<attachment>>
Type: application/octet-stream
Filename: preluderthnd.item

download


<<attachment>>
Type: application/octet-stream
Filename: preluderthpnd.item

download


<<attachment>>
Type: application/octet-stream
Filename: collect.cfg

download