Atom "feed" Element

Q

What is the Atom "feed" element?

✍: FYIcenter.com

A

The Atom "feed" element presents a group of Atom feeds entries generated by the same producer.

The Atom "feed" element contains the following information:

  • Atom namespace - REQUIRED. The Atom namespace of http://www.w3.org/2005/Atom must be declared. For example: <feed xmlns="http://www.w3.org/2005/Atom">.
  • id - REQUIRED. Specifies an identification that uniquely identifies this Atom feed. For example: <id>http://dev.fyicenter.com/</id>.
  • title - REQUIRED. Specifies the name of this Atom feed. For example: <title>FYI Center for Software Developers</title>.
  • updated - REQUIRED. Specifies the publication date and time of this Atom feed in the ISO.8601 standard format. For example: <updated>2023-12-13T18:30:02Z</updated>.
  • author - REQUIRED, unless all "feed/entry" sub elements have an "author" sub element. Specifies the profile of the author of this Atom feed. Multiple "author" sub elements are allowed. For example: <author><name>Mark Pilgrim</name></author>
  • contributor - OPTIONAL. Specifies the profile of a contributor of this Atom feed. Multiple "contributor" sub elements are allowed. For example: <contributor><name>John Doe</name></author>
  • generator - OPTIONAL. Specifies a string indicating the program used to generate this Atom feed. For example: <generator>FYIcenter.com Site Builder</generator>.
  • category - OPTIONAL. Specifies a category that this Atom feed belongs to. Multiple "category" sub elements are allowed. For example: <category term="Programming"/>
  • icon - OPTIONAL. Specifies a URI referring to an icon for this Atom feed. For example: <icon>http://dev.fyicenter.com/favcon.ico</icon>.
  • logo - OPTIONAL. Specifies a URI referring to a logo for this Atom feed. For example: <logo>http://dev.fyicenter.com/_logo.png</logo>.
  • link - OPTIONAL. Specifies URLs to retrieve this Atom feed and other related resources. At least one link sub element with rel="self" is recommended. Multiple "link" sub elements are allowed. For example: <link rel="self">http://dev.fyicenter.com/atom_xml.php</link>.
  • rights - OPTIONAL. Specifies copyright notice for this Atom feed. For example: <rights>Copyright (c) 2017 FYIcenter.com</rights>.
  • subtitle - OPTIONAL. Specifies a short description of this Atom feed. For example: <subtitle>A large collection of FAQs, tutorials, tips and code examples for application and Web developers</subtitle>.
  • entry - OPTIONAL. Provides XML sub element representing an Atom feed entry. See next tutorial for examples.

 

Atom "feed/id" Element

Atom Element Types: "feed" and "entry"

Atom Specification - RFC 4287

⇑⇑ RSS FAQ and Tutorials

2018-01-06, 1628🔥, 0💬