Re: [greenstone-devel] browsing one book

From Katherine Don
DateWed, 19 May 2004 09:13:06 +1200
Subject Re: [greenstone-devel] browsing one book
In-Reply-To (40AA28AC-7070206-lehigh-edu)
Hi Hiro

If this is the same thing that you want to do, eg have a series of
scanned images with optional OCR text, then take a look at PagedImgPlug.

You need to create some .item files, eg book1.item, one for each book.
They contain metadata for the book and a list of the image and text
files that make up the book.
PagedImgPlug then processes these item files, linking the images into a
single document.
There are options to the plugin for creating thumbnails or small preview
size images from the main page images.

There are some brief instructions in the header of the plugin file.

Currently PagedImgPlug assumes that the main pages are images - if you
have text files instead you may need to modify the plugin. But it would
be a good place to start.

Note, PagedImgPlug is availablein the Greenstone 2.50 release.

Regards,
Katherine Don

George Motter wrote:
> Hiro,
>
> John had been a key part in helping us create the Bridges project. In a
> nutshell, this is how we did it.
>
> Scanned 600 dpi images with a filename that contained key identifies of
> the image: book, chapter, page, resolution.
>
> Created smaller versions and modified the file name for the resolution.
>
> Wrote perl scripts to create html "wrappers" for each page with links
> and metadata for forward, next, book, hierarchy, and different
> resolutions. (the script looked for the next page and previous page
> based on the filename)
>
> Manually created a Hierarchy file for the book structure.
>
> Greenstone then chewed through the html pages and used the metadata and
> hierarchy info to create the collection.
>
> This is obviously simplified but it gives you an idea of what we did.
> John helped modify our version to display the book in the tree format
> that you see on the site.
>
> It's been a few years, so I may have forgotten something......
>
>
> --George
>
> ----------------------------------------------------
> George F. Motter V
> Senior Systems Specialist
> Instructional Technology Support
> Library & Technology Services
> Lehigh University
> Bethlehem, PA 18015
> (610) 758-6149
> gfm2@lehigh.edu
>
>
>
> John R. McPherson wrote:
>
>> Hiro Mizutani wrote:
>>
>>> 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.
>>
>>
>>
>> Hi,
>> I think I recall that the Lehigh bridges collection uses metadata for
>> the page numbers, and each book is given a known document Identifier.
>> This means macros or format strings can be used to give a link to the
>> previous and next pages since the urls can be determined.
>>
>> John McPherson
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> greenstone-devel mailing list
>> greenstone-devel@list.scms.waikato.ac.nz
>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
>
>