MimeClassMap

Summary

Maps MIME types or groups to class identifiers.

Usage

MimeClassMap[<MIME type>]=<class identifier>
MimeClassMap[<MIME group>]=<class identifier>

Description

This setting maps either MIME types or MIME groups to class identifiers. The key can be either a MIME type, for example [image/jpeg], or a MIME group, for example [image].  By using only the group, the entire MIME group will be mapped to the class identifier.

This setting is case sensitive.

Examples

MimeClassMap[]
 MimeClassMap[image]=image
 MimeClassMap[video/quicktime]=quicktime
 MimeClassMap[video/x-msvideo]=windows_media
 MimeClassMap[video/vnd.rn-realvideo]=real_video
 MimeClassMap[application/vnd.rn-realmedia]=real_video
 MimeClassMap[application/x-shockwave-flash]=flash

These are the default settings. It illustrates how to map different MIME types of the same MIME group to different class identifiers. For example, video/quicktime is mapped to quicktime, video/x-msvideo is mapped to windows_media and video/vnd.rn-realvideo is mapped to real_video.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.