XML technologies / RSS & Atom / Reference: RSS 1.0 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

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 }*
     })* 

Ancestors

rdf:RDF

Descendants/content

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

Attribute

Name

Values

Meaning

required

rdf:about

URI

URI of the item

yes

Example

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

Notes

None

Equivalents

RSS 1.1

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