this is very simple example what you can with "JSON feeds".
Function.prototype.bg = function(ms){
this.PID = setInterval(this,ms);
return this;
}
Function.prototype.kill = function(){
clearInterval(this.PID)
}
String.prototype.onReady = function(func){
var str = this;
return function(){
try{
eval("var res=("+str+")");
if(res){
arguments.callee.kill();
func()
}
}catch(e){
}
}.bg(10)
}
function load(user){
"Delicious.posts".onReady(feed_onload);
var s = document.createElement("script");
s.src = "http://del.icio.us/feeds/json/"+user;
s.charset = "utf-8";
document.body.appendChild(s);
}
// http://del.icio.us/doc/feeds/json/
function feed_onload(){
var ul = document.createElement('ul')
for (var i=0, post; post = Delicious.posts[i]; i++) {
var li = document.createElement('li')
var a = document.createElement('a')
a.style.marginLeft = '20px'
var img = document.createElement('img')
img.style.position = 'absolute'
img.style.display = 'none'
img.height = img.width = 16
img.src = post.u.split('/').splice(0,3).join('/')+'/favicon.ico'
img.onload = showImage(img);
a.setAttribute('href', post.u)
a.appendChild(document.createTextNode(post.d))
li.appendChild(img)
li.appendChild(a)
ul.appendChild(li)
}
document.getElementById('container').appendChild(ul)
delete Delicious.posts;
}
function showImage(img){ return (function(){ img.style.display='inline' }) }