items, 0, 64);
foreach ($delitems as $item) {
$datethis = date("F jS", parse_w3cdtf($item['dc']['date']));
if ($datethis != $dateprinted) {
print "
";
print $datethis;
print "
\n";
print " " ;
}
print " ";
print "";
print $item['title'];
print "
";
if ($item['description'] != "") {
print "";
print $item['description'];
}
print "\n";
if (isset($item['dc']['subject'])) {
$tags = explode(" ", $item['dc']['subject']);
print "
Tags: ";
foreach ($tags as $tag) {
print "$tag ";
/*
if (!in_array($tag, $tags_used)) {
$tags_used[] = $tag;
$tagrss = fetch_rss("http://del.icio.us/rss/tag/".$tag);
if ($tagrss) {
$tagitems = array_slice($tagrss->items, 0, 128);
foreach ($tagitems as $tagitem) {
if ($tagitem['dc']['creator'] != $username) {
print " ";
print "";
print $tagitem['title'];
print "";
if (rtrim($tagitem['description']) != "") {
print ": ";
print $tagitem['description'];
}
print " (linked by ";
print "";
print $tagitem['dc']['creator'];
print ")\n";
}
}
}
else {
print "Could not retrieve related links.";
}
}
*/
}
print "
\n";
print "
" ;
}
$dateprinted = $datethis;
}
}
else {
print "del.icio.us links not available at the moment.\n";
}
print "dbanotes.net\n";
?>