";
//Loop through all items of the feed
foreach ($phparray['value']['items'] as $item) {
//For all items :
//create a new table row
echo "
";
echo "On ";
//print the day it was published
print_r($item['y:published']['day']);
echo "/";
//print the month it was published
print_r($item['y:published']['month']);
echo "/";
//print the year it was published
print_r($item['y:published']['year']);
echo ", ";
//print who wrote the item (it's a comment in my case
$name = $item['author']['name'];
echo "";
//some more checks because sometimes the author is in its own tag
if (strlen($name)==1) print_r($item['author']);
else print_r($item['author']['name']);
echo "";
echo " commented: ";
//write the description ofthe item within its link
echo "".$item['title']."";
echo ": ";
echo " |
";
//end of the row for this item
}//end of for each items
echo "";
?>