[greenstone-users] PagedImagePlugin: methods of use

From William Mann
DateFri Nov 12 08:15:07 2010
Subject [greenstone-users] PagedImagePlugin: methods of use
In-Reply-To (003a01cb80df$08bb5c30$1a321490$-gov-ar)
Hi Diego,

What my user would like is to see the data in the same order as the
directories on the drive. So Area 51 (/dir1) would come before Area 1
(/dir2) not because of the sort order but because the directory
structure on the drive is like that.

--
William


On 11/10/2010 02:56 PM, Diego Spano wrote:
> William, I canâ–ˇt understand.
>
> By default, talking about alphabetical order, "Area 1" will always appear
> before "Area 51". You need descendant order?
>
> Diego
>
> -----Mensaje original-----
> De: greenstone-users-bounces@list.scms.waikato.ac.nz
> [mailto:greenstone-users-bounces@list.scms.waikato.ac.nz] En nombre de
> William Mann
> Enviado el: Martes, 09 de Noviembre de 2010 07:44 p.m.
> Para: greenstone-users@list.scms.waikato.ac.nz
> Asunto: [greenstone-users] PagedImagePlugin: methods of use
>
> Hi,
>
> I finally have my first collection online and it seemed like things are
> working correctly. However, one of my users is complaining because the
> Browsing classifier that I'm using presents the information in a
> different order than the on-disk structure. That is, after creating the
> .item files with metadata containing a Title and Subject_and_Keywords.
> The Subject_and_Keywords contain the hierarchy that I want. So I have
> something like this:
>
> /dir1
> ----/subdir1
> --------file_1.jpg
> --------file_2.jpg
> --------file_3.jpg
> /dir2
> ----/subdir1
> --------file_1.png
> --------file_2.png
> ----/subdir2
> --------file_1.gif
> --------file_2.gif
>
> with the .item file structured something like this:
>
> <Title>My image 1
> <Subject and Keywords>Area 51|Section 1
> 1:file_1.jpg
> 2:file_2.jpg
> 3:file_3.jpg
>
> and
>
> <Title>My images
> <Subject and Keywords>Area 1|Section 19
> 1:file_1.png
> 2:file_2.png
>
> and
>
> <Title>My images
> <Subject and Keywords>Area 1|Section 1
> 1:file_1.gif
> 2:file_2.gif
>
>
> After building the collection my hierarchical classifier would show this:
>
> Area 1
> ----Section 1
> Area 51
> ----Section 1
> ----Section 19
>
> This is fine with me; however, my user states that the directory
> structure is important and must be respected. Therefore, what he would
> like to be shown is this:
>
> Area 51
> ----Section 19
> ----Section 1
> Area 1
> ----Section 1
>
> My question is this: is there a way to make my classifier present the
> results in the same order in which they're found physically on disk?
>
> Thanks for any insight!
>