Search Term:

29 June, 2007

Insert the digg Button into post

If you have encountered digg, you must see the yellow digg button which shows how many people has dugg that post. It may be useful if you can insert a dig button into your post too! However, many tutorials only show you how to create Digg buttons for your blogs. Until recently, I saw one good post about the insertion of digg button, and hence want to share with you.

What we need is a way to be able to append a Digg counter to each of our posts - individually. The actual Digg code that's provided at sites like the one above is always in SCRIPT form. Common sense would have us pasting that SCRIPT code directly into the Blogger post where we want our Digg button to go. This, if you've ever tried it, doesn't work. Blogger does not allow the SCRIPT tag in anything other than the Blogger template - which doesn't help us much.

Below are the basic steps needed for digg button insertion:

1. Copy this code.




2. Go find your Digged post URL (Take this post for example, http://www.dagsensecodes.com/2007/06/insert-digg-button-into-post.html).

3. In the code above, replace URLOFSTROY with your Digg URL (in step two).

4. Paste the code from Step 3 into notepad and save it as an htm/html file. Upload that file to a server.

5. In your Blogger post, the one where you'd like to append the "Digg this button counter", insert the following code:



6. Now save your post, and publish it!
 AddThis Social Bookmark Button 

6 Comments:

At 02 July, 2007 14:44, Blogger satish said...

I tried to follow the steps. Couldn't do it in my blog(blogger)
Does it work with blogger too?
Please let me know...and thanks a lot for all the help

 
At 02 July, 2007 23:31, Blogger Adsense Decoder said...

Hi Satish,

Yes, I tried it before and succeed. The purpose of writing this post is to introduce how to add Digg button into blogger post.

I did repeat the steps and have no problem.

 
At 04 July, 2007 23:01, Blogger Jian Hong said...

hey, thank so much for this entries. I was looking for this help. THank. The digg really appear on my blog. =)

 
At 05 July, 2007 01:51, Blogger Adsense Decoder said...

Hi Jian,

You welcome, and hope you can get huge traffic from social bookmarking programs.

 
At 03 September, 2007 09:33, Blogger Danny Boy said...

i also tried to do it on blogger and didn't make it. you day to upload the html file on a server. what server may that be? thank you.

 
At 13 September, 2007 15:18, Blogger Adsense Decoder said...

Hi Danny boy,

That's the server I use to upload my homepage and blog. If you are using blogspot and their server, you cannot uploading other file there.

Sorry for my belated reply.

 

Post a Comment

Links to this post:

Create a Link

<< Home

Your Ad Here