Define file formats

You can add new types to the list of MIME types supported by IXIASOFT CCMS.

Multipurpose Internet Mail Extension (MIME) types are two-part identifiers for file formats on the Internet. The mimetype.xml file defines the MIME types supported by IXIASOFT CCMS, along with their expected file extensions. For example, if your Content Store includes .jpg image files, this file defines the extension so that the jpg images within your documents can be properly rendered.

If you also intend to store the image source files in the Content Store, define their MIME types in the mimetype.xml file. For example, if you are importing files such as Adobe Illustrator, edit the mimetypes.xml file to include the application/illustrator MIME type. If the source file's MIME type is not defined, the extension will be converted to a .bin extension when it is imported into the Content Store.

To add an additional MIME type:

  1. Open the TEXTML Administration perspective by clicking the TEXTML Administration shortcut on the tool bar. If the shortcut is not displayed, follow these steps:
    1. Select Window > Open Perspective > Other
    2. Click TEXTML Administration.
    3. Click OK.
  2. In the TEXTML Administration view, double-click the server. If your server is not displayed in the view, you must add it to the view.
  3. When the Connect as dialog opens, type your username and password and click OK.
  4. Double-click the name of your docbase to open a connection to the Content Store.
  5. Locate the mimetype.xml file in the repository's /system/conf collection.
  6. Open mimetype.xml with a text editor.
  7. Enter a new <mimetype> element.
    For example:
    <mimetype type="image/jpg">
    Note: The value of the type attribute must be one of the MIME media types defined by the Internet Assigned Numbers Authority (http://www.iana.org/assignments/media-types/).
  8. Create an <extensions> element and, under it, a <defaultextension> element to specify the extension used when files are exported from the system.
    For example:
    <extensions>
       <defaultextension>jpg</defaultextension>
    </extensions>
  9. Optionally, use the <extension> element to define alternative file extensions.
    For example:
    <mimetype type="image/jpeg">
       <extensions>
          <defaultextension>jpg</defaultextension>
          <extension>jpeg</extension>
       </extensions>
    </mimetype>
  10. Save, close, and check in the mimetypes.xml file.
  11. Inform users of the changes.
    The changes will be applied automatically once users close and then reopen their . Users can also apply the changes without restarting their IXIASOFT CCMS Desktop by clicking DITA CMS > Synchronize Configuration.