Index: tribune.backend.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/tribune/tribune.backend.inc,v retrieving revision 1.6.2.4 diff -u -r1.6.2.4 tribune.backend.inc --- tribune.backend.inc 18 Jun 2009 10:19:15 -0000 1.6.2.4 +++ tribune.backend.inc 18 Jun 2009 19:00:16 -0000 @@ -95,7 +95,7 @@ */ function theme_tribune_post_rss($post, $node) { $contents = "\t\t\n"; - $contents .= "\t\t\t". $post['tribune_post_id'] ."\n"; + $contents .= "\t\t\t". truncate_utf8(strip_tags($post['message']), 50, $wordsafe = TRUE, $dots = TRUE) ."\n"; $contents .= "\t\t\t".url('node/'. $node->nid, array('absolute' => TRUE))."\n"; $contents .= "\t\t\t". tribune_rss_slip($post['message'], $node) ."\n"; $contents .= "\t\t\t". date('r', tribune_date_to_timestamp($post['post_time'])) ."\n"; @@ -110,17 +110,6 @@ $string = tribune_sleep($string, $node->tribune_settings['max_message_size']); $string = preg_replace('#((https?|ftp|gopher|file|mms|rtsp|rtmp)://.*?)((,|\.|\)|\])?(<| | |"|$))#', '[url]\3', $string); - $replacements = array( - '' => '', - '' => '', - '' => '', - '' => '', - '' => '', - '' => '', - '' => '', - '' => '', - ); - $string = str_replace(array_keys($replacements), array_values($replacements), $string); $string = htmlspecialchars($string, ENT_QUOTES, 'UTF-8'); return $string;