Anyway to stop the ShareThis link from appearing in the rss feed? I'm not sure if it's the module itself doing this or if the feed is just taking all the node content, ShareThis and all.

Using the feed with facebook's RSSGraffiti gives us "My post title- Sharethis&nbspMy post start's here..."

Any suggestions?


#3 rss.patch715 bytesRobLoach
Members fund testing for the Drupal project. Drupal Association Learn more


don@robertson.net.nz’s picture

Version: 6.x-1.8 » 7.x-1.1

I have the same problem. Even gets added to trimmed text and summaries. Makes feed unusable.

jvalencia’s picture

The Sharethis stuff is added at the node level by type. I'm suprised RSS is not it's own node type. Does anyone know if there is a variable you could check to see if it was going into RSS?

RobLoach’s picture

Version: 7.x-1.1 » 7.x-2.x-dev
Status: Active » Needs review
715 bytes

hook_node_view.... $view_mode == rss.....

floeschie’s picture

Component: Miscellaneous » Code
Category: support » bug
Status: Needs review » Reviewed & tested by the community

This patch works for me (D7, sharethis 7.x-2.2)

Pol’s picture

Works for me too.

I think we should add a form in the settings where the user is proposed to select on which 'view mode' he wants to see it or not.

stupiddingo’s picture

Any chance we can get this code included in the next release? Don't mind patching each update, but I can't see why someone would want javascript in their RSS.

Pol’s picture

Yeah please, fix this...

RobLoach’s picture

Status: Reviewed & tested by the community » Fixed

Woo! Committed! Thanks for all the testing. http://drupalcode.org/project/sharethis.git/commit/f00b9b3

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.