Thanks Allen! So this is actually the itunes:summary part of the XML that I’m talking about. It worked fine and validated with the html previously then at the end of July (i think) it was being rejected by iTunes. I looked at the code and it looks like it is supposed to stripping html
‘podcast-functions.php’
// add itunes specific info to each item
function wpfc_podcast_add_item(){
global $post;
$audio = get_post_meta($post->ID, 'sermon_audio', 'true');
$speaker = strip_tags( get_the_term_list( $post->ID, 'wpfc_preacher', '', ' & ', '' ) );
$series = strip_tags( get_the_term_list( $post->ID, 'wpfc_sermon_series', '', ', ', '' ) );
// Sermon Topics
$topic_list = wp_get_post_terms( get_the_ID() , 'wpfc_sermon_topics' );
$topics = false;
if( $topic_list && count( $topic_list ) > 0 ) {
$c = 0;
foreach( $topic_list as $t ) {
if( $c == 0 ) {
$topics = esc_html( $t->name );
++$c;
} else {
$topics .= ', ' . esc_html( $t->name );
}
}
}
$post_image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'large' );
$post_image = ( $post_image ) ? $post_image['0'] : null;
//$enclosure = get_post_meta($post->ID, 'enclosure', 'true');
$audio_duration = get_post_meta($post->ID, '_wpfc_sermon_duration', 'true');
if ($audio_duration == '' ) $audio_duration = '0:00'; //zero if undefined
?>
<itunes:author><?php echo $speaker ?></itunes:author>
<itunes:subtitle><?php echo $series ?></itunes:subtitle>
<itunes:summary><?php wp_filter_nohtml_kses( wpfc_sermon_meta('sermon_description') ); ?></itunes:summary>
<?php if ( $post_image ) : ?>
<itunes:image href="<?php echo $post_image; ?>" />
<?php endif; ?>
<?php if ( $audio !== '' ) : ?>
<enclosure url="<?php echo $audio; ?>" length="0" type="audio/mpeg"/>
<?php endif; ?>
<itunes:duration><?php echo esc_html( $audio_duration ); ?></itunes:duration>
<?php if( $topics ) { ?>
<itunes:keywords><?php echo esc_html( $topics ); ?></itunes:keywords>
<?php }
}
and also in the podcast-feed.php