diff --git a/sharethis.module b/sharethis.module index 8c09ecb..71e5d7d 100644 --- a/sharethis.module +++ b/sharethis.module @@ -299,9 +299,12 @@ function sharethis_menu() { * Information about the language */ function sharethis_node_view($node, $view_mode, $langcode) { - // Don't display if searched - if ($view_mode == 'search_result' || $view_mode == 'search_index') { - return; + // Don't display if the user is currently searching, or in the RSS feed. + switch ($view_mode) { + case 'search_result': + case 'search_index': + case 'rss': + return; } // First get all of the options for the sharethis widget from the database: $data_options = sharethis_get_options_array();