XML technologies / RSS & Atom / Reference: RSS 1.1 elements / rss:Channel
(Excerpt from "Newsfeeds with RSS and Atom" by Heinz Wittenbrink, published by Galileo Press, 2005)
Meaning
Root element of an RSS 1.1 document; contains the feed’s metadata.
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 }
Descendants/content
items, title, link, description (required), image (optional)
Attribute
Name | Values | Meaning | required |
|---|---|---|---|
| URI | Specifies the feed’s URI | yes |
Example
<Channel xmlns="http://purl.org/net/rss1.1#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" rdf:about="http://www.celawi.eu/webtrends/">
...
</Channel>
Notes
None
Equivalents
Atom | ||
|---|---|---|

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