Tecnologías XML / RSS & Atom / Referencia: elementos RSS 1.0 / rss:item

(Extracto de «Newsfeeds con RSS y Atom» de Heinz Wittenbrink, publicado por Galileo Press, 2005)

Significado

Representa una entrada de una fuente.

Esquema

element item { itemContent }
itemContent =
  element title { xsd:string }
  & element link { xsd:anyURI }
  & element description { xsd:string }?
  & anyThing
  & attribute rdf:about { xsd:anyURI }
anyThing =
  (text
   | element * - ns1:* {
       anyThing,
       attribute * { text }*
     })* 

Ancestros

rdf:RDF

Descendientes/contenido

rss:title y rss:link (obligatorio), rss:description y otros elementos de otros espacios de nombres (opcional)

Atributo

Nombre

Valores

Significado

obligatorio

rdf:about

URI

URI del elemento item

sí

Ejemplo

<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
   ...
   <item rdf:about="http://www.celawi.eu/webtrends/20040415_01">
      <title>Ask Jeeves jetzt auch in Spanien</title>
      <link>http://www.celawi.eu/webtrends/20040415_01.html </link>
      <description>Ask Jeeves...</description>
   </item>
</rdf:RDF> 

Notas

Ninguno

Equivalentes

RSS 1.1

RSS 2.0

Atom

rss:item

item

atom:entry

   

 

 

 

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

volver arriba