网络学院 w3pop社区 网络资源 IT新闻

w3pop.com :: 网络学院 :: RSS :: RSS < language > 元素

会员登陆

帐号

密码

回答

记住密码

忘记密码? 注册

RSS < language > 元素


作者:w3pop.com 翻译/整理:w3pop.com 发布:2007-04-29 浏览:406 :: ::

Definition and Usage
定义和用法

The <language> element is used to specify the language used to write your RSS document.
<language>元素的作用是:指定书写RSS频道文章时所使用的语言。


Tips and Notes
提示

Tip: The <language> element makes it possible for RSS aggregators to group sites based on language.
提示:<language>元素可以使RSS聚合器群组语言站点。

提示: 查看标准的语言代码(language-codes)


Example
案例

<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
  <title>W3pop Home Page</title>
  <link>http://www.w3pop.com</link>
  <description>Free web building tutorials</description>
  <language>en-us</language>
  <item>
    <title>RSS Tutorial</title>
    <link>http://www.w3pop.com/tech/school/rss</link>
    <description>New RSS tutorial on W3pop</description>
  </item>
</channel>
</rss>


自我演示

<language> 元素
使用<language>元素的方法

评论 (0) All