maxnowack / node-podcast

Podcast feed generator for Node.
MIT License
157 stars 39 forks source link

Adding support for custom XML elements #17

Closed dariusk closed 6 years ago

dariusk commented 6 years ago

Users can now pass an array of objects as options.customElements -- Apple recently added new items to its RSS spec, and instead of hard coding new values as they get added, I thought it would be helpful to let people add arbitrary XML tags. This PR adds both the code and the documentation for the feature.

maxnowack commented 6 years ago

Thank you for the PR. I think it will be better, to have the new items of the spec hardcoded, since this is the purpose of this library. It would be super awesome, if you can file a new PR to add these new items. However, it's also good to have the ability to specify custom elements. I've added support for custom elements with v1.0.0 :)