-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Hi,
I could not find any way to create an output according to the iTunes spec from here:
https://help.apple.com/itc/podcasts_connect/#/itc9267a2f12
The correct format would be
Specify a category without a subcategory:
<itunes:category text="History" />Specify a category with a subcategory:
<itunes:category text="Society & Culture">
<itunes:category text="Documentary" />
</itunes:category>Specify multiple categories:
<itunes:category text="Society & Culture">
<itunes:category text="Documentary" />
</itunes:category>
<itunes:category text="Health & Fitness">
<itunes:category text="Mental Health" />
</itunes:category>
In my code I tried things like this, but don't get a proper output:
$channel->addCategory( )
->term( $feed_category )
->domain( 'itunes:category' )
;
$channel->addCategory( )
->term( $feed_subcategory )
->domain( 'itunes:category' )
;
But I could not create anything like the required format. Do I miss something? Could this be implemented?
Thanks!