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);
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.
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)
Best iPad Air Case Screen Protector – Strong and Durable Yes you already read a lot of articles about iPad Air… just like before this product of Apple will set a trend as others will follow with their own design of a tablet PC that looks thin and light weight. The ...
How to Get Free Debit Master Card Online - Paypal Approved There are a lot of questions on how to get a free credit/debit card that can be used in shopping or purchasing products online, a debit master card that compatible in leading shopping network online, shopping sites like Amazon, Ebay, ...