Forums

XML Parsing Error on RSS Feed (3 posts)

  1. ryanmgriffiths
    Member
    Posted 2 years ago #

    Hi.

    I am getting the following error when clicking on the rss feed tab at the top of my homepage on http://www.groom_wedding_speeches.org.

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

    It has me totally baffled as I havent added any xml files. the only thing that I can think of is that I added a custom header and then noticed the error, but even when I take the custom header down it still gives the error. The header was added through the custom.css file.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    It's your RSS feed file. It has a single blank line at the top which is causing the feed validation to fail.

    I added a custom header

    My guess is that you introduced a blank line in your theme's template file(s) when carrying out this change. Try checking through all theme files - starting with header.php - and removing any blank lines before the opening <?php.

  3. Shane G.
    Member
    Posted 2 years ago #

    Hi,

    Check with this plugin:

    http://wordpress.org/extend/plugins/fix-rss-feed/

    Thanks,

    Shane G.

Topic Closed

This topic has been closed to new replies.

About this Topic