|Date||Wed, 26 Nov 2003 11:02:14 +1300|
|Subject||Re: [greenstone-users] Display Multiple Values, ThumbIcon|
1. Greenstone is bad at handling multiple values for metadata - i.e.
it doesn't. This is something we have been intending to add, but haven't
yet :-( which doesn't help you much.
2. Your version of greenstone has a bug in ImagePlug - have a look through the code - its in gsdl/perllib/plugins/ImagePlug.pm, and find where it assigns the thumbicon metadata.
$doc_obj->add_metadata ($section, "thumbicon", "<img src=/gsdl/collect/gsarch/index/assoc/[assocfilepath]/[Thumb] width=[ThumbWidth] height=[ThumbHeight>");
There is a missing ] at the end of ThumbHeight. Add that in and reimport and build the collection.
Hope this helps
Hello all, I'm using Greenstone with my MLS class on Digital Libraries at Simmons College in Boston. We're putting together a sample digital library, and I've got two questions that I can't seem to get answers in the docs for: 1) How does one display multiple values for a metadata field? IE, we've got documents that have more than one value of DC.Subject, and I'd like to display all the values, with a <br> in between. 2) When using [ThumbIcon] to display the thumbnail, there is no "height" value going into the <IMG> tag that is generated. It just goes to "height=" and then doesn't even provide a right-bracket. The thumbnails are being generated with ImagePlug. We're using v 2.40 on a Linux installation. Thanks for any help,Joel