RSS <language> 元素

定义和用法

<language> 元素用于指定编写 RSS 文档时所使用的语言。

提示和注释

提示:<language> 元素可以使聚合器根据语言对站点进行分组。

注释:标准的语言代码。

实例

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