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リファレンス