channel->item as $post) { $twit = " " . substr(strstr($post->description, ": "), 2, strlen($post->description)) . " "; if ($mark = strpos($twit, "http://")) { $l = substr($twit, $mark, strlen($twit)); $l = substr($l, 0, strpos($l, " ")); $full_link = "$l"; $twit = str_replace($l, $full_link, $twit); } echo "
$twit #
"; } ?>