Skip to content

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

@mjgs

Description

@mjgs

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'
}}
]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions