RSS องค์ประกอบชื่อการเชื่อมโยงและคำอธิบาย
ความหมายและการใช้งาน
<item> องค์ประกอบที่กำหนดฟีด RSS ในบทความองค์ประกอบมีสามองค์ประกอบของเด็กที่ต้องการ:
- <title> - กำหนดชื่อโครงการ (ตัวอย่างเช่น: RSS กวดวิชา)
- <link> - อัลตร้าที่กำหนดไว้เชื่อมต่อกับโครงการ (ตัวอย่างเช่น: http: //www.w3cschool.cc/rss/)
- <รายละเอียด> - รายละเอียดของโครงการ (ตัวอย่างเช่น: w3school ล่าสุดกวดวิชา RSS)
ตัวอย่าง
<?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>
</item>
<item>
<title>XML Tutorial</title>
<link>http://www.w3cschool.cc/xml</link>
<description>New XML tutorial on W3CSchool</description>
</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>
</item>
<item>
<title>XML Tutorial</title>
<link>http://www.w3cschool.cc/xml</link>
<description>New XML tutorial on W3CSchool</description>
</item>
</channel>
</rss>
ลอง»
คู่มืออ้างอิง RSS สมบูรณ์