Title: Feed Validator Error
Last modified: August 20, 2016

---

# Feed Validator Error

 *  [curtisfisher](https://wordpress.org/support/users/curtisfisher/)
 * (@curtisfisher)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/feed-validator-error/)
 * Hi,
 * I get this error on the feed validator:
 * is feed is valid, but interoperability with the widest range of feed readers 
   could be improved by implementing the following recommendations.
 *  line 47, column 0: content:encoded should not contain iframe tag (3 occurrences)
 * Here is the code that is highlighted:
 *  <content:encoded><![CDATA[<p><iframe width=”520″ height=”390″ src=”[http://www.youtube.com/embed/_gsRHEHAY6Y?feature=oembed&#8221](http://www.youtube.com/embed/_gsRHEHAY6Y?feature=oembed&#8221);
   frameborder=”0″ allowfullscreen></iframe></p>
 * Can someone please help to correct?
 * Thanks,
 * Curtis

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Rajesh Soni](https://wordpress.org/support/users/rajeshsoni/)
 * (@rajeshsoni)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/feed-validator-error/#post-3584456)
 * Have you tried disabling all plugins?
 *  Thread Starter [curtisfisher](https://wordpress.org/support/users/curtisfisher/)
 * (@curtisfisher)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/feed-validator-error/#post-3584463)
 * Hi
 * Thanks for the response. I didn’t have any plugins installed prior to today. 
   I’ve had the error for some time now.
 * Curtis
 *  [Birgir Erlendsson (birgire)](https://wordpress.org/support/users/birgire/)
 * (@birgire)
 * [13 years ago](https://wordpress.org/support/topic/feed-validator-error/#post-3584747)
 * In my case this is a **recommendation ** and not a validation error on feedvalidator.
   org:
 *     ```
       In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendation.
   
       line 42, column 0: content:encoded should not contain iframe tag [help]
   
       <p><iframe width="500" height="281" src="http://www.youtube.com/embed/Gk5OJB ...
       ```
   
 * This comes when using the built in oembed in WordPress.
 * If you want to remove the iframe from your feed, you could try this:
 *     ```
       function custom_strip_rss($content){
       	if(is_feed()){
       		global $allowedposttags;
       		$content = wp_kses( $content, $allowedposttags );
       	}
       	return $content;
       }
       add_filter('the_content', 'custom_strip_rss');
       ```
   
 * where `$allowedposttags` doesn’t contain _iframe_ on my 3.5.2 alpha install.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Feed Validator Error’ is closed to new replies.

## Tags

 * [rss-feed](https://wordpress.org/support/topic-tag/rss-feed/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [Birgir Erlendsson (birgire)](https://wordpress.org/support/users/birgire/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/feed-validator-error/#post-3584747)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
