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

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