Just trying to clear up what level of uniqueness the <guid>
element in an RSS feed is actually supposed to have. I understand that one of its main purposes is to be something that software can use to identify the item for such purposes as read/unread tracking. But am I right that:
Moreover, if a program does encounter the same guid twice in different feeds, what should happen?
The <guid> element defines a unique identifier for the item. Note: Aggregators must view the guid as a string. There are no rules for the syntax. It's up to the creator of the RSS document, to establish the uniqueness of the string. Tip: GUID = Globally Unique Identifier. Optional.
The <guid> element defines a unique identifier for the item. Note: Aggregators must view the guid as a string. There are no rules for the syntax. It's up to the creator of the RSS document, to establish the uniqueness of the string. Tip: GUID = Globally Unique Identifier.
There are no rules for the syntax. It's up to the creator of the RSS document, to establish the uniqueness of the string. Tip: GUID = Globally Unique Identifier. 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).
Tip: GUID = Globally Unique Identifier. 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
It's a good question and the answer is No.
It was a bad choice of terminology.
The guids only have to be unique to the feed.
The goal in adding them was to have a way for an aggregator to know for sure whether or not it's seen the item before. A locally-unique id suffices for that purpose.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With