WordPress.org

Ready to get started?Download WordPress

Forums

XML Parsing Error with my rss feeds (9 posts)

  1. iphoneschool
    Member
    Posted 6 years ago #

    Hello

    I am having a problem with my rss feed.
    My host is in yahoo and my blog version is 2.5.1.
    My blog is iphoneschool.org/blog and the feeds url is :

    http://iphoneschool.org/blog/feed/

    As you see it is giving me this error :

    XML Parsing Error: xml declaration not at start of external entity
    Location: http://iphoneschool.org/blog/feed/
    Line Number 3, Column 1:<?xml version="1.0" encoding="UTF-8"?>

  2. bodellconsulting
    Member
    Posted 6 years ago #

    I just moved my blog from a free WordPress hosted blog to my own host. I am now getting a similar error message when I try to get the feed through the RSS entries link on my blog.

    ---------------------
    Invalid xml declaration.
    Line: 2 Character: 3

    <?xml version="1.0" encoding="UTF-8"?>
    ------------------------

  3. bodellconsulting
    Member
    Posted 6 years ago #

    I followed the directions on this page, and it worked for me.
    http://feedvalidator.org/docs/error/WPBlankLine.html
    There were blank lines at the very end of two of those files, and all I had to do was delete them.

  4. johnnewton01
    Member
    Posted 5 years ago #

    The feedvalidator instructions did not work for me. Any other ideas?

  5. @mercime
    Volunteer Moderator
    Posted 5 years ago #

    johnnewton01, site url?

  6. flyaga
    Member
    Posted 5 years ago #

    Please try this plugin fix-rss-feed, it will fix your rss error automatically, and you can get more information from http://wordpress.org/extend/plugins/fix-rss-feed/, and you also can get help from the author website http://www.flyaga.info/en/wordpress/plugins/fix-rss-feed-error-wordpress-plugins.htm

  7. masterhateblogger
    Member
    Posted 5 years ago #

    Worked like a charm flyaga

    Thanks a ton

  8. noyu
    Member
    Posted 5 years ago #

    I had the RSS XML Parsing error a while ago and was applying all the fixes
    basically
    - adding ob_clean();?> before <?php echo '<?xml version="1.0"
    - check your customised theme's function.php for blanks/spaces between <? php and ?>

    I was using Firefox for my testing and it didn't work. Then I tried IE and Safari and the feed worked.

    At 1st I thought it was Firefox error, then I tried clearing the cache on Firefox, reloaded and the feed appeared!

    So in case anyone encounter the same prob.. try Clear Private Data when you are testing. You might have already solved the problem but not getting the latest codes when you refresh browser.

    I'm not a code whiz, it's just my intuitive guess. hope this helps someone out there :)

  9. erinichristine
    Member
    Posted 5 years ago #

    I'm getting a parsing error.. and I'm not sure how to solve it. I think it all happened when I switched themes. There hasn't been an update since I switched.

    This is what I'm getting:

    XML Parsing Error: XML or text declaration not at start of entity
    Location: http://www.thiswench.com/feed/
    Line Number 3, Column 1:<?xml version="1.0" encoding="UTF-8"?>
    ^

    http://www.thiswench.com

    I've tried installing plugins to fix my feed, I tried reinstalling the feed files in my wp-includes.. I tried clearing private data. nothing's working.

    Any ideas??

Topic Closed

This topic has been closed to new replies.

About this Topic