1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Put a Working Digg This Button on your Site

Discussion in 'Social Networks' started by dct, May 8, 2006.

  1. #1
    dct, May 8, 2006 IP
    SEMrush
  2. mad4

    mad4 Peon

    Messages:
    6,989
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I have been trying to reverse engineer that script and it seems a bit dodgy for me. The javascript is a php generated iframe that loads the entire digg page into your site. So if digg is slow or they put a couple of lines of code to make their site break out of the frameset then the whole thing stops working.

    Hopefully they will release a proper way of doing it via an api or something.
     
    mad4, May 8, 2006 IP
  3. dct

    dct Finder of cool gadgets

    Messages:
    3,134
    Likes Received:
    328
    Best Answers:
    0
    Trophy Points:
    230
    #3
    Yeah I think there is a digg API in the pipeline.
     
    dct, May 8, 2006 IP
  4. tomzx

    tomzx Peon

    Messages:
    385
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You do with what you have ;) The use of the iframe is explained by the fact that he wanted to have the animation when clicking the digg link and because to get the style, he needed the complete page info.

    In my opinion, this could have been done with a better method, but it's a proof of concept that it's possible. I guess Digg should start thinking about doing an API like you mentioned because this could help the thing grow even more, but the traffic to the actual page decrease just a bit (because we could digg directly on the the webpage), but it's a great idea.
     
    tomzx, May 12, 2006 IP