'.NL;
echo '
My Bookmarks
Index over my del.icio.us bookmarks
'.NL;
echo ''.NL;
foreach($xml->post as $post){
$post['href'] = trim($post['href']);
if(!preg_match('#^https?://#i',$post['href'])) continue;
if(strpos(parse_url($post['href'],PHP_URL_HOST),'.') === false) continue;
echo ' '.NL;
echo ' '.NL;
$labels = explode(' ',$post['tag']);
foreach($labels as $label){
$label = trim($label," \t,");
echo ' '.NL;
}
echo ' '.htmlspecialchars($post['description'].' - '.$post['extended']).''.NL;
echo ' '.NL;
}
echo ''.NL;
echo ''.NL;