<?php

// $Id: delicious.php 1843 2008-01-31 01:13:48Z mjs $

header("Content-type: text/xml"); 

?>
<?xml version="1.0" encoding="UTF-8" ?>

<Annotations>

<?php

require_once("xml.php");

$broker Broker::getInstance();

$link $broker->getLinkService();

$rows $link->select("link:*""delicious.extended");
                                      
?>

<?php foreach ($rows as $l): ?>

    <?php

    
if (!Zend_Uri::check($l['src_id'])) {
        continue;
    }
    
    
?>
    
    <Annotation about="<?php echo xml_encode($l['src_id']) ?>">
        <Label name="delicious" />
        <Label name="delicious_user_ithinkihaveacat" />
    </Annotation>

<?php endforeach; ?>
    
</Annotations>