<?
xml version="1.0" encoding="utf-8"
?>
<!-- RSS结构 -->
< rss version ="2.0" >
< channel >
< title > 频道名称(必备) </ title >
< link > 频道的URL(必备) </ link >
< description > 频道的描述(必备) </ description >
< language > 频道文章所用语言(可选) </ language >
< copyright > 频道内容的版权说明(可选)(可选) </ copyright >
< webMaster > 负责频道技术事务的网站管理员email </ webMaster >
< pubDate > 频道内容发布日期,格式遵循RFC822格式(年份可为2们或4位)(可选) </ pubDate >
< lastBuildDate > 频道内容最后的修改日期(必备) </ lastBuildDate >
< category > 指定频道所属的一个或几个类别(可选) </ category >
< generator > 生成该频道的程序名(可选) </ generator >
< docs > 指向该RSS文件所用格式说明的URL(可选) </ docs >
< cloud > <!--
processes to register with a cloud to be
notified of updates to the channel, implementing a lightweight
publish-subscribe protocol for RSS feeds. More info here.(可选)
-->
< domain > Cloud程序所在机器的域名或IP地址 </ domain >
< port > 访问clound程序所通过的端口 </ port >
< path > 程序所在路径(不一定是真实路径) </ path >
< registerProcedure > 注册的可提供的服务或过程 </ registerProcedure >
< protocol > 协议,xml-rpc, soap , http-post 之一 </ protocol >
</ cloud >
< ttl > 有效期,用以指明该频道可被缓存的最长时间,单位为分钟(可选) </ ttl >
< image > <!-- 指定一个 GIF或JPEG或PNG图片,用以与频道一起显示(可选) -->
< url > 图片的url(必备) </ url >
< title > 图片的标题,用于http的alt属性(必备) </ title >
< link > 网站的url(实际中常以频道的url代替)(必备) </ link >
< width > 图片的宽度(象素为单位),最大144,默认88(可选) </ width >
< height > 图片的高度(象素为单位) 最大400,默认31(可选) </ height >
< description > 用于link的title属性(可选) </ description >
</ image >
< rating > 这个频道的分级(主要指成人、限制、儿童等)(可选) </ rating >
< textInput >
<!--
指定一个text输入框供用户输入,具体信息及功能未定。(可选)
-->
< title > Submit按钮的标签(必备) </ title >
< decription > 解释text输入区(必备) </ decription >
< name > Text area对象的名字(bib) </ name >
< link > 处理提交的请求的cgi程序(必备) </ link >
</ textInput >
< skipHours > 提示新闻聚合器,那些小时时段它可以跳过。(可选) </ skipHours >
< skipDays > 提示新闻聚合器,那些天它可以跳过。(可选) </ skipDays >
< item >
<!--
可以出现多个item,每个item,描述一条日志信息
-->
< title > 项(item)的标题(必备) </ title >
< link > 项的URL(必备) </ link >
< description > 项的大纲 </ description >
< author > 该项作者的email </ author >
< category > 包含该项的一个或几个分类(catogory </ category >
< comments > 该项的评论(comments)页的URL </ comments >
< enclosure > 描述该附带的媒体对象 </ enclosure >
< guid > 项的唯一标志符串 </ guid >
< pubDate > 项的发布时间 </ pubDate >
< sourse > 该项来自的RSS道 </ sourse >
</ item >
</ channel >
</ rss >
<!-- RSS结构 -->
< rss version ="2.0" >
< channel >
< title > 频道名称(必备) </ title >
< link > 频道的URL(必备) </ link >
< description > 频道的描述(必备) </ description >
< language > 频道文章所用语言(可选) </ language >
< copyright > 频道内容的版权说明(可选)(可选) </ copyright >
< webMaster > 负责频道技术事务的网站管理员email </ webMaster >
< pubDate > 频道内容发布日期,格式遵循RFC822格式(年份可为2们或4位)(可选) </ pubDate >
< lastBuildDate > 频道内容最后的修改日期(必备) </ lastBuildDate >
< category > 指定频道所属的一个或几个类别(可选) </ category >
< generator > 生成该频道的程序名(可选) </ generator >
< docs > 指向该RSS文件所用格式说明的URL(可选) </ docs >
< cloud > <!--
processes to register with a cloud to be
notified of updates to the channel, implementing a lightweight
publish-subscribe protocol for RSS feeds. More info here.(可选)
-->
< domain > Cloud程序所在机器的域名或IP地址 </ domain >
< port > 访问clound程序所通过的端口 </ port >
< path > 程序所在路径(不一定是真实路径) </ path >
< registerProcedure > 注册的可提供的服务或过程 </ registerProcedure >
< protocol > 协议,xml-rpc, soap , http-post 之一 </ protocol >
</ cloud >
< ttl > 有效期,用以指明该频道可被缓存的最长时间,单位为分钟(可选) </ ttl >
< image > <!-- 指定一个 GIF或JPEG或PNG图片,用以与频道一起显示(可选) -->
< url > 图片的url(必备) </ url >
< title > 图片的标题,用于http的alt属性(必备) </ title >
< link > 网站的url(实际中常以频道的url代替)(必备) </ link >
< width > 图片的宽度(象素为单位),最大144,默认88(可选) </ width >
< height > 图片的高度(象素为单位) 最大400,默认31(可选) </ height >
< description > 用于link的title属性(可选) </ description >
</ image >
< rating > 这个频道的分级(主要指成人、限制、儿童等)(可选) </ rating >
< textInput >
<!--
指定一个text输入框供用户输入,具体信息及功能未定。(可选)
-->
< title > Submit按钮的标签(必备) </ title >
< decription > 解释text输入区(必备) </ decription >
< name > Text area对象的名字(bib) </ name >
< link > 处理提交的请求的cgi程序(必备) </ link >
</ textInput >
< skipHours > 提示新闻聚合器,那些小时时段它可以跳过。(可选) </ skipHours >
< skipDays > 提示新闻聚合器,那些天它可以跳过。(可选) </ skipDays >
< item >
<!--
可以出现多个item,每个item,描述一条日志信息
-->
< title > 项(item)的标题(必备) </ title >
< link > 项的URL(必备) </ link >
< description > 项的大纲 </ description >
< author > 该项作者的email </ author >
< category > 包含该项的一个或几个分类(catogory </ category >
< comments > 该项的评论(comments)页的URL </ comments >
< enclosure > 描述该附带的媒体对象 </ enclosure >
< guid > 项的唯一标志符串 </ guid >
< pubDate > 项的发布时间 </ pubDate >
< sourse > 该项来自的RSS道 </ sourse >
</ item >
</ channel >
</ rss >