RSS <category>Element
Complete RSS Reference Manual
Definition and Usage
The <category> element specifies one or more categories to which a channel or item belongs. The <category> element can also specify the hierarchical position in a directory (the value of the <category> element is a string separated by forward slashes).
The <category> element allows RSS aggregators to classify and group the directories of sites/articles (grouping sites/articles based on categories).
Attributes
| Tag | Description |
|---|---|
| domain |
Optional. A string or URL that identifies the taxonomy of the classification. Example: <category domain="syndic8">IT</category> |
Examples
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>Example Homepage</title>
<link>http://www.example.com</link>
<description>Free Programming Tutorials</description>
<item>
<title>RSS Tutorial</title>
<link>http://www.example.com/rss</link>
<description>Example Rss Tutorial</description>
<category>RSS</category>
</item>
</channel>
</rss>
Try it Yourself »
Complete RSS Reference Manual Other Extensions