RSS <language> 元素
定義和用法
<language> 元素用于指定編寫 RSS 文檔時所使用的語言。
提示和注釋
提示:<language> 元素可以使聚合器根據(jù)語言對站點進行分組。
注釋:標準的語言代碼。
實例
<?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>