question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RSS 2 Item Author element totally wrong

See original GitHub issue

As per the RSS2 spec

<author> is an optional sub-element of <item>.

It’s the email address of the author of the item. For newspapers and magazines syndicating via RSS, the author is the person who wrote the article that the <item> describes. For collaborative weblogs, the author of the item might be different from the managing editor or webmaster. For a weblog authored by a single individual it would make sense to omit the <author> element.

<author>lawyer@boyer.net (Lawyer Boyer)</author>

Currently, this package defines an Author object with an optional name, email and link. If anything, email should be required. Link is not needed.

The current implementation is broken and does not correctly adhere to RSS 2.0.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jooolacommented, May 25, 2021

I agree.

This is also a blocker for me. I might try the enhance this library. But I need @jpmonette around in order to merge these enhancements.

0reactions
GavanWilhitecommented, Dec 17, 2022

Is there any way to JUST have the email listed in the author field? I’ve tried setting the name field to null or undefined, but then it won’t render any <author> tag. If you have anything or an empty string it will render “email@email.com ()”

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developing Feeds with RSS and Atom [Book] - O'Reilly
RSS 2.0 can have any number of item elements. The item element is at the heart of RSS; it contains the primary content...
Read more >
rss feed won't validate when I use the element?
I've run a couple of the Stanford iTunesU rss feeds through the W3C validator they seem to have similar problems with the <itunes:order>...
Read more >
Using Razor 2 to write RSS fails on the <link> element
I upgraded to MVC 4 yesterday and just discovered a bug that the upgrade introduced. I have a Razor view that is used...
Read more >
RSS feeds do not validate · Issue #789 · gohugoio/hugo - GitHub
The RSS 2.0 feeds generated by Hugo do not validate. ... not validate. line 9, column 4: Undefined channel element: author [help] Steve...
Read more >
The 5 most common RSS feed problems and how to fix them
If you're the author of your own RSS feed, then this is a mandatory step you can't skip. One of the best tools...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found