Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
By jsaints on
I am developing module that uses nodeapi to add two additional fields to nodes. How can i include these two new fields in the rss feed for the node?
Thanks
Comments
found it
on the page:
http://drupaldocs.org/api/head/function/node_feed
its says that using 'rss item' in the nodeapi section of the module will do the trick.
here is my code
here is the code I place in the hook_nodeapi(&$node, $op, $teaser, $page) function