ASPI

All elements are in the namespace http://purl.org/atom/ns#. xml:lang may appear on any element, including but not limited to <feed>, <entry>, <content>, <title>, <summary>.

elementname* indicates 0 or more of <elementname> may be present.

Structure

The top-level element is <feed>. It has several <entry> children. If a property says it can apply to entries, that means that if it’s put in <feed> then it’s a default value for each <entry>. If it can also apply to <entry>, then the value in an <entry> can override the default entries value.

Required children of feed:

One of these MUST be true:

  1. feed contains author (if so, it’s inherited by all the entries);
  2. every entry contains author (overrides any inherited one).

Optional children of feed:

<author>

Required children:

Optional children:

<generator>

Required children:

<entry>

Required children:

Optional children:

<contributor>

Same required and optional elements as author. Suproperty of "dc:contributor".

<content>

Required children:

And at most one mode of:

If content type is "multipart/alternative", then instead of any of the above, the content element MUST contain 1 or more content elements. These content elements MUST NOT specify type="multipart/alternative" (i.e. only one level of nesting is allowed). Consumers SHOULD look at all alternative content elements and determine which one is most suitable, based on which type and mode the consumer supports, and preferences specified by the end user (if any). Consumers SHOULD NOT render more than one content alternative.

[edit, permanent link to this version]