XML technologies / RSS & Atom / Reference: RSS 1.0 elements / rss:channel

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

Meaning

Contains the metadata for a feed.

Schema

element channel { channelContent }
  & element image { imageContent }?
  & element item { itemContent }+
channelContent =
  element title { xsd:string }
  & element link { xsd:anyURI }
  & element description { xsd:string }
  & element image {
      attribute rdf:resource { xsd:anyURI }
    }?
  & element items { itemsContent }
  & attribute rdf:about { xsd:anyURI } 

Ancestors

rdf:RDF

Descendants/content

items, title, link, description (required), image (optional)

Attribute

Name

Values

Meaning

required

rdf:about

URI

Specifies the feed’s URI

yes

Example

<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
   <channel rdf:about="http://www.celawi.eu/webtrends">
      <title>Webtrends</title>
      <link>http://www.celawi.eu/webtrends.html </link>
      <description>Nachrichten über...</description>
      <items>
      ...
      </items>
   </channel>
</rdf:RDF> 


Notes

None

Equivalents

RSS 1.1

RSS 2.0

Atom

rss:Channel

channel

atom:feed

   

 

 

 

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

back to top