Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By jason342 on
The RSS icons in the browser were the url is.
You can see it in Opera and FireFox, but not in IE.
How can I get rid of the orange RSS icon please?
Comments
Stop serving RSS
It's a BROWSER feature letting you know that the site provides RSS feeds you can subscribe to.
If you choose to not serve RSS to make your news and updates accessable, remove the
[link rel="alternate" type="application/rss+xml" title="RSS" href="http://xx.xxx.xx/node/feed" /]
from your page.
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards
Hi dman, Remove it from
Hi dman,
Remove it from what page exactly? File name pls?
I looked in the
I looked in the page.tpl.php, it wasn't there.
Anyone know where is that link so I can delete it?
troubleshoot
Do a 'find in files for the key string "rss+xml"
among other places, the one I think you don't want is in node.module node_page_default()
You can comment out that line that provides a list of top stories.
I'm not sure, but it's possible you could also avoid this behaviour by setting a static front page in settings - that would bypass 'node_page_default'
Note that a few other parts of the site - like taxonomy indexes - also serve rss when appropriate.
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards
anyone?
anyone?
You need to look (as
You need to look (as previously described) for where Drupal is notifying the browser of RSS type data. That is the only way to do this. You cannot force a browser to ignore your RSS data, simply don't tell it you have any. Or turn off the RSS module.
no rss module
Thing is, there is no 'rss module' :-/ which is his problem.
RSS is publicised by a few different modules by default, and is not able to be easily disabled.
I don't call it a problem to worry about, but you would expect it would have a switch somewhere.
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards
I got rid of the orange RSS
I got rid of the orange RSS icon by removing the line
found in the page.tpl.php file. This is for Drupal 5.1 however. Earlier versions may be different.
this worked
thanks, your solution was easy and it worked
did the change on a 5.1 site
-Bob