Hello everyone.

I am trying to integrate a twitter search feed to my blog. My code works and displays the things I want except for the authors name.

This is probably, because its a nested tag looking like this in the feed.

<author>
                <name></name>
</author>


I tried <?php echo $item['name']; ?>, but it doesn't work (no programmer here). So how do I display the content of the <name> tag?

Here the whole piece of code

<?php
$rss = fetch_rss('https://search.twitter.com/search.atom?q=ipad+cases');
$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><?php echo $item['name']; ?>
<?php echo $item['title']; ?>
</li>
<?php endforeach; ?>
</ul>


I would appreciate any help on this.

regards

Jarod