Forums

XML feed error (9 posts)

  1. sailortom
    Member
    Posted 5 years ago #

    Got this error report from the feedvalidator and have absolutely no clue how to solve it. Pointers? Thank you.

    line 4, column 0: XML parsing error: <unknown>:4:0: xml declaration not at start of external entity

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

  2. Chris_K
    Member
    Posted 5 years ago #

    Is there any whitespace or blank lines at the top of the feed if you view source of it in your browser?

    If so, you may have a plugin (or your theme's functions.php) that has whitespace before the opening <?php or after the closing ?> in its file.

  3. Chris_K
    Member
    Posted 5 years ago #

    Oh, and a link to the feed would be helpful if I'm off base on my previous response.

  4. sailortom
    Member
    Posted 5 years ago #

    Thanks HandySolo.
    The feed url is http://sealandblog.com/blog/feed/

    I´ll have a look at the code as you suggest and see if I can tell the ? from the / and p´s :)

  5. Chris_K
    Member
    Posted 5 years ago #

    Yep, look for whitespace. There are 3 blank lines at the top of your feed that shouldn't be there.

  6. sailortom
    Member
    Posted 5 years ago #

    Thanks! Good to know what I´m looking for. Will review files. Cheers.

  7. sailortom
    Member
    Posted 5 years ago #

    Hooray!!
    http://http//feedvalidator.org/check.cgi?url=http%3A//sealandblog.com/blog/feed/
    Thanks for the speedy & clever & friendly reply, HandySolo!

    Found the extra space in one of the plug-ins. The feed validated immediately, two minor warnings, one about html in a post and then this : http://feedvalidator.org/docs/warning/CommentRSS.html which I am only bringing up because I am curios, why such a common and well documented problem is... eh, still a problem?

  8. Chris_K
    Member
    Posted 5 years ago #

    Glad to hear you got it fixed. :-)

    As for the CommentRSS: Because you're 5 "dot" releases behind. WP is up to 2.0.7 ;-) (and that's been fixed since .03 or .04 I believe).

  9. sailortom
    Member
    Posted 5 years ago #

    Ups, didn´t think I myself was a factor in the equation :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags