http://codex.wordpress.org/Function_Reference/fetch_rss
I am using this to get the rss feeds (rss2) I need to output the
date
title
snipit of the entry (100 characters)
link
this is what i have so far but cannot get the date or the content, can someone help?
<h2><?php _e('Headlines from AP News'); ?></h2>
<?php // Get RSS Feed(s)
include_once(ABSPATH . WPINC . '/rss.php');
$rss = fetch_rss('http://myurl.co.uk/index1.php?feed=rss2');
$maxitems = 5;
$items = array_slice($rss->items, 0, $maxitems);
?>
<ul>
<?php if (empty($items)) echo '
<li>No items</li>
';
else
foreach ( $items as $item ) : ?>
<li><a>'
title='<?php echo $item['title']; ?>'>
<?php echo $item['title']; ?></a><?php echo $item['content']; ?>
</li>
<?php endforeach; ?>
</ul>