Sounds like a toung-twister !!
I got over-enthusiastic yesterday, after tinkering around with my tagging-bookmarklet, so I decided to work on something I have been planning to do for quiet a long time, the Social Bookmark Bookmarklet, that is a bookmarklet that generate the necesary code for posting the blog entry to social bookmark sites, directly from blog.
Yes I know this is not something new. There are hundreds of scripts that does that. But the problem I face is the limited freedom we get with wordpress.com, I can’t call any external script to generate links on the fly.
So I decided to make myself one, specifically for wordpress.com and below is the code:
[SNIP]
CODE MOVED HERE
[/SNIP]
It is a very simple script that have following 3 steps.
First, it asks for the URL of your blog, which is to be entered without the “http://” and without the trailing “/” [as you can see in the image on the left] then click on OK.
Second, it asks for the Title of the entry for which you want to generate links. Make sure that the Title you give here is same as you are giving on your blog, because the links are generated based on this text. To be on the safe side, it is good to just copy the title from your blog & then paste it in this window. Then click on OK.
Last, you get the code that you have to copy & paste at the end of your entry.
There are few things that are necessary to point out here:
- First, the current script generates bookmark links for del.icio.us, digg, blinklist, furl & yahoo myweb2.0 only, I will add more as and when I’ll get to know about them. In meantime if you add some other social bookmark service, then don’t forget to let me know to update my script
- Secondly, the icons that are currently associated are hotlinked to my geocities account. As long as I have enough space I will keep on hosting them there, but I would appreciate if you modify the script to point to your own iconset.
- The bookmarklet works with Firefox & Flock both.
- It can be used only for wordpress & specifically for wordpress.com accounts
If you want to know how to add the bookmarklet using the code above, then goto Bookmarklet Builder, then specify a name for the bookmarklet in “Bookmarklet Name” [I use wpBlogBMLet] and copy the code in “Javascript Code” window and click on “Compress” button. You will see a new link by the name you provided below the “Format” button. Simply drag that link and drop it on Bookmark toolbar.
Enjoy the Bookmarklet !! And if you face any problem, then feel free to let me know.
UPDATE 1:19.Jan.2006
I have updated the script above to include Simpy, Shadows & Spurl as well. Also there is a problem I saw today, somehow the “alt” in “img” tags vanishes once we save the post. I’m working on finding the solution and will update once I’ll have it.
UPDATE 2:19.Jan.2006
In earlier code there was a problem whereby occurance of “.” and “&” was not removed as wordpress does. That has been ironed out and the code updated. Please use the above code.
UPDATE 3:20.Jan.2006
I have created a webpage at geocities for both the bookmarklets, CLICK HERE to visit that page. Henceforth I’ll be updating the script there only, but will put an update here as well.
UPDATE 4:23.Jan.2006
Added BuddyMarks to the bookmarklet. Updated bookmarklet & code is available HERE.
bookmarks, bookmarklets, tools, social+bookmarks, wordpress, wordpress.com, blogging
bookmarks, bookmarklets, tools, social+bookmarks, wordpress, wordpress.com, blogging

