112 Comments
- alex.bosworth, on 10/12/2007, -5/+73bit of a chicken and the egg problem on that one, I had to make the digg before I made the post, otherwise I couldn't put a link to the digg in the post.
- SouthernDigger, on 10/12/2007, -3/+42you sure beat the hell out of my weekend project of doing nothing. Great job, works like a charm!
- mrASSMAN, on 10/12/2007, -8/+44you know.. this seems a bit like CHEATING.
if this is put on popular websites.. it would get to the front page everytime a new article is written.. - alex.bosworth, on 10/12/2007, -5/+38disclaimer: please do not use for evil
- kalleanka, on 10/12/2007, -0/+28Lol, this article will get 1000 diggs just because everyone is so curious and want to see if the digg-button on his homepage really works or not. It worked on me. Smart idea. :)
- wush, on 10/26/2007, -1/+23You still need a digg account.
- mrASSMAN, on 10/12/2007, -0/+16you're right, this submission made it to the front page in less than 30 minutes.
- Eaglefire, on 10/12/2007, -0/+14The digg login actually appears to be an IFRAME element coming directly from digg. Since I store passwords in my Firefox, it detected that it was the real digg asking for my password and filled the info in - it doesn't look like his script genuinely asks for your digg password.
- mrASSMAN, on 10/12/2007, -2/+14so this "live digg button" you made is actually loading this entire page inside your website, and showing a small part of it.
the more comments made here, the slower your page will load.
the more websites that use this, the more needless bandwidth abuse of digg. this was almost a good idea.. but not quite. - inactive, on 10/12/2007, -2/+12His initial blog entry could not possibly include way to live-digg until after it was submitted to digg.com. So he had to go back and edit his blog. Hassle me thinks.
- alex.bosworth, on 10/12/2007, -0/+9This does not give control over your digg away. You are the only one who can actually click the button and make the digg go, web browser frame security still applies - theres' no way for me to see your login credentials as the connection is only made between you and digg.
- pintong, on 10/12/2007, -4/+12Dugg from the live button. Good work!
- Bogtha, on 10/12/2007, -5/+12Why not have it? Well, this is like the "Submit this to Digg" links that every man and his blog have already, except far more effective. Which is to say that it encourages people to Digg stuff they've read even if it's totally unsuitable for Digg. If this catches on, you can expect a significant increase in the number of "blogspam" submissions to Digg that do nothing but have a one-line comment and link to a real article. Except with this button, they won't just be submitted to Digg, they'll be more more likely to reach the front page.
You know, I have no problem whatsoever with original articles that appear on weblogs getting to the front page of Digg. But when it's built into the weblog template and appears for each and every article, that just encourages absolute crap to pile up in the Digg for Stories section, which just drives people *away* from moderating Digg - which is a bad thing for Digg in the long run. A "Digg this" button on selected articles in a weblog is a good thing. A "Digg this" button on each and every article on a weblog is shameless self-promotion bordering on spam. - calabria, on 10/12/2007, -2/+8this is actually really cool. i bet this will catch on and we'll see it alot more, i mean why not have it?
- Bogtha, on 10/12/2007, -2/+7> i'm pretty sure digg handles the comments by quering the database for each.
What possible reason could they have for doing this? It's not simpler, it's not more efficient, it's not more scalable, it's worse in every way I can think of.
> but digg utilizes much more database servers than web servers
So? Querying the database for every comment isn't more efficient in *any* configuration, it doesn't matter how many database servers you have or what proportion of database servers to web servers you have.
On what basis are you claiming that Digg works this way? Have you seen the code? - Yankidank, on 10/12/2007, -6/+10Why would they patch this? There's nothing wrong with being able to vote from a third party site. People have been asking for the API to allow us to do stuff like this for a while.
- alex.bosworth, on 10/12/2007, -1/+5no, you actually digg it, if you check your diggs it should show up there.
- yongfook, on 10/12/2007, -3/+7safari doesn't like this.
also, is this just using some kind of iframe? the page took an awfully long time to load in FF, which makes me suspect it is actually loading an entire page of digg.com behind whatever page has this live button. - Bogtha, on 10/12/2007, -2/+6> each comment is a database query
That's almost certainly not true. Even naïve implementations would just do one query for the top-level comments and one query for the second-level comments, and there are a lot more efficient ways of handling threading than that.
I agree with your general point that loading this entire page is inefficient though. - copyright1968, on 10/12/2007, -2/+5Only works for registered digg users that are "logged on" to digg. Anonymous users see a login page (or a portion of it). I didn't see the javascript so it may not be secure...if there's a way to capture keystrokes with javascript.
- smellinator, on 10/12/2007, -1/+4jczer68: I don't think it's causing autodiggs. At least it didn't for me! It showed a digg button, but *I* had to press the "Digg It" to perform the digg. This just made it easier.
- byrnereese, on 10/12/2007, -0/+2Did anyone determine a way to use this little widget for posts that don't have a digg url yet?
Also - and I may be behind the times, but I saw this code in use somewhere - an official digg script:
<script>
digg_url = '<$MTEntryPermalink$>';
</script>
<script src="http://digg.com/api/diggthis.js"></script> - jull1234, on 10/12/2007, -9/+11Yeah, I dont know if I really like this.
- scbysnx, on 10/12/2007, -2/+4eh the problem is that only bloggers who make a link to their own site on digg could then put this on the site they linked to. it might have other uses but It will definately be used by "digg me" people sweet idea though .. oh and I dugg just to see it tick
- matx, on 10/12/2007, -3/+5Button didnt work for me on firefox. Good idea, saves time having to go back to the digg site to digg it.
- alex.bosworth, on 10/12/2007, -1/+3thanks, and no you can't use this technique to cause 'autodiggs' -- the person must actually click in the iframe - browser frame security still applies.
- alex.bosworth, on 10/12/2007, -0/+2hey gadgetsguy, I have the same question - I haven't figured out how to prevent that from happening
- YellowBook, on 10/12/2007, -3/+5I'm missing the point of the worthiness of having a Digg button on my site. Once your site is on Digg, then people can see it's on Digg. I'm really not a fan of sites that have a long 'toolbar' of post to Slashdot, Del.icio.us, technorati etc. If sites are trying this hard to get traffic, then there's usually something insufficient with the site's content.
- Bogtha, on 10/12/2007, -3/+5Yes, this is just an iframe hack, loading the entire Digg article.
It used to be possible to automatically Digg something without the user's consent, just by getting them to view your page. I don't know if they fixed that bug in Digg, but I remember it was being exploited a while ago. At that point, it would have been possible to make buttons like this without an iframe hack, but I hope they fixed the security hole anyway. - EDantzer, on 10/12/2009, -0/+1now if only blogger didn't block the code for this. :/
great job though, hope they unblock it - wkdown, on 10/12/2007, -0/+1Anyone figure out the tags used so someone could write CSS for it? I don't like the Times New Roman font it uses and want to change that
- Crazyguy, on 10/12/2007, -0/+1This is freaking amazing
- kysle, on 10/12/2007, -1/+2It did no such thing for me. I just checked my profile. I was definitely logged in when I transfered to the soucelabs site.
- dtatom, on 10/12/2007, -1/+2It doesn't work for Safari, but it does degrade nicely. That itself is worth a digg.
- utch, on 10/12/2007, -0/+1Anyone notice that on Digg v3 it is goofed up bottom is cut off
- dishrocker, on 02/28/2008, -0/+1hey you can get an ADDthis widget too that can give you multiple buttons in one....like stumble,technorati,furl,digg and many more
- aptmunich, on 10/12/2007, -1/+2Erm, this isn't working for me in Safari...
It just shows the link, but not the digg icon on the left.
Camino works fine though... - Takteek, on 10/12/2007, -1/+2Hmm... what happens if you aren't logged in when you press the button?
I doubt the login page will fit in the iframe. - gadgetsguy, on 10/12/2007, -0/+1OK now the pages that I have added this to now jump to the script when the page finishes loading ..
I put the script at the bottom of the page, and now when the page with this code loads, the page automatically jumps to this script ... it also does it on digg site and your blog too Alex
how can I stop this from happening? - lteague, on 10/12/2007, -3/+4This is the most hackish, abusive script I think I've ever seen. I'm all for self-promotion, but when it comes to piggybacking off of another site's resources by loading their *entire* *page* in a mostly-invisible (except for the good parts) IFRAME, I draw the line.
C'mon, Alex. You know this is wrong. - dbxz, on 10/12/2007, -1/+2to add a digg button to your site all you need is this code:
< iframe marginwidth="0" marginheight="0" style="visibility: visible; float: left;" onload="frameLoaded(this);" src="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX#main1" frameborder="0" height="74" scrolling="no" width="55" >
< /iframe >
where XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX is the url of your digg story - alex.bosworth, on 10/12/2007, -1/+2frame browser security prevents this, key events aren't fired to javascript if you aren't in the same frame
- inactive, on 10/12/2007, -3/+3I always knew that this could be done from messing with Digg's source code for other purposes... I'm just happy that someone has actually took the time to do it since I'm too lazy to do it myself. Thanks!
- cip6791, on 02/19/2008, -0/+0how can i add a digg button to multiple pages in the website? i want each page to be dug individually. thank you
- kausikdutta, on 03/10/2009, -0/+0Got 404.
- kwavedesign, on 02/06/2008, -0/+0also the link for the article is not working!!
- shaktibhati, on 05/19/2009, -0/+0my first test comment
- deluxndotcom, on 10/12/2007, -2/+2This needs to be added to the Google Widget! I would love to digg top stories from my google/ig page.
- inactive, on 10/12/2007, -0/+0Digg Button use postURL instead of diggURL
http://winend.com/digg/digg-button-service.html
It's the easiest way to add digg button!! It's a wonderful work! Add your digg button just need you include one line code and don't need to do any other thing, it can be used for any website including Blogger! I forecast every website and blog site will use this free digg button in the near future!!! - kwavedesign, on 02/06/2008, -0/+0please don't add any comments for iframe scripts. This can seriously hurt your seo ranking. Which is more important then showing the Digg button.
-
Show 51 - 100 of 112 discussions



What is Digg?
Browsing Digg on your phone just got easier with our enhancements to the