Active
Project:
RSS Permissions
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2011 at 15:58 UTC
Updated:
11 Nov 2016 at 00:09 UTC
Jump to comment: Most recent
Comments
Comment #1
desica commentedSame question!
Comment #2
kingfisher64 commentedI really would appreciate a response, as I just can't use the module until one is received.
Many thanks
Comment #3
kingfisher64 commentedWhat a waste of time asking. Good job I found out that omega theme has the ability to turn off the display of rss icon. http://drupal.org/project/omega
Use views module to create a blank rss page instead of the rss.xml page
Omega theme > toggle advanced elements > feed icons
This module does say actively maintained. Maybe next to that it should mention that support is not actively given.
Now where's that uninstall button...
Comment #4
fuzzy76 commentedDisabling the RSS icon will NOT stop Drupal from publishing the feed, you still need this module to prevent the feed from being generated. It's a dangerous way to go if you have sensitive info in your feed.
Comment #5
kingfisher64 commentedNo it will turn off anything only control the output of what's viewable (rss.xml). I'm still not sure on how to use the module. rss.xml page still exists when the module is enabled.
Comment #6
kimu commentedRss permissions module prevent users to access RSS feeds if not specifically authorized.
Omega can do the trick with rss icons. In order to prevent rss alternate links to be published in the head of a page I use this function that has to be added to the template.php file in your theme.
Comment #7
Masala commentedSorry, how to disable RSS completely?
Comment #8
kimu commentedNo way to disable it completely, you can only prevent alternate links to be published, remove rss icons and in case use RSS permission module to be sure that users without permission don't access your feed pages (if they discover the url).
Doing all this you hide RSS from you site, you don't disable them. Niether users nor feed readers can see them.
Comment #9
Frizus commentedthis.
function mymodule_menu_alter(&$items) {
unset($items['rss.xml']);
}
Comment #10
highermath commentedThe dead simple way to do this is to create a view that delivers no content — a core Drupal sitebuilder skill, if ever there was one — and assign it to the url /rss.xml.
Comment #11
excessorize commentedIt would be even more simple to add a URL alias
or URL redirect (requires redirect module)
pointing to an existing page ... is usually a good bed.
Comment #12
Honestly Illustrated commentedBy "turn off completely", the module author is pointing to the fact that you can disallow all roles from being able to access any feeds. Note that this module only has a "Permissions" link in the Modules list, and not a "Configure" link.
The module has only accounted for those RSS feeds which are shown on its own project page.
I found this thread while looking into removing the RSS feeds accompanying Advanced Forum, and of course this module is not the solution: there is another solution, and it should be fairly universal.
Advanced Forum implements its RSS feeds through the Views module, providing each feed as a "display" of the related views, such as "Active topics." To disable these feeds, we simply disable that view display. Then note that the icon and link are part of the "Page" view display.
I dug in and found that these links are coming from templates that are using the core feed icon string builder, with something like:
We've already seen plenty of "remove it from the theme something.tpl.php" suggestions, but let's go to the root of it, instead: includes/theme.inc
We simply replicate this same pattern in our own template.php:
Then keep an eye out for views that implement feed displays. No more feeds, and no more icons or hyper links. This won't stop Drupal from wasting CPU cycles building the feed icon list, but it will unset the variable without us needing to reimplement the entire template_preprocess_page() hook.
This does not remove the link tag, as in: #1310366: Turn off just the link element and feed icon but keep RSS publishing yet it should, ideally. See also: theming hack to remove feed link and icons
Comment #13
Honestly Illustrated commentedI'm making this a feature request since the OP relies on a misstatement by the module author on the project page, yet the actual solution lies within the module's scope, but outside of it's current features.
Comment #14
Honestly Illustrated commentedComment #15
Honestly Illustrated commentedComment #15.0
Honestly Illustrated commentedbetter detail
Comment #16
webservant316 commentedI hated to install yet another module, especially with the warnings that rss_permissions is use at your own risk. So instead I cleaned up #12 as follows...
I also set the feed count to 1 at .../admin/config/services/rss-publishing
Comment #17
sillygwailoI've clarified the project description to take out the bit about disabling RSS feeds altogether.
The module contains code to disable the RSS feed icon if the role does not have permission to view the feed. For example, if it's the main feed, and the user does not have permission to view the main feed, the icon (and link) for the main feed is not displayed.
The code that does this, as of 7.x-1.0-beta1 as well as beta2 is
Comment #18
Leeteq commented