dylang / node-rss

RSS feed generator for Node.
https://npmjs.org/package/rss
MIT License
999 stars 133 forks source link

Author element on channel fails validation #30

Open instanceof opened 10 years ago

instanceof commented 10 years ago

In the example code in the Readme.md, you show an author element on the "feed" which generates an author sub-element on channel.

If you set the author property on the feed, but not when generating items (optional), it outputs an author element on channel in addition to the generator element on channel and is missing from the item. If you then try to validate that feed with an online tool, it complains about the author element on channel.

http://feedvalidator.org http://www.rssboard.org/rss-specification#requiredChannelElements