XML technologies / RSS & Atom / Reference: Atom elements / atom:entry

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

Meaning

Container for all content and data belonging to an entry in an Atom feed; document element of an entry document that can be used to post or edit an entry.

Schema

atomEntry =
   element atom:entry {
      atomCommonAttributes,
      (atomAuthor?
       & atomCategory*
       & atomContent?
       & atomContributor*
       & atomId
       & atomLink*
       & atomPublished?
       & atomRights?
       & atomSource?
       & atomSummary?
       & atomTitle
       & atomUpdated
       & extensionElement*)
} 

Ancestors

feed

Descendants/content

id, title, updated (required), content, summary (one of these two elements must be present), author (required unless specified in feed ), category, contributor (optional, may occur more than once), link, published, rights, source (optional), optional extensions.

Attributes

Common attributes

Example

<atom:entry>
   <atom:id>http://www.celawi.eu/webtrends/405 </atom:id>
   <atom:title>Mobilcom: Gewinnexplosion dank Internetgeschäft</atom:title>
   <atom:link href="http://www.celawi.eu/webtrends/405"/>
   <atom:category term="Provider"/>
   <atom:content type="text">Vor allem das Internet- und Festnetzgeschäft der Tochter Freenet tragen dazu bei, dass Mobilcom - der zweitgrößte deutsche Mobilfunk-Dienstleister - eine regelrechte Gewinnexplosion verzeichnen kann.</atom:content>
   <atom:contributor>
      <atom:name>Harry Schwitzer</atom:name>
      <atom:email>h.schwitzer@celawi.eu </atom:email>
      <atom:uri>http://www.celawi.eu/harry </atom:uri>
   </atom:contributor>
   <atom:author>
      <atom:name>Martin Röller</atom:name>
   </atom:author>
   <atom:updated>2005–02–15T08:20:00Z</atom:updated>
</atom:entry> 

Notes

The order of the elements making up the content is not fixed.

Equivalents

RSS 2.0

RSS 1.0

RSS 1.1

item

rss:item

rss:item

   

 

 

 

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

back to top