• Hello,

    I am receiving this error when trying to access the RSS feed on my WordPress blog:

    [code]This page contains the following errors:
    error on line 23 at column 48: EntityRef: expecting ';'
    Below is a rendering of the page up to the first error.[/code]

    I am browsing with Chrome. When I view the page in FF I’m just receiving a blank page. My site is http://www.naturener-news.net/?feed=rss2

    Any help would be greatly appreciated!
    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,

    Disable Google Chrome and have a check with your blog and provide exact error message which are receiving at RSS feeds..

    Thanks,

    Shane G.

    Thread Starter davesh

    (@davesh)

    Hm. That doesn’t really make sense.

    Thread Starter davesh

    (@davesh)

    I’m not sure what you meant by “disable Google Chrome”. I’m assuming that I could use htmlentities to escape the RSS feed. Would this be possible–and in what file would I find the data that needs to be escaped? (I tried escaping the entirety of feed-rss2.php to no avail). Again, any help is greatly appreciated!

    Dave

    Thread Starter davesh

    (@davesh)

    I think I should mention that I’m using the FeedWordPress plugin.

    I am getting this exact error after installing FeedWordPress. Anyone have any ideas? I will continue to research on my own, but it has been a thorn in my side for a couple months now and none of my “googling” has yielded any solution. Thanks!

    Hi

    It happened to me before. At first I use FeedSmith plug in, it worked but only with firefox, with other browsers didn’t work, so I change the FD feedburner plugin, now it all work in all browser 🙂 [link moderated – if you have videos and tutorials that are helpful please submit them to http://wordpress.tv/ and use those links] how to do these.

    Greetings

    I like feedburner and use it with several of my other sites. I just installed it for the one where I’m having the error and it does not resolve the issue. The problem is that I am bringing in feeds from LinkShare that have links within the posts that does not use entities for ampersands. So, the feed ends up with “&” instead of
    & amp ;, which will break the XML validation, and thus the feed.

    So far, the only solution I can see is to stop using FeedWordPress or to determine a method to change all of the links that import with a raw “&” in them.

    Thanks!

    Ok. I still haven’t figured out how to fix the issue from within FeedWordPress, but I found out what was causing the issue. The ‘guid’ column in your posts table, i.e. wp_posts, stores a guid that is supposed to create a uniqueness to your posts as well as work with determine duplicates – which is why I think you no longer need to use the other plugin for duplicate posts for this plugin. (It contains the ‘&’ entity, so the feed’s XML expectations are not met, they MUST be ‘& amp ;’) – remove the space between & amp ;.

    So, I update the guids in the posts table like so:
    UPDATE wp_posts
    SET guid = REPLACE(guid,’& amp ;’,’&’) –remove the spaces between & amp ;!!
    WHERE guid LIKE ‘%&%’
    AND guid NOT LIKE ‘%&amp%’

    After running the above query, I am again able to see my feed properly. Be careful for Google Chrome’s really bad cache if you’re refreshing within that browser – otherwise, you might think things are still broken.

    If anyone else comes up with something more useful, especially a fix for the plugin, by all means, share it! 🙂

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘RSS feed error: EntityRef: expecting ‘;’’ is closed to new replies.