gorilla/feeds

RSS feeds where items have author tags aren't valid

Bios-Marcel opened this issue · 3 comments

Describe the bug

When generating an RSS feeds where the Items have an author, instead of using the Email-field, it uses just the Name field. This causes the feed to not be readable by most readers, as it doesn't follow the spec.

See: https://www.w3schools.com/XML/rss_tag_author.asp
Also: http://validator.w3.org/feed/

Steps to Reproduce
Make a feed with a single item that has an author field and export as RSS

Expected behavior

Instead it should've put the Email into the <author> tag.

stale commented

This issue has been automatically marked as stale because it hasn't seen a recent update. It'll be automatically closed in a few days.

Not stale, duh.

stale commented

This issue has been automatically marked as stale because it hasn't seen a recent update. It'll be automatically closed in a few days.