RSS source element
Definition and Usage
<Source> element specifies a third-party sources for this project.
Attributes
属性 | 描述 |
---|---|
url | 必需。指定来源的链接。 |
Examples
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
<title>W3CSchool Home Page</title>
<link>http://www.w3cschool.cc</link>
<description>Free web building tutorials</description>
<item>
<title>RSS Tutorial</title>
<link>http://www.w3cschool.cc/rss</link>
<description>New RSS tutorial on W3CSchool</description>
<source url="http://www.w3cschool.cc">W3CSchool.com</source>
</item>
</channel>
</rss>
<rss version="2.0">
<channel>
<title>W3CSchool Home Page</title>
<link>http://www.w3cschool.cc</link>
<description>Free web building tutorials</description>
<item>
<title>RSS Tutorial</title>
<link>http://www.w3cschool.cc/rss</link>
<description>New RSS tutorial on W3CSchool</description>
<source url="http://www.w3cschool.cc">W3CSchool.com</source>
</item>
</channel>
</rss>
try it"
RSS complete reference manual