Skip to content

Fix RSS feed reposting articles on modification#9476

Open
LoveChauhan-18 wants to merge 5 commits intoopen-telemetry:mainfrom
LoveChauhan-18:fix/rss-feed-reposting-6204
Open

Fix RSS feed reposting articles on modification#9476
LoveChauhan-18 wants to merge 5 commits intoopen-telemetry:mainfrom
LoveChauhan-18:fix/rss-feed-reposting-6204

Conversation

@LoveChauhan-18
Copy link
Copy Markdown

@LoveChauhan-18 LoveChauhan-18 commented Mar 23, 2026

  • I have read and followed the Contributing docs, especially the "First-time contributing?" section.
  • This PR has content that I did not fully write myself.
  • I have the experience and knowledge necessary to understand, review, and validate all content in this PR.1

Fixes #6204

The RSS feed was using .Lastmod (from Git commit info) for both the pubDate tag 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

  1. Yes, I can answer maintainer questions about the content of this PR, without using AI.

…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>
@LoveChauhan-18 LoveChauhan-18 requested a review from a team as a code owner March 23, 2026 09:31
@otelbot-docs otelbot-docs bot added the missing:docs-approval Co-owning SIG has provided approval, PR needs approval from docs maintainer label Mar 23, 2026
Copy link
Copy Markdown
Member

@vitorvasc vitorvasc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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?

@LoveChauhan-18
Copy link
Copy Markdown
Author

Hi @vitorvasc,

Thank you for the review! You're correct—the .agents folder was included by mistake. I've now removed it from the PR, so only the intended changes to layouts/rss.xml remain.

I've also synchronized the branch with the latest upstream/main and fixed the formatting issues (line endings) that were causing the "FILE FORMAT" check to fail. Everything should be green and clean now.

Could you please take another look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

missing:docs-approval Co-owning SIG has provided approval, PR needs approval from docs maintainer

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

RSS feed reposts articles on modification

2 participants