getFeedMimeType method: Utility class

Syntax

getFeedMimeType(Format)

Description

Use this method to return the MIME type of the given feed format.

Parameters

Parameter Description

Format

Specifies the feed format as a string. The values are:

Value Description

&utility.FEEDFORMAT_ATOM10

An Atom 1.0 format feed.

Returns

A string containing the MIME type as follows:

Feed Format Constant MIME Type Constant MIME Type

&utility.FEEDFORMAT_ATOM10

MIMETYPE_ATOM

application/atom+xml

undefined

MIMETYPE_XML

 application/xml