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

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

Meaning

Specifies one or more categories for the feed or entry.

Ancestors

channel, item

Descendants/content

Category names.

Attribute

Name

Value

Meaning

required

domain

Text or URI

Specifies a category system

yes

 

Example

<channel>
   <category domain="http://www.dmoz.org/">News/Media/Industry_News/</category>
   <category domain="http://www.dmoz.org">Business/Information_Technology/News_and_Media/Internet/</category>
   <category domain="http://www.dmoz.org/">Business/Telecommunications/Equipment/Telephones/Wireless_Phones/</category>
   <item>
      <link>http://www.celawi.eu/webtrends/403</link>
      <category domain="http://www.dmoz.org/">News/Media/Industry_News/</category>
      <category domain="http://www.dmoz.org">Business/Information_Technology/News_and_Media/Internet/</category>
      <category domain="http://www.dmoz.org/">Business/Telecommunications/Equipment/Telephones/Wireless_Phones/</category>
</channel> 

Notes

None

Language version

RSS 0.92, 0.93, 2.0

Equivalents

RSS 1.0

RSS 1.1

Atom

dc:subject (Dublin Core)

dc:subject

atom:category

   

 

 

 

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

back to top