• Resolved mjcoyle17

    (@mjcoyle17)


    I am needing help to determine how to fix a validation problem with my site. The feed (https://shilohfreelutheran.org/?feed=rss2&post_type=wpfc_sermon) validates through castfeedvalidator.com, but not through itunes. The error message says “Can’t submit your feed. There is no description tag in your feed, or the description tag is empty.” However, I have entered a description line in the SM settings, and have tried changing that and re-validating, to no avail.
    Help is appreciated!
    Thank you!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @mjcoyle17,

    Could you please go to Sermon Manager Settings, “Podcast” tab, and uncheck option named “HTML in description”.

    If the issue persists after doing those steps, or if option is already unchecked, then add the following code to the end of your (child) theme’s functions.php:

    
    add_filter( 'bloginfo_rss', function ( $description ) {
    	if ( isset( $_GET['post_type'] ) && $_GET['post_type'] === 'wpfc_sermon' ) {
    		return strip_tags( $description );
    	}
    	
    	return $description;
    } );
    

    We suspect that the problem is in paragraph (<p>) tags in your website description field. If you have added them via some other custom way, please remove them or adjust the priority of the code that we sent to be higher than your custom code (should work if you change our code’s last line to }, 0 );).

    If it still doesn’t work, then please create a temporary admin account on your website so we can take a look. (if an email is required, please use [email protected])

    Thank you for your patience.

    Thread Starter mjcoyle17

    (@mjcoyle17)

    Thank you so much, Nikola!

    It seems unchecking the “include HTML” box did the trick.

    Thanks again,
    Monica

    Hi Monica,

    You are very welcome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Feed not validating’ is closed to new replies.