Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
node system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2006 at 01:48 UTC
Updated:
10 Nov 2006 at 01:17 UTC
Jump to comment: Most recent file
Comments
Comment #1
dries commentedWhat is the use case for this feature? Why would you want to exclude certain node types? Examples?
The way to fix this is to use node-level permissions (which has a performance cost). The proposed patchbreaks other settings. If I configure my RSS feed to show 10 items, and if 9 out of 10 items are of a node type that is to be excluded, there will only be 1 item in the RSS feed. To fix this, we need to exclude the nodes at the SQL level so that 10 correct nodes are returned ...
Comment #2
nickl commentedPatch Bingo!
Could be an usability enhancement?
Rerolled to fresh head.
Building proper select options from node_type object array.
Filtering excluded types at the sql level to return feed_default_items number of nodes excluding feed_excluded_node_types.
Comment #3
boris mann commentedYeah, I'd like to see a use case for this as well that applies to core. My instinct is to say "use Views".
Comment #4
RobRoy commentedNow that I know a bit more about Views, marking this fixed. There is a patch at http://drupal.org/node/62007 regarding adding an 'access RSS feed' perm, let's work on that.
Comment #5
(not verified) commented