Re: [greenstone-users] Is it possible to have PDF image files and structured document (with both images and OCRised text) in asingle collection ?

From Katherine Don
DateFri, 25 Aug 2006 11:53:14 +1200
Subject Re: [greenstone-users] Is it possible to have PDF image files and structured document (with both images and OCRised text) in asingle collection ?
In-Reply-To (B6961FFE0371174087B062AF24FD57750208C2B3-ias1-admin-ulb-priv)
Hi

Currently PagedImgPlug can only handle images and text files.

What you could try is to add a metadata element to the document, which
has a URL for the complete file. The PDF file wouldn't be included in
the collection, but as long as it was accessible via http, then you
could link to it using the metadata.

Eg. make a directory in the collection with the extra files in it

<Metadata
name="CompleteFile">http://myserver/gsdl/collect/collname/extrafiles/Doc1.pdf</Metadata>

Then in the format statement,

"Download the complete book, click <a href='[CompleteFile]'>here</a>"

Or
<Metadata name="CompleteFile">Doc1.pdf</Metadata>

"Download the complete book, click <a
href='http://myserver/gsdl/collect/collname/extrafiles/[CompleteFile]'>here</a>

Hope this helps (hope it works!)

Regards,
Katherine

GASS C□cile wrote:
> Hello all,
>
> I have built a collection (version 2.7 on windows) containing a few books (i.e. images and OCRised texts structured in chapters), using the PagedImgPlug plugin (metadata is provided in xml format).
>
> Now, I'd like to enable users to download the complete book: a PDF file of scanned images. I was thinking to add an extra 'PageGroup' level where users could choose between accessing the 'full book' or 'book page by page' (that is the previous structured book).
>
> Hence, can I use PagedImgPlug plugin to open a simple 'images PDF' document? And then, what XML tag should I use ?
>
> (I tried:
> <Metadata name="Title">Full book</Metadata>
> <Page imgfile="pdf/a4202_000_f.pdf">
> <Metadata name="Title">PDF Format, 458Ko</Metadata>
> With no luck)
>
> Any help on this will be most appreciated,
> Best regards
> C□cile Gass
> Biblioth□ques
> Universit□ Libre de Bruxelles CP180
> 1050 Bruxelles
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>