Only The #1 Bookmarks
http://sandbox.sourcelabs.com/livemarks/
The number one most bookmarked links on del.icio.us";
while ($row = mysql_fetch_assoc($result)) {
echo "".preg_replace('/&/','&',htmlentities($row['title']))."{$row['link']}";
}
echo "";
die();
}
if (isset($_GET['feeds']) and $_GET['feeds']) {
$ts=date("Y-m-d H:i:s", (time() - 60 * 25));
$sql = "
select id, title, link
from bookmarks
where imported > '".$ts."'
order by rand()";
$result = mysql_query($sql) or die ($sql.mysql_error());
while ($row = mysql_fetch_assoc($result)) {
$marks[] = $row;
}
$bookmarks = '';
$delay = round((60 / ((count($marks) + 1) / 20)) * 800);
if ($delay > 5000) $delay = 5000;
if ($delay < 1700) $delay = 1700;
if ($marks) {
foreach ($marks as $mark) {
$bookmarks .= "