IMHO, comments should only show up in the RSS feed if the parent node has comments enabled. If comments are disabled, they shouldn't appear. This patch implements that feature.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Gábor Hojtsy’s picture

Title: Small improvement to comments 'rss item' display. » Only display comment link in RSS, if applicable
Status: Needs review » Reviewed & tested by the community
FileSize
792 bytes

Your coding style was not Drupal conform. I have updated the patch, and I think it is RTBC.

Gábor Hojtsy’s picture

Version: 4.7.2 » x.y.z

Patch is for the cvs HEAD version.

Dries’s picture

Status: Reviewed & tested by the community » Needs review

Better to write?
$node->comment != COMMENT_NODE_DISABLED

Gábor Hojtsy’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
813 bytes

Better indeed.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)