"tagpost" Bookmarklet
Since I'm almost definitely too lazy to implement my own category or tagging system, I went ahead and created a bookmarklet to generate technorati-style tag links. It puts the link right at the end of the content of the posting. I'm not sure how fancy Blogger's editor is in IE, Firefox, etc., so maybe it won't work there, but it kicks buttocks in Safari.
You'll have to smash this onto one line. Added the breaks for a little readability.
javascript:var tags=prompt('enter tags, space delimited').split(' ');
var s='\ntagged ';
for(var i=0;i<tags.length;i++) s+='<a href="http://del.icio.us/duelin_markers/'+tags[i]+'" rel="tag">'+tags[i]+'</a> ';
document.getElementById("textarea").value+=s;

0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home