Fix RSS feed reposting articles on modification#9476
Open
LoveChauhan-18 wants to merge 5 commits intoopen-telemetry:mainfrom
Open
Fix RSS feed reposting articles on modification#9476LoveChauhan-18 wants to merge 5 commits intoopen-telemetry:mainfrom
LoveChauhan-18 wants to merge 5 commits intoopen-telemetry:mainfrom
Conversation
…etry#9397) Signed-off-by: Love Kumar Chauhan <lovechauhan6564@gmail.com>
Use .Date instead of .Lastmod for pubDate and sorting in the RSS template to ensure updates to existing articles don't trigger new feed items. Signed-off-by: Love Kumar Chauhan <lovechauhan6564@gmail.com>
vitorvasc
requested changes
Mar 23, 2026
Member
vitorvasc
left a comment
There was a problem hiding this comment.
@LoveChauhan-18, thank you for your contribution!
I haven't had a chance to review the changes in rss.xml yet, but I don't think the .agents folder was supposed to be included in this PR.
Could you please check that?
Author
|
Hi @vitorvasc, Thank you for the review! You're correct—the I've also synchronized the branch with the latest Could you please take another look? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #6204
The RSS feed was using
.Lastmod(from Git commit info) for both thepubDatetag and the chronological sorting of items. This meant that any minor edit to an existing blog post caused it to jump to the top of the feed and appear as a new publication to RSS readers and bots.This PR updates layouts/rss.xml to use
.Date(the original publication date from the front matter) instead of.Lastmod. This ensures the RSS feed correctly reflects the original publication date and prevents unnecessary reposting of updated content.Footnotes
Yes, I can answer maintainer questions about the content of this PR, without using AI. ↩