• Resolved Justin

    (@iamjustinhines)


    I’m using a javascript code to read my wordpress RSS feed but the script wont work unless the feed validates.

    This is the error i’m getting:

    XML parsing error: <unknown>:2:0: xml declaration not at start of external entity

    I believe its because XML decleration is on the second line and has space before the declaration.

    How can I ensure the decleration is on line 1?

Viewing 1 replies (of 1 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    You have to find what’s adding the space and remove it.

    This usually happens when you have some plugin which has a blank line as the first line in the plugin’s file. Deactivate plugins one by one until you figure out which one it is, then remove the blank line in that file.

Viewing 1 replies (of 1 total)
  • The topic ‘RSS feed not validating’ is closed to new replies.