The child elements of the feed element are (Web space)
Saturday, June 30th, 2007The child elements of the feed element are the head element, of which there can be only one, and one or more entry elements. The first child element of the feed element must be a head element. The head Element The head element is a container for metadata about the feed. The metadata is contained in several child elements of head, as follows: . The title element contains a human readable title for the information feed. The title element has no attributes. . The link element indicates a link to the source of the feed. At the time of writing the link element is not fully specified. It seems likely that the link element will have rel, type, and href attributes but the current draft does not make that clear. If a link is to an HTML or XHTMLWeb page then that page should implement the Atom Feed Autodiscovery mechanism, described later in this chapter. . The introspection and post elements are service constructs. They are used in connection with the Atom Publishing Protocol described later in this chapter. . The author and contributor elements are also child elements of the head element. . The tagline element contains a human-readable description or tagline for the feed. The id element contains a unique identifier for the feed. . The generator element indicates the software used to generate the feed. The generator element may, optionally, have a uri and a version attribute. . The copyright element contains a human-readable statement of copyright for the feed. The info element contains a human-readable statement about the feed format. The updated element contains a date/time value that indicates the most recent time that the feed was updated. The entry Element The entry document can appear as a child element of the feed element (which is described in this section) or can be the document element of an Atom Entry document (which is described later in this chapter). The entry element has the following child elements: . The title element is required. It contains a human-readable title for the entry. . The link element conveys a URI associated with the entry. At least one link element with a rel attribute with the value of alternate must be present on each entry. . The edit element is used in association with the Atom Publishing Protocol. It represents a URI that can be used to retrieve the entry for editing. The namespace URI used in the October 2004 draft of Atom 1.0 is likely to be replaced later in the specification s development. 133 Looking Forward to Atom 1.0