This plugin is inherited by such plugins as WordPlugin, PowerPointPlugin,
PostScriptPlugin, RTFPlugin and PDFPlugin. It facilitates the conversion of these document
types to either HTML, TEXT or a series of images. It works by dynamically loading an appropriate
secondary plugin (HTMLPlugin, StructuredHTMLPlugin, PagedImagePlugin or TextPlugin) based on the
The following table lists all of the configuration options available for ConvertBinaryFile.
|(REQUIRED) Plugin converts to TEXT or HTML or various types of Image (e.g. JPEG, GIF, PNG).
|Keep the original filename for the associated file, rather than converting to doc.pdf, doc.doc etc.
|Substitution expression to modify string stored as Title. Used by, for example, PDFPlugin to remove "Page 1", etc from text used as the title.
|Run the "fribidi" Unicode Bidirectional Algorithm program over the converted file (for right-to-left text).
|If set, a simple strings function will be called to extract text if the conversion utility fails.
|Options Inherited from AutoExtractMetadata
|Comma separated list of numbers of characters to extract from the start of the text into a set of metadata fields called 'FirstN', where N is the size. For example, the values "3,5,7" will extract the first 3, 5 and 7 characters into metadata fields called "First3", "First5" and "First7".
|Options Inherited from AcronymExtractor
|Extract acronyms from within text and set as metadata.
|Add acronym metadata into document text.
|Options Inherited from KeyphraseExtractor
|Extract keyphrases automatically with Kea (default settings).
|Extract keyphrases automatically with Kea 4.0 (default settings). Kea 4.0 is a new version of Kea that has been developed for controlled indexing of documents in the domain of agriculture.
|Options for keyphrase extraction with Kea. For example: mALIWEB - use ALIWEB extraction model; n5 - extract 5 keyphrase;, eGBK - use GBK encoding.
|Options Inherited from EmailAddressExtractor
|Extract email addresses as metadata.
|Options Inherited from DateExtractor
|Extract time-period information from historical documents. This is stored as metadata with the document. There is a search interface for this metadata, which you can include in your collection by adding the statement, "format QueryInterface DateSearch" to your collection configuration file.
|The maximum historical date to be used as metadata (in a Common Era date, such as 1950).
|The maximum named century to be extracted as historical metadata (e.g. 14 will extract all references up to the 14th century).
|Do not try to block bibliographic dates when extracting historical dates.
|Options Inherited from GISExtractor
|Extract placenames from within text and set as metadata. Requires GIS extension to Greenstone.
|Gazetteer to use to extract placenames from within text and set as metadata. Requires GIS extension to Greenstone.
|When extracting placements, include list of placenames at start of the document. Requires GIS extension to Greenstone.
|Options Inherited from BasePlugin
|A perl regular expression to match against filenames. Matching filenames will be processed by this plugin. For example, using '(?i).html?\$' matches all documents ending in .htm or .html (case-insensitive).
|Don't do any file blocking. Any associated files (e.g. images in a web page) will be added to the collection as documents in their own right.
|Files matching this regular expression will be blocked from being passed to any later plugins in the list.
|Save the original source document as an associated file. Note this is already done for files like PDF, Word etc. This option is only useful for plugins that don't already store a copy of the original file.
|Causes files with the same root filename as the document being processed by the plugin AND a filename extension from the comma separated list provided by this argument to be associated with the document being processed rather than handled as a separate list.
|A regular expression to match filenames against to find associated files. Used as a more powerful alternative to associate_ext.
|The method to use when generating unique identifiers for each document.
|Specifies the metadata element that hold's the document's unique identifier, for use with -OIDtype=assigned.
|Do not look for a prefix.jpg file (where prefix is the same prefix as the file being processed) to associate as a cover image.
|The encoding of the source file filenames.
|The method to be used in renaming the copy of the imported file and associated files.
convert_to option values
|Automatically select the format converted to. Format chosen depends on input document type, for example Word will automatically be converted to HTML, whereas PowerPoint will be converted to Greenstone's PagedImage format.
|Plain text format.