Not a developer? Go to MovableType.com

Documentation

<content> Element

The “content” element contains the content of the containing entry.

Attribute: type

The “type” attribute defines the media type of the entry’s content. It is usually one of the following values: “text”, “html”, or “xhtml”, but if not then it is always at least valid MIME media type. The default value is “text.” In the event that the content being referenced is remote content (i.e. referenced by the src attribute) and the value of the type attribute does not correspond to the actual mime type of the content being referenced, then the actual type, not the declared type, takes precedence.

Attribute: src

If the “src” attribute is present, then the value of the content element must be empty. In other words, if the entry’s content is stored remotely and is referenced by the src attribute, then there must be no content for the entry stored locally in the value of the content element.

Notes

  • If the type attribute is set to “html” then the HTML contents on the content element will be escaped (e.g. “<br>” as “&lt;br>”.
  • If the type attribute is set to “xhtml” then the contents of the content element will be wrapped in at leas one
    element.

Parent Element

Child Elements

None

Back

Leave a Comment