
定义和用法
<channel> 元素描述 RSS feed,该元素有三个必需的子元素:
- <title> - 定义频道的标题(例如:runoob 首页)
- <link> - 定义指向频道的超连接(例如:http://www.zhishitu.com/)
- <description> - 描述频道(例如:免费的网站建设教程)
实例
<?xml version="1.0" encoding="UTF-8" ?><rss version="2.0"><channel> <title>首页</title> <link>http://www.zhishitu.com</link> <description>免费编程教程</description></channel></rss>
知识兔 »
知识兔 »
