Recently, we (moderators on Android.SE) started adding some users' feed to our mod's chat room for moderation purposes. After a while, the users' posts were onebox-ed as expected, but then seemingly unrelated posts were too. After a quick-peek to the feed's content, we realized that it also contains the user's comments.
For illustrative purposes (click the image for full-version):
Here are 2 samples of the feed entry for the comment, one for the question:
<entry> <id>https://meta.stackexchange.com/questions/347348/why-can-i-not-log-in-to-stack-exchange-android-app-using-a-google-account?cid=1162608</id> <title type="text">Comment by Meta Andrew T. on Why can I not log in to Stack Exchange Android app using a Google account?</title> <...> <link rel="alternate" href="https://meta.stackexchange.com/questions/347348/why-can-i-not-log-in-to-stack-exchange-android-app-using-a-google-account" /> <...> </entry>
And another for the answer:
<entry> <id>https://meta.stackexchange.com/questions/339029/as-a-workaround-to-imgur-being-blocked-is-there-a-image-hosting-site-which-allo/339035?cid=1132328#339035</id> <title type="text">Comment by Meta Andrew T. on As a workaround to Imgur being blocked, is there a image hosting site which allows URL uploads and does not violate CC BY-SA 4.0 copyright?</title> <...> <link rel="alternate" href="https://meta.stackexchange.com/questions/339029/as-a-workaround-to-imgur-being-blocked-is-there-a-image-hosting-site-which-allo/339035#339035" /> <...> </entry>
There are 2 URLs mentioned on the feed:
<id>: the post's default URL, with
<link>: the post's default URL
<link> URL obviously will not redirect to the comment, apparently the
<id> URL also does not, compared to the current comment's permalink with
or the alternative using
/posts/comments/<comment_id> used in the timeline:
Considering all of these, can the link to the comment on feed be replaced with the comment's permalink instead? Presumably, this will replace the post-onebox (confusing without context) into the comment-onebox (contains the comment, the user, and the permalink to the comment).
Customizing user feeds in chat might be related, but not sure if it is a duplicate since this question focuses on fixing the comment's link instead (which might or might not help the linked feature-request)