3

I need to remove the syndication icon because I'm either not going to syndicate or I want to do it my own way.

7

If it's just the feed icon you need to kill, you could always just comment out or delete the line:

<?php print $feed_icons; ?>

from page.tpl.php?

2

If you have Omega theme comment out this line

<?php if ($feed_icons): ?><div class="feed-icon clearfix"><?php print $feed_icons; ?></div><?php endif; ?>

It is in region--content.tpl.php

2

better bet is to use David Norman's (deekayan) Jammer module.

Install it and then enable the following module's:

  1. Feed Icon Jammer
  2. Feed Jammer

the first, of course, removes the icon, and the second prevents the front page from being published as an RSS feed. Thank you

0

See Port to Drupal 7; a Drupal 7 version of RSS permissions is in the works and may already have some of the functionalities you require.

0

As marblegravy correctly suggest you should indeed remove the link from your theme. This is different for each theme, but for example in Bartik you can remove the following line in page.tpl.php:

<?php print $feed_icons; ?>

Just search for RSS or feed and you should find the link.

Additionally to prevent some smart crawler from accessing the feed, you can block access to it by implementing hook_menu_alter in a custom module. E.g. as follows:

/**
 * Implements hook_menu_alter().
 */
function MYCUSTOMMODULE_menu_alter(&$items) {
  $items['rss.xml']['access callback'] = FALSE;
} 

For more fine grained control I recommend the module RSS permissions

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.