Support » Fixing WordPress » New RSS entries/comments not working

  • Hi – I’m new to blogging and I’ve scoured the RSS forum for help and have not found anything to help resolve my issue.

    My url is I have an RSS page with links to RSS comments and entries. When you subscribe to these links, you will receive past comments/entries, but if a new comment or post is added, it doesn’t work. I validated the blog and there are many issues (some of which are too technical for me to understand). However, I did go in to each post and make sure the html was as clean as possible, but to no avail…

    Is there anyone that might be able to help me with this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’ve noticed the same thing.

    In my blog, I have a feed for my entries and a feed for my comments. When a new comment is added the comment feed is NOT updated. But when a new entry is added, BOTH the entry feed and the comment feed are updated.

    I think WordPress is doing this wrong. I found your question while looking for a solution. But I haven’t found a solution yet.

    Okay. I think I found and fixed the problem, at least in WordPress 2.5 and 2.6.

    It seems that in: wp-includes\classes.php, about line 188, that $this->query-vars[‘withcomments’] is not set to anything when the Comments-feed link is clicked on.

    What I did was after the following line:

    if ( !empty($this->query_vars[‘withcomments’])

    I added the following line:

    || ($this->query_vars[‘feed’] = ‘comments-rss2’)

    What this does is detect if the comments-rss2 parameter was passed to the feed variable (see what your RSS link looks like – if you aren’t using RSS2 it might be different), and if so, it will use the lastcommentmodified date rather than the lastpostmodified date.

    Correction. That should be a double ==, not a single =.

    || ($this->query_vars[‘feed’] == ‘comments-rss2’)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New RSS entries/comments not working’ is closed to new replies.