Add A Digg Badge To A Webpage
Trey asked:
I can’t even figure out how to get the dang digg button on my pages in the first place. I have coding experience but I can’t figure out the instructions out there for the life of me.
Well, Trey, here is the easiest way that I have figured out to add a Digg button to my page. Once someone has dugg your page, get the URL from Digg that points to your page.
Next, add the following code to your webpage, somewhere near the top:
<iframe src="http://digg.com/api/diggthis.php?u={Digg URL}” height=”82″ width=”55″ frameborder=”0″ scrolling=”no” align=”right”></iframe>
Make sure that you replace {Digg URL} with the URL that you got from Digg. You’re done! This will display a little Digg badge on the right side of your page. Just change the align= option to set it to the right or left side of the page.
Just as a side note. Sometimes the blog messes up quotation marks. The quotes in the code above should just be regular quotes and it the code doesn’t work when you copy and past it into your web page, make sure that the quotes are cleaned out to be just plain quotes.
If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?
4 Responses to “Add A Digg Badge To A Webpage”
-
Fix Your Desktop Says:
November 30th, 1999 at 12:00 am/>/script> < < />script src=’http://digg.com/tools/diggthis.js’ type=’text/javascript’ /> < < />/div> < < />data:post.body /> < < />/p> 3 STEP Click on Save Template. Done! Also Daily Cup of Tech has a good solution for Non-Blogger sites. Although I’m not entirely sure it won’t work for Blogger.
-
Make Money Online — tools, resources & collaboration Says:
November 30th, 1999 at 12:00 amOw to Get Dugg 7 Days after Launching Your Site How to Get Your Posts Dugg with Digg How to Get Dugg Get Dugg on Digg..com Hittail: Using HitTail to Get Dugg How to Get Popular on Dugg: Comment Case Study ~*~ Add a Digg Badge to a Webpage ~*~tools, resources, site reviews, product & service reviews, and “how to” guidance related to making money online~*~
-
david Says:
June 14th, 2007 at 8:20 pmThat’s a good suggestion. I also have a great way to add the yellow Digg button to all posts automatically. It works with blogger for sure (you’ll see it on my site). I’m not sure about any other blogs.
Add the Yellow Digg Button to your Blogger Site
-G
-
Trey Crowe Says:
June 18th, 2007 at 3:03 pmI feel kind of silly. I actually answered my own question while browsing Digg. http://digg.com/tools/integrate teaches you all about how to integrate Digg on your blog. I use word press for my blog and just putting the code directly into a post works perfectly. Thanks for all the help.
-
Matt Says:
July 20th, 2007 at 7:52 amGreat, thanks for this. I have been tryin to add a digg button (quiet easy) but I hadn’t found a way of getting it aligned in a sensible way. Many Thanks
