RE: Adding images (JPG and GIF's) to a Greenstone collection inst alled on a Windows 2000 server

From Mantione, Joe
DateSat, 15 Feb 2003 11:11:29 -0500
Subject RE: Adding images (JPG and GIF's) to a Greenstone collection inst alled on a Windows 2000 server
Dear John, Tod and Gordon:

Gentlemen thank you for giving use hope that our efforts to date
have not been wasted.

: Can you point us to some examples of metadata.xml files that we
can use as templates. We currently have Greenstone installed on a
development server here at UB and are trying to use it to setup a digital
collection for a museum.

: I read through some of the documentation at the Imagemagick's
site, including the article on the MS convert.exe issue.

It looks like the 'convert' program will convert jpg and gif formats
to png format. Is that the desired format to add images to a collection in
Greenstone Windows? If so we have that capacity now using other packages.
Assuming I get all the images converted to png format what changes would I
need to make to the collect.cfg file. This is what it currently looks like:

public true

indexes document:text document:Title document:Source
defaultindex document:text

plugin ZIPPlug
plugin GAPlug
plugin TEXTPlug
plugin HTMLPlug
plugin EMAILPlug
plugin PDFPlug
plugin RTFPlug
plugin WordPlug
plugin PSPlug
plugin ArcPlug
plugin RecPlug

classify AZList -metadata Title
classify AZList -metadata Source

collectionmeta collectionname "Pierce-Arrow Museum"
collectionmeta iconcollection ""
collectionmeta collectionextra ""
collectionmeta .document:text "text"
collectionmeta .document:Title "titles"
collectionmeta .document:Source "filenames"

Thank you again for helping us out!


Joseph P. Mantione
Assistant Vice Provost
Office of the Provost
552 Capen Hall
State University of New York at Buffalo
Buffalo, New York 14260-1606
(716) 645-3938 FAX:(716) 645-3685

-----Original Message-----
From: Gordon Paynter []
Sent: Friday, February 14, 2003 4:23 PM
Subject: Re: Adding images (JPG and GIF's) to a Greenstone collection
installe d on a Windows 2000 server

> On Fri, Feb 14, 2003 at 11:23:40AM -0500, Mantione, Joe wrote:
>> We have Greenstone installed on a Windows 2000 server. We are trying
>> to import a collection of jpg images (taken from a digital camera)

John replied:
> 1) Use ImagePlug on windows.
> There are some messages in the mailing list archives about doing this.
> Basically, the ImagePlug relies on the imagemagick package, which is
> easily available and standard on unix systems. There is a win32 version
> available that you could install - the messages also say you need to
> rename a windows program called "convert.exe" that clashes with the name
> of an imagemagick program.

You also need to make sure you don't have HTMLPlug in your config file,
since it blocks GIF and JPG files. And as John says, you'll probably want
to introduce metadata somehow (e.g. metadata.xml files).

However, I can report that at least one person has got ImagePlug working
on Windows using the above strategies (though I cannot remmeber who).