Spaces in WordPress RSS Feed Creating Error

Discussion in 'XML & RSS' started by SmartMoney, Mar 20, 2007.

  1. #1
    I'm getting this error in my RSS feed on a WordPress blog:

    XML Parsing Error: xml declaration not at start of external entity
    Location: http://www.hometurfmedia.com/blog/rss
    Line Number 3, Column 1:<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.5" -->
    ^

    I've looked up the error and it seems to be cause by blank lines at the head of the xml file, above the <?xml version section.

    So I downloaded this file as text and sure enough there are 2 blank lines at the begining of the file.

    But the wp-rss.php file is standard. I disabled all the plugins on the site and still the error persists.

    Any ideas about where the 2 blank lines may be getting added in?

    Or where to look to figure it out?
     
    SmartMoney, Mar 20, 2007 IP
  2. Mandar

    Mandar Banned

    Messages:
    92
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Did you fixed it ?
     
    Mandar, Dec 1, 2008 IP