Hi friends.
Nearley from 20 days i.e,from i upgraded to latest WordPress version my feed is unavailable because of the error
XML Parsing Error: syntax error
Location: http://www.devilsduke.com/feed/
Line Number 5, Column 2: Devils Duke . com
——–^
Basically this problem is because of the white blank spaces before <? and after ?> tags in php files.
Immediately i went to wordpress.org forum and i posted my problem there.I got some good support in that majority of people suggest me to use the plugin Fix-RSS-Feed
I used that plugin and i fixed all errors that the plugin shows using a single click.But still my feed showing errors.But that error is not same as above.It is in I row, II column.But the problem is same.Again i went to wordpress.org forums and i started searching.I really searched so many posts.Finally i got the solution in those forums.Here it is..
First you open your feed-rss2.php stored in your wp-includes/feed-rss2.php and search for the following code
header(‘Content-Type: ‘ . feed_content_type(‘rss-http’) . ‘; charset=’ . get_option(‘blog_charset’), true);
$more = 1;
and add the following code immediately after the above code
$out = ob_get_contents();
$out = str_replace(array(“n”, “r”, “t”, ” “), “”, $input);
ob_end_clean();
Now open up your feed-rss2-comments.php, feed-rss.php, feed-rdf.php, feed-atom.php, feed-atom-comments.php and do the same as above.Now save them and replace the existing files with these modified one’s.Now you can see your working feed.
See the working feed of DevilsDuke.com.
You can also get full suppor here
http://www.w3it.org/blog/wordpress-feed-error-output-solution-how-to/
Please share your solutions also.Because that may helps some people.
More from Devils Duke
- 6 Best Free WordPress Themes Of June 2010
- Create a Twitter Like WebSite in just 10 min
- 5 Best Free WordPress Themes of April 2010
- How to Block Ads in Your Mail using Firefox
- Google Fixed the Security Issues in Google Buzz
Devils Duke Recommends
- Google In Trouble for Location Tracking Software (Brandon Hann)
- Don Lapre in hot water for bilking $52 million (Brandon Hann)
- Apple iCloud Replaces MobileMe in Fall of 2011 (Brandon Hann)
Incoming search terms:
- error on line 30 at column 25: extra content at the end of the document wp
- error on line 2 at column 1 extra content at the end of the document
- wordpress error on line 2 at column 1: clean
- parser feedburner
- feedburner xml parsing error
Related posts:









[...] This post was Twitted by kishoremvr [...]