Skip to content

Conversation

@huanjuedadehen
Copy link

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.

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.

1 participant