RSSのguid要素
定義と使用法
<GUID>要素は、固有のアイテム識別子を定義します。
ヒントと注意事項
注:アグリゲータは、文字列としてのguid必要があります。文法の決まったルールはありません。 これは、文字列の一意性を決定するために、文書の作成者に依存しています。
ヒント:GUID =グローバル一意識別子
プロパティ
プロパティ | 説明 |
---|---|
isPermaLink | オプション。 trueに設定した場合、リーダーは、それが永続的にエントリのポイントに接続されていることを前提としています(が指します |
例
<?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の完全なリファレンスマニュアル