RSS <guid>องค์ประกอบ
❮ ข้อมูลอ้างอิง RSS ที่สมบูรณ์
ความหมายและการใช้งาน
<guid> องค์ประกอบกำหนดตัวระบุที่ไม่ซ้ำกันสำหรับรายการ
เคล็ดลับและหมายเหตุ
หมายเหตุ:ผู้รวบรวมต้องดู guid เป็นสตริง ไม่มีกฎเกณฑ์สำหรับไวยากรณ์ ขึ้นอยู่กับผู้สร้างเอกสาร RSS เพื่อสร้างเอกลักษณ์ของสตริง
เคล็ดลับ: GUID = ตัวระบุที่ไม่ซ้ำกันทั่วโลก
คุณลักษณะ
Attribute | Description |
---|---|
isPermaLink | Optional. If set to true, the reader may assume that it is a permalink to the item (a url that points to the full item described by the <item> element). The default value is true. If set to false, the guid may not be assumed to be a url |
ตัวอย่าง
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>W3Schools Home Page</title>
<link>https://www.w3schools.com</link>
<description>Free web building tutorials</description>
<item>
<title>RSS Tutorial</title>
<link>https://www.w3schools.com/xml/xml_rss.asp</link>
<description>New RSS tutorial on W3Schools</description>
<guid>https://www.w3schools.com/xml/item0768</guid>
</item>
</channel>
</rss>
❮ ข้อมูลอ้างอิง RSS ที่สมบูรณ์