Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AtomContent

<content> either contains, or links to, the complete content of the entry. In the most common case, the type attribute is either text, html, xhtml, in which case the content element is defined identically to other text constructs, which are described here. Otherwise, if the src attribute is present, it represents the URI of where the content can be found. The type attribute, if present, is the media type of the content. Otherwise, if the type attribute ends in +xml or /xml, then an xml document of this type is contained inline. Otherwise, if the type attribute starts with text, then an escaped document of this type is contained inline. Otherwise, a base64 encoded document of the indicated media type is contained inline.

Hierarchy

  • AtomContent

Index

Properties

Properties

Optional src

src: string

Optional type

type: "text" | "html" | "xhtml"

value

value: string

the value stored here should be safe, unescaped HTML that can be put anywhere

Generated using TypeDoc