XML technologies / RSS & Atom / Reference: RSS 1.1 elements / rss:item

(Excerpt from "Newsfeeds with RSS and Atom" by Heinz Wittenbrink, published by Galileo Press, 2005)

Meaning

Represents an entry within a feed.

Schema

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 } 

Ancestors

rss:items

Descendants/content

rss:title and rss:link (required), rss:description and further elements from other namespaces — Any (optional)

Attribute

Name

Values

Meaning

required

rdf:about

URI

URI of the item

yes

Example

<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> 


Notes

None

Equivalents

RSS 1.0

RSS 2.0

Atom

rss:item

item

atom:entry

   

 

 

 

Creative Commons license
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

back to top