当前位置: 首页 > 网络学院 > XML相关教程 > RSS > <source>

RSS
RSS 介绍
RSS 历史
RSS 语法
RSS <channel> 元素
RSS <item> 元素
RSS 发布 Feed
RSS 解读 Feed

RSS 中的 <source>


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 245 ::
收藏到网摘: n/a

Definition and Usage
定义和用法

The <source> element Specifies a third-party source for the item.
<source>元素的作用是:为一个项指定一个第三方来源。


Attributes
属性

属性 描述
url Required. Specifies the link to the source
必要参数。指定来源的链接


Example
案例

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


自我演示

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

评论 (0) All

登陆 | 还没注册?