New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RSS 2 Item Author element totally wrong #141
Comments
The tricky thing is that this package tries to wrap RSS2, Atom and JSON Feed using a single Feed Options schema. And all these specs doesn't match in every way. I suggest you don't rely on the type definition to know if it adhere to the specs. Additionally, we could provide a StrictFeedOptions that only allow undefined properties on fields that are not required in the 3 different specs. |
@jooola in that caase, this library should provide schemas for each feed type, or remove all assumptions eg the author issue I outlined. |
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. |
Any update on this? Do you need a help? |
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 tag. If you have anything or an empty string it will render "email@email.com ()" |
As per the RSS2 spec
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.
The text was updated successfully, but these errors were encountered: