[greenstone-users] Hierarchical browsing

From Vladimir Risojevic
DateTue, 09 Oct 2007 09:27:04 +0200
Subject [greenstone-users] Hierarchical browsing
Dear all,

I have a scanned image collection which I process using PagedImgPlug
with item files that looks like this:

<PagedDocument>
<Metadata name="Series">AAA</Metadata>
<Metadata name="Date">19100101</Metadata>
<Metadata name="Volume">1</Metadata>
<Metadata name="Number">1</Metadata>
<PageGroup>
<Metadata name="dc.Title">xxx</Metadata>
<Page pagenum="1" imgfile="001.tif"/>
<Page pagenum="2" imgfile="002.tif"/>
<Page pagenum="3" imgfile="003.tif"/>
<Page pagenum="4" imgfile="004.tif"/>
</PageGroup>
<PageGroup>
<Metadata name="dc.Title">yyy</Metadata>
<Page pagenum="5" imgfile="005.tif"/>
</PageGroup>
<PageGroup>
<Metadata name="dc.Title">zzz</Metadata>
<Page pagenum="5" imgfile="005.tif"/>
<Page pagenum="6" imgfile="006.tif"/>
<Page pagenum="7" imgfile="007.tif"/>
<Page pagenum="8" imgfile="008.tif"/>
</PageGroup>
</PagedDocument>

I want to have hierarchical browsing of this collection which is easy to
accomplish. What I would also like to do is to display the first page of
the PageGroup (section) when the user selects it. In other words, I
don't want to display pages with only table of contents for PageGroups.

The main problem is that I want it to be general, that is to work when
section is selected from the table of contents, search results or
previous/next arrows. Besides that modification I would like the table
of contents to work as usual.

Any help would be appreciated.

Best regards,

Vladimir Risojevic

--
Vladimir Risojevic
Teaching Assistant
Faculty of Electrical Engineering
University of Banjaluka
Patre 5
78000 Banjaluka
Bosnia and Herzegovina

Phone: +387 51 221 847, +387 51 221 876
Fax: +387 51 211 408
Email: vlado@etfbl.net
WWW: http://www.etfbl.net