<div id="container">
<h2>my tags</h2>
<ul id="tags-container"></ul>
<br />
</div>
<script type="text/javascript"
src="http://del.icio.us/feeds/json/tags/escsth?count=20&sort=count"></script>
<script type="text/javascript">
var ct = document.getElementById('tags-container');
for (var k in Delicious.tags) {
var count = Delicious.tags[k];
var span = document.createElement('li');
var a = document.createElement('a');
a.setAttribute('href', 'http://del.icio.us/escsth/'+k);
a.appendChild(document.createTextNode(k +' ('+count+')'));
span.appendChild(a);
span.appendChild(document.createTextNode(' '));
ct.appendChild(span);
}
</script>