[greenstone-users] Debugging advice

From Melina Kalatzi
DateSat, 10 May 2003 04:24:52 +0100 (BST)
Subject [greenstone-users] Debugging advice
Hello list, I would be grateful if you could help me
with these problems.

1. I am not quite clear about what the

format DocumentImages true

does.

2. How do you cause the
format DocumentButtons "Detach"

to dissapear?

3. Is the PCDATA DTD file necessary or the
metadata.xml is sufficient? I am only using document
level indexes at this point and I was under the
impression that I do not need to create the file that
contains the <section> tags. I see that no file with
.dtd extention is present so how can it be created,
where and what is its name? Also, what are the
implications for the metadata.xml file and the index
definition?

Even though I have specified the <metadata name
attribute with names that are different to the Dublin
Core, and have included the same metadata names in
the collect.cfg, I still do not get the buttons to
appear on the indexes bar of the collection.

Please have a look below at the excerpts of the
collect.cfg and metadata.xml files and tell me what
am I doing wrong.

collect.cfg


indexesdocument:text,Title,Category,Function
document:text document:Title document:Category
document:Function
defaultindex document:text,Title,Category,Function

classify AZList -metadata Title
classify AZlist -metadata Category -sort Title
-buttonname Categories
classify AZlist -metadata Function -sort Title
-buttonname Function


collectionmeta .document:text,Title,Function,Category
"all"
collectionmeta .document:text "text"
collectionmeta .document:Title "Name"
collectionmeta .document:Category "Category"
collectionmeta .document:Function "Function"

metadata.xml

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE DirectoryMetadata SYSTEM
"http://greenstone.org/dtd/DirectoryMetadata/1.0/DirectoryMetadata.dtd">
<DirectoryMetadata>
<FileSet>
<FileName>backtranseq.html</FileName>
<Description>
<Metadata name="Title">backtranseq</Metadata>

<Metadata name="Category">Sequence
manipulation</Metadata>
<Metadata name="Function">Back translates a protein
sequence</Metadata>
</Description>
</FileSet>

4. Why in the above build am I asked for the .txt
data files that correspond to hierarchical lists (?)
when I am only using standard AZlists for the indexes?
And the build does not proceed with this error..

5. Why is it that when rebuilding the same
collection, the files that have been modified and
re-imported have been added to the new collection in
duplicates and triplicates and so on? I can almost
keep track of the current version of the collection by
counting these files ;)

6. How can I specify the size of the collection icon?

7. How do I get rid of the skeleton of the cover
image? Or, in fact, how do I add the collection icon
in its place or somewhere at the top of the individual
document view? Please note that the skeleton of the
cover image is overlapping with the detach button. how
can I fix this?

8. Why are my .gif and .jpg pictures that are
embedded in the html documents not displayed except if
I resort to the twisted trick to put them in a table
with a colspan=24 in the html document?

Thank you for any assistance

Melina

__________________________________________________
Yahoo! Plus
For a better Internet experience
http://www.yahoo.co.uk/btoffer