Index: commentrss.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/commentrss/commentrss.module,v retrieving revision 1.11 diff -u -r1.11 commentrss.module --- commentrss.module 19 Aug 2006 18:48:00 -0000 1.11 +++ commentrss.module 24 Oct 2006 16:39:03 -0000 @@ -49,6 +49,16 @@ return $items; } +function commentrss_link($type, $node = NULL, $teaser = FALSE) { + $links = array(); + + if ($type == 'node' && $node->comment == 2) { + $links[] = l(t('comment rss'), 'crss/node/'. $node->nid, array('title' => t('Comments for %title', array('%title' => $node->title)))); + } + + return $links; +} + function commentrss_handler($type = NULL) { if ($type) { if (in_array($type, array('node', 'term', 'vocab', 'nodetype'))) {