Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter chris-stetson

    (@chris-stetson)

    After I deleted the default comment that came with the default template, the problem went away.

    How’d you do that? I am having the same problem. Please let me know.

    Thanks.
    Kimberly

    I don’t know if it’s the same problem for everyone, but in my case I found a solution:

    It was a problem with quote-comments. The older version 1.1 which I reactived now is working fine, but the new version 1.2 does something which stops the comment feed working.

    I don’t have any quote comments. Anybody else have any idea why the comments rss feed doesn’t work?

    http://blog.go-for-your-dream.com/

    I would appreciate any help.

    Thanks.
    Kimberly

    I too had this same problem. The issue arises from the ampersand in the link (&cpage=1) not being a proper entity reference. The & should be & .

    I fixed the issue by adding the following code to functions.php:
    $ret = preg_replace( '#&#', '&', $ret );

    That line should be added directly after the following code (line 1213 in my functions.php):
    $ret = preg_replace( '#=(&|$)#', '$1', $ret );

    The causes the & to be replaced with it’s entity reference & and thus your comments feeds should render properly. Mine did.

    As stated by bardicstorm, the error results from the ampersands in the link element not being escaped properly.

    Although bardicstorm’s solution works, I prefer an alternative which I explained in my blog entry on the subject last week.

    I understand that this fix will be included in the next release of WordPress.

    The problem does not arise if you use one of the alternative formats for ‘permalinks’ that does not use ampersands.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WP 2.7 Comments: feed code error’ is closed to new replies.