Discourse RSS feed items must have uniq GUIDs across all discourse intances

Currently, Discourse RSS feed items have GUIDs like “topic-$topicnumber”.
I have several Discourse subscriptions in my RSS reader and there are number of misbehaviors because of this:

  • When you mark a topic from one instance as read, a topic with same guid from other instances also marked as read.
  • When you read one instance feed, you can see topics from other instances.

So, obvious solution could be to concatenate current guid with instance’s domain or some persistent UUID.

GUID is stands for “Globally Unique IDentifier” so obviously it must be uniq across all instances.

6 Likes

I see, so the domain name should be in there. @techapj can you add this to your list? So for here it would be

meta.discourse.org-topic-1234

2 Likes

Okay, done via:

https://github.com/discourse/discourse/commit/c2caf90de6c6be14165e4728ee4edf8f6308888e

Thanks for bringing this in our notice @m_khvoinitsky :+1:

4 Likes