Add a "comment rss" using hook_link()
frjo - October 24, 2006 - 16:44
| Project: | Comment RSS |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | yaph |
| Status: | needs work |
Description
On a site I'm working on they wanted a "comment rss" link for nodes making it easier to subscribe. I attach the patch I made if you are interested in adding this feature to the module.
| Attachment | Size |
|---|---|
| commentrss_link.patch | 820 bytes |

#1
With css we should work, we put a picture, for example...
#2
This is a patch for the Drupal 6 version of the module, that adds a comment RSS link via hook_link to nodes, provided the commentrss_node variable is set to TRUE and the current node allows for comments.
This patch also fixes the bug in hook_menu as reported in http://drupal.org/node/256718
#3
Needs to be re-rolled for 6.x-2.x for consideration.