RSS <guid>Element


RSS 参考手册Complete RSS Reference Manual

Definition and Usage

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


Tips and Notes

Note:Aggregators must treat the guid as a string. There are no fixed syntax rules. It is up to the document creator to determine the uniqueness of the string.

Tip: GUID = Globally Unique Identifier


Attributes

Attribute Description
isPermaLink Optional. If set to true, the reader will assume that it is a permalink pointing to an item (pointing to the URL of the item described by theURL of all items described by the element). The default value is True. If set to false, the guid may not be assumed to be a URL.


Examples

<?xml version="1.0" encoding="UTF-8" ?> <rss version="2.0"> <channel> <title>Example Home</title> <link>http://www.example.com</link> <description>Free Programming Tutorials</description> <item> <title>RSS Tutorial</title> <link>http://www.example.com/rss</link> <description>Example RSS Tutorial</description> <guid>http://www.example.com/rss/item0768</guid> </item> </channel> </rss>

Try it Yourself »

RSS 参考手册Complete RSS Reference Manual Other Extensions