RE: [greenstone-devel] browsing one book

From Emanuel Dejanu / Simple Words
DateFri, 21 May 2004 10:18:56 +0300
Subject RE: [greenstone-devel] browsing one book
In-Reply-To (71E37EF6B7DCC1499CEA0316A2568328010579CB-loki-wc-globexplorer-net)
I had modified document action to allow me to browse a document giving a
Jobnumber is extracted from "Source" metadata by removing the extension


Also I have added to import scripts the posibility to use the file directory
as OID using the
Formul J<directory name> so you can navigate using

?e=...&a=d&d=J<director name>

The only problem is that you must have one processed file by directory.

All the code is under GSDL team revision and may be included in the next

Best regards,

Emanuel Dejanu

-----Original Message-----
[] On Behalf Of
Gregory S. Williamson
Sent: Friday, May 21, 2004 9:22 AM
To: Hiro Mizutani;
Subject: RE: [greenstone-devel] browsing one book

Hiro (et al),

I've been trying to implement a version of this as well. Our users are
likely to want to be able to peruse the main entries in each of our sections
without going back to a menu.

Because we're exporting from another format with our own tool, we have a lot
of control over creating the HTML, so I was able to create a a test set of
pages with a NxtPg and a PrvPg metadata tag defined giving the file names of
the relative pages for each page we export (we just wrap around at the end
of the book to the 1st page).

Alas, I can't seem to find a way to create a macro that can navigate to a
given document when given a file name (or title). Is there any way to create
such a thing ?

[If not, I think I'll rewrite the export code from our original to simply
insert an HTML tag with this information; less elegant than using a macro
but at least I know it'll work. GSDL will just crunch it as another part of
the imported pages.]

Seems like this capability would of use to at least a subset of GSDL users
(the "casual" browsers as distinct from those doing a directed search for
some specific information). Not unlike perusing a library shelf, rather than
a card catalogue.

Greg W.

-----Original Message-----
From:Hiro Mizutani []
Sent:Fri 5/14/2004 7:24 AM
Subject:Re: [greenstone-devel] browsing one book

Hi Katherine,

Thanks for the information. I guess I wasn't clear enough to explain what I
want to do.

Yes, the demo collection is divided into chapters and sections, but it's a
signle file for one book. What I'm trying to do is having multiple files for
one book(maybe a file per page), but still be able to browse the entire
collection by clicking "Next Page" navigator.


On Thursday 13 May 2004 11:25 pm, you wrote:
> Hi Hiro
> The creator of the Lehigh Bridges Library is I don't
> know if that email address is still valid or not. Their collection is
> quite specialised so you would need to ask someone there about it.
> Have you looked at the demo collection that comes with your Greenstone
> installation?
> The documents in this collection are divided into chapters and
> sections, and there are arrows on each page to get to the next/previous
> Maybe this style of collection is what you are looking for.
> Regards,
> Katherine Don
> Hiro Mizutani wrote:
> > Hi,
> >
> > I'm trying to build a collection like Lehigh Univesity Libraries
> > ( has done. What I mean by that is,
> > with their collection, a book is separated by chapter and even with
> > page, but you can browse the entire book by click "Next Page".
> > I'm wondering if there is a sample collection that I can see its
> > collection.cfg file and a file in import directory to see what I
> > need to do in order to building this type of collection.
> >
> > Thank you.
> > -hiro

Hiro Mizutani
Staff Computing Support Specialist
Mansfield Library

greenstone-devel mailing list

greenstone-devel mailing list