set_feed_url($feed->sanitize($_REQUEST['feedurl'], SIMPLEPIE_CONSTRUCT_IRI)); // Sanitize to ensure this is a URL, not bad code (e.g. XSS)
$success = $feed->init();
$feed->handle_content_type();
if ($success):
?>
Congratulations! Now select the category for your feed and you are done.
get_items() as $item):
?>
get_title(); ?>
get_description(); ?>
Posted on get_date('j F Y | g:i a'); ?>
You submitted an invalid feed document. Please try again.';
endif;
?>