Technologies XML / RSS & Atom / Référence : éléments RSS 1.1 / rss:Channel
(Extrait de « Newsfeeds avec RSS et Atom» de Heinz Wittenbrink, publié chez Galileo Press, 2005)
Signification
Élément racine d’un document RSS 1.1 ; contient les métadonnées du flux.
Schéma
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/contenu
items, title, link, description (obligatoire), image (facultatif)
Attribut
Nom | Valeurs | Signification | obligatoire |
|---|---|---|---|
| URI | Indique l’URI du flux | oui |
Exemple
<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>
Remarques
Aucun
Équivalents
Atom | ||
|---|---|---|

Cette œuvre est mise à disposition selon une licence Creative Commons Attribution - Partage dans les Mêmes Conditions 3.0 non transposé.