RSS องค์ประกอบ GUID
ความหมายและการใช้งาน
<Guid> องค์ประกอบที่จะกำหนดระบุรายการที่ไม่ซ้ำกัน
เคล็ดลับและคำอธิบาย
หมายเหตุ: รวบรวม guid ต้องเป็นสตริงไม่มีกฎระเบียบที่คงที่ของไวยากรณ์ มันขึ้นอยู่กับผู้สร้างเอกสารเพื่อตรวจสอบเอกลักษณ์ของสตริง
เคล็ดลับ: GUID = Unique Identifier ทั่วโลก
คุณสมบัติ
คุณสมบัติ | ลักษณะ |
---|---|
isPermaLink | ไม่จำเป็น ถ้าตั้งค่าเป็นจริงแล้วผู้อ่านจะคิดว่ามันมีการเชื่อมต่ออย่างถาวรไปยังจุดของรายการ A (ชี้ไปตาม |
ตัวอย่าง
<?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>
<guid>http://www.w3cschool.cc/rss/item0768</guid>
</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>
<guid>http://www.w3cschool.cc/rss/item0768</guid>
</item>
</channel>
</rss>
ลอง»
คู่มืออ้างอิง RSS สมบูรณ์