categories

selURL = decodeURIComponent(document.location);selected = selURL.split(‘?’);if (selected[1])if (selected[1] == ‘delAllPosts’){selected[1] = ”;}{enTag = encodeURIComponent(selected[1]);document.write(”);var strip = selected[1].replace(/_/g,’ ‘);if(strip ==”){strip = ‘All Posts’;}if(document.getElementById(‘delpost-title’)){document.getElementById(‘delpost-title’).innerHTML = ‘Category: ‘+strip;document.getElementById(‘delpost-date’).style.display = ‘none’;}}
var ul = document.createElement(‘ul’); ul.className=’delicious-posts’;for (var i=0, post; post = Delicious.posts[i];i++){ var li = document.createElement(‘li’);li.className=’delTitle’;var a = document.createElement(‘a’);a.setAttribute(‘href’,post.u); a.appendChild(document.createTextNode(post.d));li.appendChild(a); ul.appendChild(li);if(delShowNotes){if(post.n){var liNote = document.createElement(‘li’);liNote.className = ‘delNote’; liNote.innerHTML = post.n;liNote.innerHTML += delNoteAppend; ul.appendChild(liNote);}}if(delShowTags){var li2=document.createElement(‘li’); li2.className=’small-del-tags’;for (p in post.t){var tags = post.t[p]; strip = tags.split(‘,’);if( p > 0){li2.innerHTML += delSep;}for(r in strip){ stripper=strip[r].replace(/_/g,’ ‘);var a2 = document.createElement(‘a’); a2.className = ‘small-del-link’;a2.setAttribute(‘href’, delTagPost+’?’+strip[r]); a2.appendChild(document.createTextNode(stripper)); li2.appendChild(a2);}}ul.appendChild(li2);}}document.getElementById(‘del-container’).appendChild(ul);

Advertisements

About this entry