Latest web development tutorials

RSS category Element

RSS Reference RSS complete reference manual

Definition and Usage

<Category> element specifies one or more categories or channel item belongs. <Category> element can also specify the directory hierarchy position (value <category> element is a forward slash delimited string).

<Category> element allows RSS aggregators directory sites / articles categorize groups (based on the directory sites / articles grouped).


Attributes

label description
domain

Optional. String or URL, identifies taxonomy classification.

example:

<Category domain = "syndic8"> IT </ category>



Examples

<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">

<channel>
<title>W3CSchool Home Page</title>
<link>http://www.w3cschool.cc</link>
<description>Free web building tutorials</description>
<category>IT/Internet/Web development</category>
<item>
<title>RSS Tutorial</title>
<link>http://www.w3cschool.cc/rss</link>
<description>New RSS tutorial on W3CSchool</description>
<category>News</category>
<category>Tutorial</category>

</item>
</channel>

</rss>

try it"

RSS Reference RSS complete reference manual