|Date||Tue, 28 Feb 2006 11:11:33 +1300|
|Subject||Re: [greenstone-users] More information about [RelatedDocuments] Formatstring item|
The runtime code is looking for "relation" metadata, not "dc.relation" metadata. As far as I know, the GLI doesnt support adding a metadata item called "relation" to documents. I've talked with the developers and they have said that they will add the ability for you to use dc.relation metadata in the next released version of greenstone.
One way you could tackle this problem would be to explode your CDS/ISIS database file using the GLI, if it is an explodable database. You can test this by right-clicking on the database file in the gather pane, and if a pop-up menu item "explode" is available. If it is, you can "explode" the database into a directory that will be named the same as the database. There will be something like a sequence of 000.nul - XXX.nul files in that directory along with a metadata.xml file. You could try editing this file and adding the relationships to a "relation" metadata item (that you create) to the relevant records listed in the metadata.xml file.
By the way, your examples of contents of the relation metadata seem fine. To answer your last question, greenstone creates relations on documents with "relation" metadata. I can tell this because if you have the source code, in the src/recpt directory there is a function "get_related_docs" in formattools.cpp that deals with "relation" metadata.
Greenstone Digital Library and Digitisation Specialists
ruben pandolfi wrote:
Thank You Richard,