O'Reilly logo

RSS and Atom by Heinz Wittenbrink

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A.3 Overview: RSS 2.0 Elements

A.3.1 The rss Element

Meaning

Root element of every RSS document.

Ancestors

None

Descendants/Content

Obligatory: channel

Attributes

Name

Value

Meaning

Obligatory

version

0.91, 0.92, 1.0, 2.0

Indicates the RSS version

Yes

Example

<rss version="2.0">
<channel> ... </channel>
</rss>

Remarks

The indication of a namespace for the root element is not included in RSS 2.0 so as to maintain compatibility with previous versions.

Language Version

RSS 0.91, 0.92, 2.0

Equivalences

RSS 1.0

RSS 1.1

Atom

rss:RDF

-

-

A.3.2 The channel Element

Meaning

Gathers information about the described resource as a whole; it can include any number of elements of the type item, which contain information about the individual information objects ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required