RSS 소스 요소
정의 및 사용
<자료> 요소는이 프로젝트에 대한 타사 소스를 지정합니다.
재산
属性 | 描述 |
---|---|
url | 必需。指定来源的链接。 |
예
<?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>
»시도
RSS 전체 참조 설명서