" , true); return $text; } // Parse each item in the RSS feed foreach ($xml->channel[0]->item as $item) if($item) { $title = strip_tags($item->title); $description = strip_tags($item->description); $text = $description; $img = imagecreatefromgif('cisco.gif'); $color = imagecolorallocate($img, 0x00, 0x66, 0xCC); $newtext = wordwrap($text, 9, "
", true); imagestring($img, 1, 1, 2, $title, $color); imagestring($img, 1 , 1, 18 ,$text, $color); echo "".$title; echo "
\n"; echo "$newtext"; imagegif($img, 'feedburner-readers.gif'); exit; } ?>