WordPress.org

Ready to get started?Download WordPress

Forums

"undefined entity" error in feed (4 posts)

  1. blakekr
    Member
    Posted 8 years ago #

    I just ported an enormous number of articles into wordpress, and now my rss feed throws this error:

    Reference to undefined entity 'nbsp'. Error processing resource 'http://www.favorideas.com/feed/rss/'. Line 20, Position 3

    I tried to find the actual file so I could see what it objected to, but I didn't have any luck (I'm pretty new to wordpress).

    Any ideas for fixing the feed/finding exactly what it doesn't like? I'm not sure if this means it found a   in a title field, an excerpt field, or something else.

  2. petit
    Member
    Posted 8 years ago #

    Hi!
    You have a   at line 20 which you can see if you go to the address you gave above and look at it with view source.

    This is not allowed in and XML document ( as your RSS ) unless explicitly defined in a DTD ( Document Type Definition ) document.

    Here is an article about the matter:
    http://www.xml.com/pub/a/2003/01/02/xmlchar.html

  3. bshirley
    Member
    Posted 8 years ago #

    He already gave you an answer, but i thought i'd mention that I find

    http://feedvalidator.org/

    useful.

  4. blakekr
    Member
    Posted 8 years ago #

    Oh, I didn't realize the whole thing was there in the source -- duh. Thanks for the tips; that should get me going.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags