RSS <guid> tag

Usage

Stands for Globally Unique Identifier. Sets a string that uniquely identifies an RSS item. If this tag is used, a feed reader may use the string to determine if the RSS item is new.

Each guid must be unique and it is up to the webmaster or whoever maintains the RSS file to make sure of this for every guid that is created.

A guid could be a URL pointing to the RSS item content, or not.

Attributes

Attribute Description
isPermaLink Optional. Takes the value "true" or "false". This attribute is an indicator as to whether or not the guid is a URL pointing to the RSS item content. If set to "true" (default), a feed reader may assume that the guid is indeed a URL pointing to the RSS item content. If set to "false", the feed reader should assume otherwise.

Example

RSS feed with guid:
<?xml version="1.0" encoding="ISO-8859-1" ?> <rss version="2.0"> <channel> <title>Landofcode.com web tutorials updates</title> <link>http://www.landofcode.com</link> <description>Web development tutorials</description> <item> <title>Site usability</title> <link>http://www.landofcode.com/rss/</link> <description>Learn how to improve the usability of your site</description> <guid>http://www.landofcode.com/rss/web-usability.html</guid> </item> <item> <title>New HTML tutorials</title> <link>http://www.landofcode.com/html-tutorials/</link> <description>Five new HTML tutorials have been added</description> <guid isPermaLink="false">HTMLtutorials</guid> </item> </channel> </rss>
Web Reference
  1. HTML reference
  2. CSS reference
  3. RSS reference


© Copyright 2013-2014 Landofcode.com
Terms of use | Privacy policy | Copyright information