Tecnologías XML / RSS & Atom / Referencia: elementos RSS 1.1 / rss:Channel
(Extracto de «Newsfeeds con RSS y Atom» de Heinz Wittenbrink, publicado por Galileo Press, 2005)
Significado
Elemento raíz de un documento RSS 1.1; contiene los metadatos de la fuente.
Esquema
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 }
Descendientes/contenido
items, title, link, description (obligatorio), image (opcional)
Atributo
Nombre | Valores | Significado | obligatorio |
|---|---|---|---|
| URI | Indica el URI de la fuente | sí |
Ejemplo
<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>
Notas
Ninguno
Equivalentes
Atom | ||
|---|---|---|

Esta obra se distribuye bajo una licencia Creative Commons Atribución-CompartirIgual 3.0 Unported.