Tecnologías XML / RSS & Atom / Referencia: elementos RSS 2.0 / El elemento item

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

Significado

Un objeto de información dentro de una fuente, que normalmente representa una noticia o historia.

Ancestros

channel

Descendientes/contenido

Opcional:

  • title

  • link

  • description

  • item

  • language

  • copyright

  • author

  • pubDate

  • category

Atributos

Ninguno

Ejemplo

<channel>
   <item>
      <guid isPermaLink="true">http://www.celawi.eu/webtrends/403</guid>
      <title>Musikdownloads: Allianz von Microsoft und Nokia gegen Apple</title>
      <link>http://www.celawi.eu/webtrends/403</link>
      <category>Mobil</category>
      <description>Nokia und Microsoft haben sich verbündet....</description>
      <author>Julia Preiner</author>
      <pubDate>Tu, 2 Feb 2005 08:15:48 GMT+1</pubDate>
   </item>
</channel> 

Notas

Todos los elementos dentro de item son opcionales.

Versión del lenguaje

RSS 0.91, 0.92, 0.93, 2.0

Equivalentes

RSS 1.0

RSS 1.1

Atom

rss:item

rss:item

atom:entry

   

 

 

 

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

volver arriba