Blank or error in RSS feed in WordPress 3.0 Solution

Thursday, May 17, 2012, 1:43 Tech Tutorials

By Jo Teach

Blank or error in RSS feed in WordPress 3.0 Solution

Upgrading or installing WordPress 3.0 in your webhost sometimes leads to error,  sometimes having a hard time logging in to your account or one of the usual errors designers encountered who are using wordpress, do encounter errors in RSS feed, its either a blank space or the error code that shows below.







<?xml version=”1.0″ encoding=”UTF-8″?>
^

Try to check in the RSS feed validator , an online handy tool that check your RSS feed for errors.

RSS FEED Validator http://validator.w3.org/feed/

It’s a whitespace in wordpress RSS file usually located in the wp-includes directory, the error file is in the feed-rss2.php file to be able to fix this you have to add the following code before the

header(‘Content-Type: ‘ . feed_content_type(‘rss-http’) . ‘; charset=’ . get_option(‘blog_charset’), true);

$more = 1;

Put below the pieces of codes

$out = ob_get_contents();
$out = str_replace(array(“n”, “r”, “t”, “ ”), “”, $input);
ob_end_clean();

If the errors persist in your RSS feed or you don’t want to work with hand coding, you can use a very handy plug-in for fixing your RSS feed. The plugin is

Fix Rss Feeds

Description: fix wordpress rss feed error “Error on line 2: The processing instruction target matching “[xX][mM][lL]” is not allowed.” while you burn wordpress rss feed from http://www.feedburner.com, also fix error “XML or text declaration not at start of entity” in firefox, and fix error “XML declaration not at beginning of document” in opera.

Site: http://www.gofunnow.com/wordpress/plugins/fix-rss-feed-error-wordpress-plugins.htm

If you  know some other ways in fixing these errors please leave a comment to help others who are also having a hard time fixing the error in their RSS feed.

(Note: if your are suing the w3 total cache please disable it first)

Related Topics:

    None Found

Please Like Us on Facebook to get the latest updates on info tech and world news!
Custom Search
  • Josh Mike

    great tutorial thanks for this I’m having a problem also with my rss feeds now its ok

  • http://www.yahoo.com Malube

    Is the fix rss feed compatible with the latest version of wordpress?

  • http://kuyajo.wordpress.com/2011/02/18/how-to-fixed-blank-or-error-in-rss-feed-in-wordpress-3-0/ How to Fixed Blank or error in RSS feed in WordPress 3.0 « Kuyajo's Blog

    [...] FEED Validator http://validator.w3.org/feed/ Read more: Blank or error in RSS feed in WordPress 3.0 LikeBe the first to like this [...]

  • http://infotechgarage.com Teach

    Yes it works great…its easy to used too

Latest Articles

` Karbonn S1 Titanium Android Dual SIM

Karbonn S1 Titanium Android Dual SIM

Monday, May 20, 2013 8:19
` Starmobile HIT Specs Price with Mobile TV

Starmobile HIT Specs Price with Mobile TV

Saturday, May 18, 2013 22:43
` Starmobile Astra Android Specs Price Review

Starmobile Astra Android Specs Price Review

Friday, May 17, 2013 13:20
` Lamborghini Egoista Photos Car of the Future

Lamborghini Egoista Photos Car of the Future

Monday, May 13, 2013 13:14

Infotechgarage.com

Accepts contributor or just guest post, so if you are interested in being a contributor or just a guest blogger/writer please feel free to read the guidelines for contributor or guest blogger/writer.

Read : Be a Contributor /Guest Post

Enter your email add







Welcome to infotechgarage.com beta, feel free to browse the site for informative articles related to information technology and other articles in the world wide web.

Tuesday, May 21, 2013   Copyright ©2010 infotechgarage.com. All rights reserved. Akeanon