[greenstone-users] Cover images problem

From arnaud yvan
DateMon Jun 30 19:41:14 2008
Subject [greenstone-users] Cover images problem
Hi,
I try to build a collection of videos. I've learned to customize the
Greenstone interface and the document pages using GLI (thanks to the
Greenstone wiki !). I also began to create a plugin using mediainfo to
retrieve metadatas (mainly based on UnknownPlug). Everything works fine.
Now I try to associate a cover image to my videos. I've found a page on the
wiki describing the process. It seems easy and perfectly clear. So I
followed the steps using the GLI :
- I first created a jpg file with the same name as my first video
- I added it in the collection (I didn't add the ImagePlug)
- I didn't add the -no_cover_image flag
- I added the line [link]<img src='[DocImage]' height='35px' />[/link] in
the VList (the wiki page says <a href='[DocImage]' height='40' /> but I
think it is incorrect for nothing could be displayed with such a tag)
- I launched the collection building
Everything seems to be fine but I have unfortunately no cover image.
Greenstone seems to be looking for a file named cover.jpg in the same folder
as the document but the file isn't there.
Did I miss a step ? Did I do something wrong ? Did someone add cover images
to documents successfully ? Could anyone help me ?

Yvan Arnaud
Service Informatique/Multim□dia
Ecole Nationale Sup□rieure d'Architecture de Saint-Etienne
1 rue Buisson
BP 94
42003 Saint-Etienne Cedex 1 - France
T□l : (33) [0]4 77 42 37 23

PS: here follows the building log

import.pl> AVERTISSEMENT: Aucune des options -removeold, - keepold ou
--incremental n'a □t□ pr□cis□e, par d□faut sera mis -removeold. Les
contenus actuels du r□pertoire archives sera supprim□.
import.pl> Suppression des contenus du r□pertoire d'archives...
import.pl> RecPlug: getting directory /opt/gsdl/collect/videos/import
import.pl>
import.pl> MetadataXMLPlug: processing metadata.xml
import.pl> MediainfoPlug processing
"/opt/gsdl/collect/videos/import/Experience_ubuntu.ogg"
import.pl> ATTENTION: Aucun plugin n'a pu reconna□tre Experience_ubuntu.jpeg
import.pl> MediainfoPlug processing
"/opt/gsdl/collect/videos/import/echecs.ogg"
import.pl>
import.pl> *********************************************
import.pl> Fin de l'importation.
import.pl> *********************************************
import.pl> * 3 documents ont □t□ pris en compte pour traitement
import.pl> * 2 ont □t□ trait□s et int□gr□s dans la collection
import.pl> * 1 n'a pas □t□ reconnu
import.pl> Voir /opt/gsdl/collect/videos/etc/fail.log pour une liste des
documents rejet□s ou non-identifi□s
import.pl> Extraction de nouvelles m□ta-donn□es □ partir des fichiers
archives.
import.pl> Extraction de m□ta-donn□es archiv□es termin□e.
buildcol.pl>
buildcol.pl> *** creating the compressed text
buildcol.pl>
buildcol.pl> collecting text statistics (mgpp_passes -T1)
buildcol.pl> ArcPlug: traitement
/opt/gsdl/collect/videos/archives/archives.inf
buildcol.pl> GAPlug: processing HASH0151.dir/doc.xml
buildcol.pl> GAPlug: processing HASH0173.dir/doc.xml
buildcol.pl> Stats (Compressing text from text)
buildcol.pl> Total bytes in collection: 58
buildcol.pl> Total bytes in text: 58
buildcol.pl>
buildcol.pl> creating the compression dictionary
buildcol.pl>
buildcol.pl> compressing the text (mgpp_passes -T2)
buildcol.pl> ArcPlug: traitement
/opt/gsdl/collect/videos/archives/archives.inf
buildcol.pl> GAPlug: processing HASH0151.dir/doc.xml
buildcol.pl> GAPlug: processing HASH0173.dir/doc.xml
buildcol.pl> Stats (Compressing text from text)
buildcol.pl> Total bytes in collection: 58
buildcol.pl> Total bytes in text: 58
buildcol.pl>
buildcol.pl> *** building index text;Title;Source;Encoding; in subdirectory
idx
buildcol.pl>
buildcol.pl> creating index dictionary (mgpp_passes -I1)
buildcol.pl> ArcPlug: traitement
/opt/gsdl/collect/videos/archives/archives.inf
buildcol.pl> GAPlug: processing HASH0151.dir/doc.xml
buildcol.pl> GAPlug: processing HASH0173.dir/doc.xml
buildcol.pl> Stats (Creating index text;Title;Source;Encoding;)
buildcol.pl> Total bytes in collection: 58
buildcol.pl> Total bytes in text;Title;Source;Encoding;: 179
buildcol.pl>
buildcol.pl> inverting the text (mgpp_passes -I2)
buildcol.pl> ArcPlug: traitement
/opt/gsdl/collect/videos/archives/archives.inf
buildcol.pl> GAPlug: processing HASH0151.dir/doc.xml
buildcol.pl> GAPlug: processing HASH0173.dir/doc.xml
buildcol.pl> Stats (Creating index text;Title;Source;Encoding;)
buildcol.pl> Total bytes in collection: 58
buildcol.pl> Total bytes in text;Title;Source;Encoding;: 179
buildcol.pl>
buildcol.pl> create the weights file
buildcol.pl>
buildcol.pl> creating 'on-disk' stemmed dictionary
buildcol.pl>
buildcol.pl> creating stem indexes
buildcol.pl> BuildDir: /opt/gsdl/collect/videos/building
buildcol.pl>
buildcol.pl> *** creating the info database and processing associated files
buildcol.pl> ArcPlug: traitement
/opt/gsdl/collect/videos/archives/archives.inf
buildcol.pl> GAPlug: processing HASH0151.dir/doc.xml
buildcol.pl> GAPlug: processing HASH0173.dir/doc.xml
buildcol.pl> *** outputting information for classifier: CL1
buildcol.pl> *** outputting information for classifier: CL2
buildcol.pl> Collage
buildcol.pl> *** outputting information for classifier: CL3
buildcol.pl> *** outputting information for classifier: oai
buildcol.pl>
buildcol.pl> *** creating auxiliary files
-------------- section suivante --------------
Une pi□ce jointe HTML a □t□ enlev□e...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20080627/ecf6dd26/attachment-0001.html