I've searched and searched for a way to rid various pages (blog and forum, in particular) of the little orange "Syndicate content" icon/link on the bottom/right of the page. I've looked in admin->themes, admin->settings->content_types, and admin->settings->rss_feed_settings but found nothing.

I don't mind tweaking the source files, but I was hoping for an "official" way to do this.

Comments

laura s’s picture

The easiest way I can think of would be to simply replace the image file in /misc with a blank image.

Laura
_____ ____ ___ __ _ _
design, snap, blog

_____ ____ ___ __ _ _
Laura Scott :: design » blog » tweet

Sub Rosa’s picture

I was hoping for something more "correct". The link would sill be there, even if the image were invisible.

Thanks, though. I may need to resort to that.

JoshLangner’s picture

The solution (which I found using powers of deduction):

The function theme_feed_icon is what generates the FEED icon and exists in theme.inc in the core. To nullify or modify the function, add a similar "theme_feed_icon" function in your template.php file, replacing "theme" with the name of your template (same used on other functions in the template.php file.). For example, I am using the Mollio theme and also want to remove the RSS feed icon:

function mollio_feed_icon($url) {
  if ($image = theme('image', 'misc/feed.png', t('Syndicate content'), t('Syndicate content'))) {
    /*return '<a href="'. check_url($url) .'" class="feed-icon">'. $image. '</a>';*/
  }
}

I just commented out the results. Works perfectly!

AjK’s picture

administer >> blocks

disable (uncheck) Syndicate and save

regards
--AjK

Sub Rosa’s picture

I checked both themes, and it wasn't enabled on either of them.

The syndication block seems to be an entirely different entity than the "Syndicate content" bug on some pages. I actually enabled the block momentarily, just to see its behavior. That's not the thing I'm trying to eliminate.

For now, I've put a transparent PNG as a place-holder until I can find a deent fix.

coreb’s picture

Why would you want to get rid of it? Wouldn't you want users to be able to syndicate content from your site?

Sub Rosa’s picture

But I'm not a fan of RSS. It doesn't sit well with me -- just feels wrong. Can't explain it, just one of my internet peeves, I guess.

AjK’s picture

that's fine, your site. But do all your potential users feel the same? I'm the opposite of yourself on this issue. I got fed up "doing the rounds" of my fav sites each morning so now I just aggregate all those with RSS feeds. When they have something new to say, I found out, otherwise I save myself a wasted trip.

Over the weeks I found I actually stopped "doing the rounds" of those sites that didn't have RSS feeds altogether as I found RSS so much easier. I have enough email to contend with without wasting trips to sites that I don't have to perform if they haven't been updated.

As said, it's your site, do as you wish. But it's your users that may be missing out (and ultimatley your website).

regards
--AjK

coreb’s picture

That's how I feel about RSS too.

<side-story> The editor of my college's newspaper didn't know anything about Syndication either, but it was auto enabled in the CMS they use (unfortunately, not Drupal). Working with him on an unrelated side project, we got off topic and talked about RSS. He logged into his CMS and I got to see the stats. It turns out that even though he didn't know about the feeds, about 25% of the sites visitors were coming from the RSS feeds. It also caused an increase in views by (most likely the same) 25% </side-story>

The biggest complaint I've heard about RSS is that it causes people to not have to go to the site, where the ads that support the site are. If that is a problem for you, there's two solutions I can think of:

  • Set Display of XML Feed Items in admin > settings to publish titles or titles plus teaser, so that if a reader is interested in the article, they still have to go to the site.
  • Put Ads in your Feed. Feedburner can do it. Google Adsense can too.

The latter point would probably require new modules if they don't already exist. It would make for a good potential module to put up for a bounty.

doitDave’s picture

What about contributing to OP's request instead of derailing it into an "Where can I get a purple Matchbox car" "Blue is actually much nicer than purple" children's sandbox lamento? Oh how the damn I hate teh interwebz for such useless comments, seriously. If he wants to get rid of that darn icon, he has any right to do so. Period. And btw, what do you think the feed icons in most browsers address bars are for?

However, although I doubt OP still needs a solution, here's one for anyone else who does, just in case: In D7, the icon is passed to your phptemplate (actually "page") as a variable, so you simply need not render/printout it anymore.

ronan’s picture

Bear in mind that getting rid of the little icon does not get rid of the feed. If you are philosophically opposed to having the rss feed on your site, you will have to take more drastic measures. Browsers like firefox and safari (and probably ie7) read the feed link in the html header and display their own icon and link in the url bar.

------------------------------------
Ronan
Founder - NodeSquirrel - https://www.nodesquirrel.com/
Agency Tools Lead - Pantheon - https://www.pantheon.io/

paddy_deburca’s picture

If all else fails update your style.css to hide the block.

With me the syndicate block is 'block-node-0', so

#block-node-0 {
  display: none;
}

should do the trick.

Paddy.

http://deburca.org, and http://amadain.net

Michael M’s picture

Maybe that the icon is part of the theme source. Delete the php code from there.

----
http://PointHomes.com

amnon’s picture

to add the following to your style sheet:

.feed-icon {
  display: none;
}
that's fine, your site. But do all your potential users feel the same? I'm the opposite of yourself on this issue. I got fed up "doing the rounds" of my fav sites each morning so now I just aggregate all those with RSS feeds.
...
As said, it's your site, do as you wish. But it's your users that may be missing out (and ultimatley your website).

The visitors won't miss the RSS unless they use an awful browser (e.g. Internet Explorer).

Modern brosers will notify the user that there's an RSS feed for the blog, because the page yet contains a
<link type="application/rss+xml" ...> element.

I got fed up "doing the rounds" of my fav sites each morning

And I'm fed up with Internet Explorer users. If you wish to use a browser that was written 10 years ago, that's fine with me, but don't complain.

AjK’s picture

I'm sorry that I use such an awful browser, I do beg your pardon. Just, I use the one 99% of my clients and their clients in turn use. That way, I spot problems before they do.

And I'd love for you to point out exactly where I was "complaining"? All I said was I was fed-up visiting sites that do not support / supply RSS. I'd hardly call that complaining.

When it comes to RSS, I use an RSS Reader as the Firefox implementation doesn't highlight a previously read item. So much for "modern browser". It may be modern in terms of it's release date but that says nothing about the maturity of the features in it (by the way, I'm not knocking Firefox, I use it all the time too as a "better alternative" to IE).

And was IE6 written ten years ago? IE7 isn't even officially released, what newer production version of IE exists beyond v6?

regards,
--AjK

amnon’s picture

AjK,

You're correct.

Sorry.

I don't know why I "attacked" you that day.

BTW, I'm not using FF. I was using this browser before... until I saw the light.

discerntruth.com’s picture

Actually wouldn't that be 'hearing the fat lady sing' instead of 'saw the light' ?!?

Gold, Silver and the Economy
http://discerntruth.com/

drupalb’s picture

Thanks Amnon. Your CSS worked.
Much appreciated.
-------------------------------------------------------------------------------
Amnon said:
The easiest way is to add the following to your style sheet:

.feed-icon {
display: none;
}

goldentoque’s picture

When using the subscribe module to pull content from another site, the feed icon appears on the node of the subscribed site, which isnt necessarily wanted in the context of using the publish / subscribe modules to share content among sites...

GT.

d.deman’s picture

To remove the syndicate content icon you have to change the template.php file in your theme folder.
This has been said before in this forum question but nobody reacted to that.

Just add:

function THEME_feed_icon($url) {
 return null;
}

to template.php and the syndicate content icon won't show.
Replacing THEME with the name of your theme obviously

brentratliff’s picture

What if you only want to disable it in 'Page' content but still want it available in 'Blog'?

jtray’s picture

I'm trying to do the same thing. Have you figured it out? Is there a way you can disable the rss icon on certain content types? Anyone have any ideas?

skypather’s picture

Thanks!

I have the same need and the trick posted by d.deman works like a charm. :-)

tamatama’s picture

I found I added the provided fix to my drupal file theme.inc in my drupal includes folder

function THEME_feed_icon($url) {
return null;
}

replaced existing code
function theme_feed_icon($url) {
if ($image = theme('image', 'misc/feed.png', t('Syndicate content'), t('Syndicate content'))) {
return ''. $image. '';

looks like that worked aswell

Tama

tamatama’s picture

I found I added the provided fix to my drupal file theme.inc in my drupal includes folder

function THEME_feed_icon($url) {
return null;
}

replaced existing code
function theme_feed_icon($url) {
if ($image = theme('image', 'misc/feed.png', t('Syndicate content'), t('Syndicate content'))) {
return ''. $image. '';

looks like that worked aswell

Tama

Maine’s picture