From | vicarvi@adinet.com.uy |
Date | Tue Jun 7 01:07:11 2011 |
Subject | [greenstone-users] Unsuscribe |
>----Mensaje original----
>De: greenstone-users-request@list.scms.waikato.ac.nz >Fecha: 02/06/2011 03:56 >Para: <greenstone-users@list.scms.waikato.ac.nz> >Asunto: greenstone-users Digest, Vol 99, Issue 2 > >Send greenstone-users mailing list submissions to >greenstone-users@list.scms.waikato.ac.nz > >To subscribe or unsubscribe via the World Wide Web, visit >https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users >or, via email, send a message with subject or body 'help' to >greenstone-users-request@list.scms.waikato.ac.nz > >You can reach the person managing the list at >greenstone-users-owner@list.scms.waikato.ac.nz > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of greenstone-users digest..." > > >Today's Topics: > > 1. Re: [Fwd: (Possible) fix to PagedImagePlugin's processing of > unicode in XML item files] (Greenstone Team) > 2. With attachment - Re: [Fwd: (Possible) fix to > PagedImagePlugin (Greenstone Team) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Thu, 02 Jun 2011 18:25:42 +1200 >From: Greenstone Team <greenstone_team@cs.waikato.ac.nz> >Subject: [greenstone-users] Re: [Fwd: (Possible) fix to >PagedImagePlugin's processing of unicode in XML item files] >To: Yitzchak Schaffer <yitzchak.schaffer@gmx.com>, >greenstone-users@list.scms.waikato.ac.nz, Anupama of Greenstone Team ><greenstone_team@cs.waikato.ac.nz> >Message-ID: <4DE72CE6.6090609@cs.waikato.ac.nz> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >Hello Yitzchak, > >Thanks for writing back. > >There's a bit of a mystery going on now. Please have a look at the >attached image of what I have produced. Note that I am using the >Greenstone 2 Paged Image Collection tutorial and modified an xml item >file of the tutorial's Niupepa collection by pasting in the metadata >from your .item file. > >The images remained the same as those of the Niupepa collection, so the >images referenced in the <Page> elements in the item file (which are >nested inside <PageGroup> element in the Niupepa collection) remain >those of the tutorial also. I have therefore only changed the metadata. > >The results are as in the screenshot attached: the left-hand side shows >the doc.xml, while the right-hand side top shows the greenstone >collection page displaying the title in Hebrew (in the duplicated item >at the bottom, the top 2 items are from some older test data sent by >another person on the mailing list). The screen capture also shows a bit >from GLI's enrich pane. I've got GLI's font set to Microsoft's Arial >Unicode, so the Hebrew characters are able to be displayed. > >Is there anything I am doing that is fundamentally different from the >way your collection works? I know I don't have your document content >here, instead my doc.xml uses the Niupepa content. However, the metadata >I borrowed from your item file does look decent for me even after >processing. > >Were you saving your item files as UTF-8 on your machine? >- I saved them here as UTF-8 with BOM, ysing Windows' Notepad, which >always inserts the BOM even for UTF-8 >- and I also tried saving them as UTF-8 without BOM, something which >Notepad++ makes possible. >In both cases, the Hebrew metadata seems to have been preserved for me >once it passed through GLI. > >I can't think of anything else that may differ between our set-ups. If >the above-described solution of ensuring the item file got saved in >UTF-8 was already the case with you, would you create a test collection >with just 1 of your item files (the one you sent), but reduce its image >references to 1 or 2 images, and add in the matching couple of images >files into your collection as well. If building that collection fails >again in the manner you described, will you zip its import folder up and >send it to me? Because things seem to be working as hoped in my >approximated collection here, but it may not properly capture the >complexity of your collection. > >Thanks for your persistence in helping to track down this issue, >Anupama > > >Yitzchak Schaffer wrote: >> On 2011-05-19 01:32, Greenstone Team wrote: >>> I've updated PagedImagePlugin.pm once more since yesterday, with an >>> additional correction. Can you please download the latest version from >>> http://trac.greenstone. org/browser/main/trunk/greenstone2/perllib/plugins/PagedImagePlugin.pm? format=txt >>> >>> >>> to try it out? The instructions are in my previous email to you, which I >>> have copied below and which, it turns out, I forgot to send to Peter >>> last night. >>> >>> Write back if there's any further issues, >>> Anupama >>> >> >> Hi Anupama, >> >> Sorry it's taken time to test this; had a deadline on another project. >> >> We're still getting no love in the metadata encoding. I am attaching >> our .item file, as well as the doc.xml output from import.pl using the >> PagedImagePlugin.pm from trunk. >> >> Thank you! >> > > > > >------------------------------ > >Message: 2 >Date: Thu, 02 Jun 2011 18:32:28 +1200 >From: Greenstone Team <greenstone_team@cs.waikato.ac.nz> >Subject: [greenstone-users] With attachment - Re: [Fwd: (Possible) fix >toPagedImagePlugin >To: Yitzchak Schaffer <yitzchak.schaffer@gmx.com>, Anupama of >Greenstone Team <greenstone_team@cs.waikato.ac.nz>, >greenstone-users@list.scms.waikato.ac.nz >Message-ID: <4DE72E7C.5040805@cs.waikato.ac.nz> >Content-Type: text/plain; charset="iso-8859-1" > >Ignore my previous message. It repeats most of what's below, but didn't >have the >attachment I promised to send along. > > >Hello Yitzchak, > >Thanks for writing back. > >There's a bit of a mystery going on now. Please have a look at the >attached image of what I have produced in my attempts here (it's a jpeg >saved at 75% quality, but I think it should still be viewable as the >image dimensions are quite large). Note that I am using the Greenstone 2 >Paged Image Collection tutorial and modified an xml item file of the >tutorial's Niupepa collection by pasting in the metadata from your . item >file. > >The images remained the same as those of the Niupepa collection, so the >images referenced in the <Page> elements in the item file (which are >nested inside <PageGroup> element in the Niupepa collection) remain >those of the tutorial also. I have therefore only changed the metadata. > >The results are as in the screenshot attached: the left-hand side shows >the doc.xml, while the right-hand side top shows the greenstone >collection page displaying the title in Hebrew (in the duplicated item >at the bottom, the top 2 items are from some older test data sent by >another person on the mailing list). The screen capture also shows a bit >from GLI's enrich pane. I've got GLI's font set to Microsoft's Arial >Unicode, so the Hebrew characters are able to be displayed. > >Is there anything I am doing that is fundamentally different from the >way your collection works? I know I don't have your document content >here, instead my doc.xml uses the Niupepa content. However, the metadata >I borrowed from your item file does look decent for me even after >processing. > >Were you saving your item files as UTF-8 on your machine? >- I saved them here as UTF-8 with BOM, ysing Windows' Notepad, which >always inserts the BOM even for UTF-8 >- and I also tried saving them as UTF-8 without BOM, something which >Notepad++ makes possible. >In both cases, the Hebrew metadata seems to have been preserved for me >once it passed through GLI. > >I can't think of anything else that may differ between our set-ups. If >the above-described solution of ensuring the item file got saved in >UTF-8 was already the case with you, would you create a test collection >with just 1 of your item files (the one you sent), but reduce its image >references to 1 or 2 images, and add in the matching couple of images >files into your collection as well. If building that collection fails >again in the manner you described, will you zip its import folder up and >send it to me? Because things seem to be working as hoped in my >approximated collection here, but it may not properly capture the >complexity of your collection. > >Thanks for your persistence in helping to track down this issue, >Anupama > > >Yitzchak Schaffer wrote: >> On 2011-05-19 01:32, Greenstone Team wrote: >>> I've updated PagedImagePlugin.pm once more since yesterday, with an >>> additional correction. Can you please download the latest version from >>> http://trac.greenstone. org/browser/main/trunk/greenstone2/perllib/plugins/PagedImagePlugin.pm? format=txt >>> >>> >>> to try it out? The instructions are in my previous email to you, which I >>> have copied below and which, it turns out, I forgot to send to Peter >>> last night. >>> >>> Write back if there's any further issues, >>> Anupama >>> >> >> Hi Anupama, >> >> Sorry it's taken time to test this; had a deadline on another project. >> >> We're still getting no love in the metadata encoding. I am attaching >> our .item file, as well as the doc.xml output from import.pl using the >> PagedImagePlugin.pm from trunk. >> >> Thank you! >> > >-------------- next part -------------- >A non-text attachment was scrubbed... >Name: ForYitzchak.jpg >Type: image/jpeg >Size: 372920 bytes >Desc: not available >Url : https://list.scms.waikato.ac.nz/mailman/private/greenstone- users/attachments/20110602/8b6560d0/ForYitzchak.jpg > >------------------------------ > >_______________________________________________ >greenstone-users mailing list >greenstone-users@list.scms.waikato.ac.nz >https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users > > >End of greenstone-users Digest, Vol 99, Issue 2 >*********************************************** > |