RSS <language> Element

Definition and Usage

The <language> element is used to specify the language used to write the RSS document.

Tips and Comments

Tip:The <language> element allows aggregators to group sites by language.

Note:Standard Language Codes.

Example

<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
  <title>CodeW3C.com Home Page</title>
  <link>http://www.codew3c.com</link>
  <description>Free web building tutorials</description>
  <language>zh-cn</language>
  <item>
    <title>RSS Tutorial</title>
    <link>http://www.codew3c.com/rss</link>
    <description>New RSS tutorial on CodeW3C.com</description>
  </item>
</channel>
</rss>