WordPress.org

Ready to get started?Download WordPress

Forums

Feedburner won't validate (5 posts)

  1. ohgod123
    Member
    Posted 6 years ago #

    My feed will not validate, as I get the

    Sorry

    This feed does not validate.

    *

    line 2, column 0: XML parsing error: <unknown>:2:0: xml declaration not at start of external entity [help]

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

    In addition, this feed has an issue that may cause problems for some users. We recommend fixing this issue.

    *

    error as well. Can someone tell me how to resolve this? My URL is http://www.thepokerstrat.com

  2. moshu
    Member
    Posted 6 years ago #

    1. What happened when you clicked on that [help] link?
    2. Get a decent hosting, the feeds don't work (well) on the godaddy free hosting.

  3. ohgod123
    Member
    Posted 6 years ago #

    well, we did pay for the domain name, does free hosting have to do with the problem? when I clicked the 'help' link, it said this:

    Explanation

    If an XML declaration (<?xml ... ?>) appears in your feed, it must be the first thing in the feed, before any whitespace.

    Unfortunately, with WordPress it seems all too easy for a plugin, a theme, or for your configuration file to contain a blank line. Further compounding this problem, some — but not all — feed readers compensate for this common error, allowing the error to go undetected for quite a while.
    Solution

    * Check your wp-rss2.php and wp-atom.php files for blank lines outside of <? and ?> bracketed sections.
    * Check your wp-config.php file for blank lines outside of <? and ?> bracketed sections.
    * Check your theme's functions.php file for blank lines outside of <? and ?> bracketed sections.
    * One by one, disable plugins and revalidate until you isolate the one causing the problem.

    Unfortunately, I tried all the solutions, and they did not work. Any tips?

  4. Chris_K
    Member
    Posted 6 years ago #

    does free hosting have to do with the problem

    Yep - the ads that are injected to all of your pages break RSS feeds.

    Search here for "godaddy free" for many more examples.

  5. rjasong23
    Member
    Posted 6 years ago #

    For me it wasn't blank lines, but two extra lines at the end of my theme's functions.php file including a redundant <title></title> tag.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags