Re: [greenstone-devel] browsing one book

From Katherine Don
DateTue, 08 Jun 2004 17:21:44 +1200
Subject Re: [greenstone-devel] browsing one book
In-Reply-To (71E37EF6B7DCC1499CEA0316A2568328010579CB-loki-wc-globexplorer-net)
Hi Greg

You can't create a macro to get to a document using its Title. - the
only way you can request a document is through its document id, or
through the file path to get the original file.

You could modify the identifiers that get assigned to documents so that
you know in advance what they are, then you can use that for navigation.
(see the email to hiro that I just posted to the list)

Katherine Don

Gregory S. Williamson wrote:
> 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
> Cc:
> 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.
> thanks.
> -hiro
> 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
>>The documents in this collection are divided into chapters and sections,
>>and there are arrows on each page to get to the next/previous section.
>>Maybe this style of collection is what you are looking for.
>>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