atom:feed
the document (i.e., top-level) element of an Atom Feed Document, acting as a container for metadata and data associated with the feed
Element information
Namespace: http://www.w3.org/2005/Atom
Schema document: syndication.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Sequence [1..1]
- Choice [0..*]
- atom:author a Person construct that indicates the author of the entry or feed
- atom:category conveys information about a category associated with an entry or feed
- atom:contributor a Person construct that indicates a person or other entity who contributed to the entry or feed.
- atom:generator the agent used to generate a feed, for debugging and other purposes.
- atom:icon an IRI reference [RFC3987] that identifies an image that provides iconic visual identification for a feed.
- atom:id a permanent, universally unique identifier for an entry or feed
- atom:link a reference from an entry or feed to a Web resource
- atom:logo an IRI reference [RFC3987] that identifies an image that provides visual identification for a feed
- atom:rights information about rights held in and over an entry or feed
- atom:subtitle a human- readable description or subtitle for a feed
- atom:title a human-readable title for an entry or feed
- atom:updated the most recent instant in time when an entry or feed was modified in a way the publisher considers significant
- Any element Namespace: ##other, Process Contents: skip
- Any element Namespace: ##local, Process Contents: skip
from group atom:extensionElement - atom:entry [0..*] an individual entry, acting as a container for metadata and data associated with the entry
- Choice [0..*]
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
xml:base | [0..1] | xsd:anyURI | from group atom:atomCommonAttributes | |
xml:lang | [0..1] | Anonymous | from group atom:atomCommonAttributes | |
Any attribute | [0..*] | Namespace: ##other, Process Contents: skip | from group atom:local |
Sample instance
<feed> <title type="text">dive into mark</title> <subtitle type="html"> A <em>lot</em> of effort went into making this effortless </subtitle> <updated>2005-07-31T12:29:29Z</updated> <id>tag:example.org,2003:3</id> <link rel="alternate" type="text/html" hreflang="en" href="http://example.org/"/> <link rel="self" type="application/atom+xml" href="http://example.org/feed.atom"/> <rights>Copyright (c) 2003, Mark Pilgrim</rights> <generator uri="http://www.example.com/" version="1.0"> Example Toolkit </generator> <entry> <title>Atom draft-07 snapshot</title> <link rel="alternate" type="text/html" href="http://example.org/2005/04/02/atom"/> <link rel="enclosure" type="audio/mpeg" length="1337" href="http://example.org/audio/ph34r_my_podcast.mp3"/> <id>tag:example.org,2003:3.2397</id> <updated>2005-07-31T12:29:29Z</updated> <published>2003-12-13T08:29:29-04:00</published> <author> <name>Mark Pilgrim</name> <uri>http://example.org/</uri> <email>f8dy@example.com</email> </author> <contributor> <name>Sam Ruby</name> </contributor> <contributor> <name>Joe Gregorio</name> </contributor> <content type="xhtml" xml:lang="en" xml:base="http://diveintomark.org/"> <div> <p> <i>[Update: The Atom draft is finished.]</i> </p> </div> </content> </entry> </feed>