Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2008 at 17:12 UTC
Updated:
4 Aug 2010 at 18:12 UTC
Extra RSS fields, a module that outputs chosen fields from a CCK node in an RSS feed, requires a little extra data in the nodeapi hook:
- $extra = node_invoke_nodeapi($item, 'rss item');
+ $extra = node_invoke_nodeapi($item, 'rss item', $view = '');
I imagine that passing through the $view variable in the nodeapi hook should also be useful for other modules out there
a diff is also attached
| Comment | File | Size | Author |
|---|---|---|---|
| views_RSS.diff | 955 bytes | kvantomme |
Comments
Comment #1
drewish commentedI'm not sure that it's a good idea to be sticking non-specified values into hook_nodeapi()... even thought $a3 and $a4 are unspecified for $op = 'rss item'.
Comment #2
esmerel commentedAt this time, only security fixes will be made to the 5.x version of Views.