Tecnologías XML / RSS & Atom / Referencia: elementos RSS 1.1 / 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

item = element item { item.content }

item.content = (
   AttrXMLLang?, AttrRDFAbout,
   (title & link & description? & image? & Any*)
)

Any = element * - ( rss:* ) { Any.content }

Any.content = (
   attribute * - ( rss:* | NoNS:* ) { text }*,
   mixed { Any* }
)

AttrXMLLang = attribute xml:lang { xsd:language }
AttrRDFAbout = attribute rdf:about { xsd:anyURI } 

Ancestros

rss:items

Descendientes/contenido

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

Atributo

Nombre

Valores

Significado

obligatorio

rdf:about

URI

URI del elemento item

sí

Ejemplo

<Channel rdf:about="http://www.celawi.eu/webtrends">
   ...
   <items rdf:parseType="Collection">
      <item rdf:about="http://www.celawi.eu/webtrends/">
         <title>Musikdownloads: Allianz von Microsoft und Nokia gegen Apple</title>
         <link>http://www.celawi.eu/webtrends/403</link>
         <description>Nokia und Microsoft haben sich verbündet. Sie wollen die Vorherrschaft des kalifornischen Apple-Konzerns im Geschäft mit Musikdownloads brechen...</description>
      </item> 
      ...
   </items>
</Channel> 


Notas

Ninguno

Equivalentes

RSS 1.0

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