XML technologies / RSS & Atom / Reference: RSS 2.0 elements / The element description

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

Meaning

In channel: description of the feed.

In item: description or reproduction of the content.

In image: text description; when converting to HTML, the value of the attribute title of the generated link.

Ancestors

item, channel, image

Descendants/content

Text (markup must be escaped!)

Attributes

None

Examples

<channel>
   <description>Nachrichten aus dem Medien-Business</description>
   ...
   <item>
      <description>Nokia und Microsoft haben sich verbündet. Sie wollen die Vorherrschaft des kalifornischen Apple-Konzerns im Geschäft mit Musikdownloads brechen...</description>
   </item>
</channel>

<channel>
   <description>Nachrichten aus dem Medien-Business</description>
   ...
   <item>
      <description>&lt;a href="http://www.nokia.com>Nokia&lt;/a> und &lt;a>Microsoft&lt;/a> haben sich verbündet. Sie wollen die Vorherrschaft des kalifornischen &lt;a>Apple&lt;/a>-Konzerns im Geschäft mit Musikdownloads brechen...</description>
   </item>
</channel> 

Notes

Escaped HTML markup is explicitly allowed inside the element item as the content of description (see the second code example).

Language version

RSS 0.91, 0.92, 0.93,

Equivalents

RSS 1.0

RSS 1.1

Atom

rss:description (Warning: used only to describe or summarize content, not to reproduce it; content is reproduced using the Content Module.)

rss:description (Warning: used only to describe or summarize content, not to reproduce it; content is reproduced using the Payload Module.)

For a feed: atom:subtitle

For an entry: atom:summary (for descriptions and summaries) and atom:content (to reproduce the content).

   

 

 

 

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

back to top