Re: [greenstone-users] Title index generated by PagedImg plug

From xiao
DateMon, 16 Jul 2007 10:08:20 +1200
Subject Re: [greenstone-users] Title index generated by PagedImg plug
In-Reply-To (46973377-6060600-free-fr)
Hello Vincent,

Try removing the [ex.Number] from the format statement.

Regrads
xiao

On 7/13/07, Vincent Dubuc <vdlb1@free.fr> wrote:
Hello.

I made a collection of old newspaper, using the Paged Image pluggin and
.item files. On those .item files, I use some extra metadata like
Subject, Creator andTitle.

The Title metadata is used for the Title index of the newspaper's
article titles (articles had several pages, form 1 to 5).

For exemple here is a portion of an .item file :

<PageGroup>
        <Metadata name="Title">Vive Boulanger</Metadata>
        <Metadata name="Creator">Louiche (Jean-Baptiste)</Metadata>
        <Metadata name="Subject">Politique</Metadata>
        <Page pagenum="49" imgfile="images/49.gif"></Page>
        <Page pagenum="50" imgfile="images/50.gif"></Page>
        <Page pagenum="51" imgfile="images/51.gif"></Page>
</PageGroup>

The problem is that the title index will have an entry "Vive Boulanger"
but also 3 other entries : "49", "50" and "51" as the page numbers will
be extracted as titles. How to avoid such a thing ?

The configuration for this index is :

AZCompactSectionList -metadata ex.Title -sort Number -minigroup 2
-doclevel Section
<td valign="top">[link][icon][/link]</td>
<td valign="top">[highlight]
{Or}{[ex.Title], [ex.Number]} [ex.Number] [/highlight]</td>

Thanks for your help

Vincent Dubuc



_______________________________________________
greenstone-users mailing list
greenstone-users@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users



--
Greenstone Digital Library
New Zealand