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.6 Overview: RSS 1.1 Elements

A.6.1 rss:Channel

Meaning

Gathers the metadata for a feed.

Schema

start = Channel
Channel = element Channel { Channel.content }
Channel.content = (
AttrXMLLang?, AttrXMLBase?, AttrRDFAbout,
(title & link & description & image? & Any* & items)
)
Any = element * - ( rss:* ) { Any.content }
Any.content = (
attribute * - ( rss:* | NoNS:* ) { text }*,
mixed { Any* }
)
AttrXMLLang = attribute xml:lang { xsd:language }
AttrXMLBase = attribute xml:base { xsd:anyURI }
AttrRDFAbout = attribute rdf:about { xsd:anyURI }

Ancestors

None

Descendants/Content

Obligatory: items, title, link, description

Optional: image

Attributes

Name

Values

Meaning

Obligatory?

rdf:about

URI

Indicates the URI of the feed

Yes

Example

<Channel xmlns="http://purl.org/net/rss1.1#" ...

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