Skip to content

feat(rss): relax <author> tag output condition to allow name-only#220

Merged
jpmonette merged 1 commit intojpmonette:masterfrom
huanjuedadehen:feat/rss-author-tag-relaxed
Jan 11, 2026
Merged

feat(rss): relax <author> tag output condition to allow name-only#220
jpmonette merged 1 commit intojpmonette:masterfrom
huanjuedadehen:feat/rss-author-tag-relaxed

Conversation

@huanjuedadehen
Copy link
Copy Markdown
Contributor

Background

Previously, the <author> tag in the generated RSS 2.0 feed was only included when both the author's name and email were provided. However, in many real-world cases, authors may choose not to provide an email address. In such situations, displaying the author's name alone can still be useful for attribution and clarity.

Changes

  • Adjusted the logic to output the <author> tag when the author's name exists, regardless of whether the email is present.
  • This improves flexibility and ensures that author information is not omitted unnecessarily.

Impact

  • Backward compatible change.
  • No effect on existing behavior when both name and email are present.
  • Adds support for generating <author> tag with name only.

@jpmonette jpmonette merged commit fd99f18 into jpmonette:master Jan 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants