RSS <guid> Element

Definition and Usage

The <guid> element defines a unique identifier for the item.

Hints and Comments

Hint:GUID = Globally Unique Identifier

Note:The aggregator must treat guid as a string. There are no fixed syntax rules. It depends on the document creator to determine the uniqueness of the string.

Attribute

Attribute Description
isPermaLink Optional. If set to true, the reader assumes it is a permanent link to an item (pointing to the URL described by the <item> element). The default value is True. If set to false, the guid may not be assumed to be a URL.

Example

<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
  <title>CodeW3C.com Home Page</title>
  <link>http://www.codew3c.com</link>
  <description>Free web building tutorials</description>
  <item>
    <title>RSS Tutorial</title>
    <link>http://www.codew3c.com/rss</link>
    <description>New RSS tutorial on CodeW3C.com</description>
    <guid>http://www.codew3c.com/rss/item5803</guid>
  </item>
</channel>
</rss>