XML technologies / RSS & Atom / Reference: Atom elements / Atom constructs

(Excerpt from "Newsfeeds with RSS and Atom" by Heinz Wittenbrink, published by Galileo Press, 2005)

Atom text construct

Meaning

For including plain, human-readable text, HTML text, or XHTML text in the Atom document.

Schema

atomPlainTextConstruct =
      atomCommonAttributes,
      attribute type { "text" | "html" }?,
      text

atomXHTMLTextConstruct =
      atomCommonAttributes,
      attribute type { "xhtml" },
      xhtmlDiv

atomTextConstruct = atomPlainTextConstruct | atomXHTMLTextConstruct

Atom person construct

Meaning

For describing people and groups in the Atom document.

Schema

atomPersonConstruct =
      atomCommonAttributes,
      (element atom:name { text }
       & element atom:uri { atomUri }?
       & element atom:email { atomemailAddress }?
       & extensionElement*)

Atom date construct

Meaning

For dates according to RFC 3339.

Schema

atomDateConstruct =
      atomCommonAttributes,
      xsd:dateTime

   

 

 

 

Creative Commons license
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

back to top