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

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

Meaning

Permanently and uniquely identifies a feed or an entry.

Schema

atomId = element atom:id {
      atomCommonAttributes,
      (atomUri)
} 

Ancestors

feed, entry, source

Descendants/content

IRI (Internationalized Resource Identifier), as defined in RFC 3987.

Attributes

Common attributes

Example

See the code example "Simple Atom document" on the page Basic structure of an Atom document.

Notes

Relative URIs are not allowed as content!

To determine whether two IRIs are identical, their strings are compared character by character. Whether dereferencing the IRIs leads to the same resource is irrelevant. For more information about atom:id see the section Identification with atom:id on the page "Additional metadata in Atom".

Equivalents

RSS 2.0

RSS 1.0

RSS 1.1

guid

rdf:about
(attribute of the elements rss:channel and rss:item)

rdf:about
(attribute of the elements rss:Channel and rss:item)

   

 

 

 

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

back to top