skip to main | skip to sidebar



Topsy has just released a Wordpress plugin that gives you another retweet button. But, what if you can only work with a JavaScript widget? here is a small hack..

As you can see, they got 2 buttons..

A Tall(big) button

<script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?nick=[twitter_name]&url=[post_url]"></script>
next, replace [twitter_name] with your Twitter username.
and [post_url] with your post URL.

And a Wide(small) button

<script type="text/javascript" src="http://button.topsy.com/widget/retweet-small?nick=[twitter_name]&url=[post_url]"></script>

Advantages of Topsy Retweet Button

Topsy is a Real time search and discovery engine that was launched in last May. and unlike TweetMeme retweet button. Topsy holds the data about tweets of your link forever!

Topsy offers free tweet analytics about your link & your site that currently TweetMeme will charge you for it! [ See analytics of my popular Twitter Friends widget]

It also shows any badges earned for your URL in TopLinks.(TOP 100, TOP 1k, TOP 5K ). TopLinks are collections of the top 100, 1000, and 5000 new links tweeted each day by influential people on Twitter.

By the way,

I created a jQuery plugin that gives you a Twitter trackbacks widget to setup on any blog especially for Non-Wordpress blogs.

4 comments

  1. Mia // November 14, 2009 12:11:00 AM GMT  

    hmmm...ok Mike , since this is somehwat ' better ' that the retweet button , why aren't you using it here ? hmmm? :)) just wondering :))

    P.S : I see this is not attracting as many 'anonymous' users as the Twitter Friends & Followers widget huh ? LOL :))

  2. Mike // November 14, 2009 12:26:00 AM GMT  

    @Mia,
    I wrote the post as soon as I heard about Topsy new button.. but since that, I didn't really have the time to implement on my blog. I kinda tend to take things slowly when it comes to updating existing code!
    Yet, A good question.. I was expecting it, but not from you :) cause I was just replying to your comment on "Twitter friends widget" moments ago, LOL.

    Yes, as I think anonymous comments are not cool but ok!

  3. Anonymous // December 7, 2009 1:28:00 AM GMT  

    Great script idea! W

    hat if I wanted to use a dynamic URL? for example, If I want to allow the User to "retweet" the URL of the page that I am on?

    Also, do you know how to integrate a link shortener such as bit.ly?

  4. Mike // December 7, 2009 1:49:00 AM GMT  

    @Anonymous,
    When you click "retweet" link of the Topsy button, your link is shortened in the middle of the way to Twitter!

    And this will get current page URL and create a big button:
    <script type="text/javascript">
       var url = encodeURIComponent(location.href);
       var nick= 'Mike_More';
       document.write('<' + 'script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?nick='+ nick +'&url='+ url +'"></'+'script>');
    </script>

Post a Comment

Thank you for taking the time to comment..But don't waste it on spamming!

Recent Posts

Mike

Mike MoreAfter few years as a web developer, I started to like blogging as a way to improve my skills and to share knowledge too. My favorite topics are jQuery, JavaScript, ASP.Net, XML, Twitter, Google.

Subscribe by email

Enter your email address:

or via RSS Feed

Now, take a break

<connect></connect>