Skip to content
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

Feed doesn’t validate in itunes - itunes:category should have a self closing tag #95

Open
mjgs opened this issue Sep 24, 2020 · 0 comments

Comments

@mjgs
Copy link

mjgs commented Sep 24, 2020

Thanks for this library, it’s great.

However, according to the Apple docs, for a feed to validate on itunes podcasts the itunes:category tag should be self closing:

<itunes:category text="History" />

But node-rss produces:

<itunes:category text="History"> </itunes:category>

So the feed doesn’t validate on itunes.

Is there a way to specify the feed options so as to get the self closing tag version?

Updated - Here is the config I am using:

{'itunes:category': [
{_attr: {
text: ‘History'
}}
]}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant