Skip to content
Jorge Reyes edited this page Jun 3, 2015 · 2 revisions

The iTunes extension category element is uniquely structured in ColdBox whereby the iTune category is also the structure name while the sub-category is the structure value. In the example below there are two categories, Society & Culture and TV & Film. The Society & Culture also has the sub-category of History. It should be noted that only maximum of two categories are ever allowed and they must match the list contained in the Apple iTunes Podcast specification.

<cfset rc.feed.itunes = structNew(); />
<cfset rc.feed.itunes["category"] = StructNew(); />
<cfset rc.feed.itunes.category["Society & Culture"] = "History"; />
<cfset rc.feed.itunes.category["TV & Film"] = ""; />
Clone this wiki locally