Posted in Blogging, WordPress Tips

Tags Bookmarklet

If you are new to wordpress.com then you want to read Lorelle’s Blog “Lorelle on WordPress”. This blog not only has a number of amazing tutorials, explanations, and advise on using wordpress but also on blogging in general.

While reading it I came across an article on Tagging and using bookmarklets to help with links to Tecnorati . While I could not find the bookmarklets described in the article or get it working with the Linux system I started a little search from the links that were on that article. What I came across was a Technorati Tools section. As part of it I found a nice bookmarklet that I could use to create Technorati links.

Using the script I modified it a bit to create both Technorati and wordpress tags at the same time. To use the script just cut and paste from below then create a new bookmark and place it in the site or location field.

Technorati and WordPress Tags Script

— CUT HERE —
javascript:(function(){var a=”;var t=prompt(‘Enter Tags without commas:’,”);if(!t) return;var tr=t.split(‘ ‘);a+='<hr><p><b>Technorati Tags: </b> ‘;for(var i=0;i<tr.length;i++){if(i > 0){a+=’, ‘;}a+='<a href=’+unescape(‘%22’)+’http://www.technorati.com/tags/’+tr%5Bi%5D+unescape(‘%22&#8242;)+’ rel=’+unescape(‘%22’)+’tag’+unescape(‘%22′)+’>’+tr[i]+'</a>’;}a+='<br></br>’;a+='<b>WordPress Tags: </b> ‘;for(var i=0;i<tr.length;i++){if(i > 0){a+=’, ‘;}a+='<a href=’+unescape(‘%22’)+’http://www.wordpress.com/tags/’+tr%5Bi%5D+unescape(‘%22&#8242;)+’ rel=’+unescape(‘%22’)+’tag’+unescape(‘%22′)+’>’+tr[i]+'</a>’;}a+='</p>’;prompt(‘Copy this code, press OK, then paste to your blog entry:’,a);})()
— END HERE —

I also modified the same script to create a search feature for my blog. To use this modify the word MYBLOG to the name of your blog and then create a new bookmark and paste the script in to the site or location field.

WordPress Site Search Script

— CUT HERE —
javascript:(function(){var a=”;var t=prompt(‘Enter Search Words without commas:’,”);if(!t) return;var tr=t.split(‘ ‘);a+='<hr><p><b>Site Search Tags: </b> ‘;for(var i=0;i<tr.length;i++){if(i > 0){a+=’, ‘;}a+='<a href=’+unescape(‘%22’)+’http://MYBLOG.wordpress.com/index.php?s=’+tr%5Bi%5D+unescape(‘%22&#8242;)+’ rel=’+unescape(‘%22’)+’tag’+unescape(‘%22′)+’>’+tr[i]+'</a>’;}a+='</p>’;prompt(‘Copy this code, press OK, then paste to your blog entry:’,a);})()
— END HERE —

Let me know if this helped you in any way.


Technorati Tags: , , , , ,
WordPress Tags: , , , , ,

Site Search Tags: , , , , ,


Site Search Tags: , , , , ,
Technorati Tags: ‘;for(var i=0;i
0){a+=’, ‘;}a+=’’+tr[i]+’’;}a+=’

Copyright (c) by BlueKnight