The documents in this collection have been produced by members of the Department of Computer Science, University of Waikato. The University of Waikato holds copyright. They may be distributed freely, without any restrictions.
This collection's configuration file, collectionConfig.xml, contains the four plugins WordPlugin, RTFPlugin, PDFPlugin and PostScriptPlugin (along with the standard four, GreenstoneXMLPlugin, MetadataXMLPlugin, ArchivesInfPlugin and DirectoryPlugin). These four plugins all extract Title and Source (i.e. filename) metadata.
Greenstone contains third-party software that is used to convert Word, RTF, PDF and PostScript files into HTML. The Greenstone team does not maintain these modules, although we do try to include the latest versions with each Greenstone release. Bugs arise with unusual Word documents (e.g. from older Macintosh systems), and sometimes the text is badly extracted. Some PDF files have no machine-readable text at all, comprising instead a sequence of page images from which text can only be extracted by optical character recognition (OCR), which Greenstone does not attempt. If you encounter these problems, you can either remove the offending documents from your collection, or try using some of the advanced plugin options to process the documents in different ways. For more information, see the Enhanced PDF and Word tutorials on the Greenstone wiki. Alternatively, a new Greenstone 3 collection will add in a pre-configured UnknownConverterPlugin that will use apache tika by default to process docx files. You can reconfigure it, or add another UnknownConverterPlugin and configure it appropriately, to process other document types, refer to The UnknownConverterPlugin page on the Greenstone wiki.
The collection configuration file, collectionConfig.xml, includes a single index, based on document text, and one classifier, an AZList based on Title metadata, shown in CL1 (the alphabetic selector is suppressed automatically because the collection contains only a few documents). However, no format statement is specified. In the absence of explicit information, Greenstone supplies sensible defaults. In this case, the default format statement for the classifier gives:
Here is a format statement that achieves exactly the same effect explicitly. It applies to all Vlists, and so controls both search results list and the alphabetic title browser.
<format> <gsf:template match="documentNode"> <td valign="top"> <gsf:link type="document"> <gsf:icon type="document"/> </gsf:link> </td> <td valign="top"> <gsf:link type="source"> <gsf:choose-metadata> <gsf:metadata name="thumbicon"/> <gsf:metadata name="srcicon"/> </gsf:choose-metadata> </gsf:link> </td> <td valign="top"> <span class="highlight"> <gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/>Untitled</gsf:choose-metadata> </span> <gsf:switch> <gsf:metadata name="Source"/> <gsf:when test="exists"> <br/> <i>(<gsf:metadata name="Source"/>)</i> </gsf:when> </gsf:switch> </td> </gsf:template> </format>