item as $item) { ++$i; if($i == ($max_headlines+1)){ exit; } // Display headlines and description printf("%s
", $item->link, $item->title); if(trim($item->description) == '') { // No description available printf("Description: unknown

"); } else { printf("Description: %s

", $item->description); } } ?> item as $item) { ++$i; if($i == ($max_headlines+1)) { exit; } printf("%s
", $item->link, $item->title); if(trim($item->description) == '') { printf("Description: unknown

"); } else { printf("Description: %s

", $item->description); } } ?>