Monday, 20 May 2013

Inforouter Custom MIME Type

[Inforouter] Should you wish to add custom mime types to associate Inforouter content with a particular application such as Libre Office™ you will need to edit the following file;

C:\InfoRouter\Configmimetypes.custom.xml   (default location)

You will need to add an entry for each document type in the following format

<item ext="odt" desc="Libre Office Document" detail="Libre Office Document" mime="application/vnd.oasis.opendocument.text" />

in the <mimetypes> section of the XML file.

An example with 4 Libre Office™ formats is below (pca)

<?xml version="1.0" encoding="utf-8"?>
<mimetypes>
 <item ext="odt" desc="Libre Office Document" detail="OpenDocument Document" mime="application/vnd.oasis.opendocument.text" />
 <item ext="odg" desc="Libre Office Document" detail="OpenDocument Drawing " mime="application/vnd.oasis.opendocument.graphics" />
 <item ext="ods" desc="Libre Office Document" detail="OpenDocument Spreadsheet " mime="application/vnd.oasis.opendocument.spreadsheet" />
 <item ext="odb" desc="Libre Office Document" detail="OpenDocument Database" mime="application/vnd.oasis.opendocument.database" />
</mimetypes>