Delicious feed today:

\r\n"; $footer = ""; include("simple_html_dom.php"); ini_set(SMTP, "gmr-smtp-in.l.google.com"); // blogger.com's mx record $linkct=0; $dt = date("Y-m-d"); if(isset( $argv[1])){ $dt=$argv[1]; } // Override date on the CLI if needed $url="https://".$del_username.":".$del_password."@api.del.icio.us/v1/posts/get?dt=".$dt; $subject = $title.$dt; // simple_html_dom uses "tag" extensively internally, so I have to // change the "tag" parameter that Delicious sends to something else. $raw = preg_replace("/ tag=\"/"," hashtag=\"",file_get_contents($url)); $html=str_get_html($raw); foreach($html->find('post') as $element){ $linkct++; $body .= delicious_parse($element); } if($linkct > 0){ $message=$intro.$body.$footer; delicious_display($subject, $message); delicious_mail($blogger_email, $subject, $message); }else{ echo "No links for $dt\r\n"; } function delicious_parse($element){ $output .= "
  • ".$element->description." - ".$element->extended."
    "; $tags=explode(" ", $element->hashtag); unset($tagct); unset($tagdump); foreach($tags as $tag){ if($tag != ""){ $tagct++; } // darned empty tags... $tagdump .= "$tag "; } if ($tagct > 0){ $output .= "#tags: $tagdump
    "; } $output .= "
    \r\n"; return $output; } function delicious_display($subject, $message){ echo $subject."\r\n"; echo $message."\r\n"; } function delicious_mail($blogger_email, $subject, $message){ $headers = "MIME-Version: 1.0\r\nContent-type: text/html; charset=iso-8859-1\r\n"; mail ($blogger_email, $subject, $message, $headers); } ?>