RSS 2.0规范
channel部分title 频道名称 必须link 频道的URL 必须Description 频道的描述 必须language 频道文章所用语言 可选copyright 频道版权说明 可选managingEditor 管理者的email 可选webMaster 网站管理员email 可选pubDate 频道发布日期 可选 (注意时间必须是严格符合RFC-822)lastBuildDate 频道最后修改日期 可选category 频道类别 可选generator 生成该频道的程序名 可选docs 该RSS文件的URL 可选ttl 有效期 可选image 频道图标 可选rating 频道等级 可选skipHours 可跳过的小时 可选skipDays 可跳过的天 可选item部分title 标题 必须link 该文章的链接 必须description 描述或称为摘要 必须author 作者的email 可选category 该文章的分类 可选comments 该文章评论的链接 可选enclosure 该文章附带的文件 可选guid 该文章唯一的识别标志(目前没有规范,一般使用文章链接表示) 可选pubDate 发表时间 可选source 文章来源链接 可选例子: <rss version="2.0"> <channel> <title>D.C Life</title> <link>http://blog.it580.com/</link> <description>David && Cindy || XIAMI &&XlAMl.</description> <language>zh-cn</language> <pubdate>Tue, 10 Jun 2003 04:00:00 GMT</pubdate> <lastbuilddate>Tue, 10 Jun 2003 09:41:01 GMT</lastbuilddate> <generator>Xiami Edit</generator> <managingeditor>editor@name.com</managingeditor> <webmaster>webmaster@name.com</webmaster> <item> <title>例子文件</title> <link> http://blog.it580.com/Sample_files.php </link> <description> 这是一个例子文件 </description> <pubdate>Tue, 03 Jun 2003 09:39:21 GMT</pubdate> <guid> http://blog.it580.com/Sample_files.php </guid> </item> </channel> </rss>
?