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

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

会员登陆

帐号

密码

回答

记住密码

忘记密码? 注册

RSS < generator > 元素


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

Definition and Usage
定义和用法

The <generator> element specifies the program used to generate the RSS feed.
<generator>元素的作用是:指定用于生成RSS频道的程序名。


Tips and Notes
注意点

Note: This is mostly used if the feed is created with an automatic feed generator.
注意:如果频道是通过一个“自动频道生成器”创建的,那么通常会用到这个元素。


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>
  <generator>Notepad</generator>
    <item>
    <title>RSS Tutorial</title>
    <link>http://www.w3pop.com/tech/school/rss</link>
    <description>New RSS tutorial on W3pop</description>
  </item>
</channel>
</rss>


自我演示

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

评论 (0) All