Wednesday, July 12, 2006

How to Make Digg’s New Integration Tool Work With Wordpress Posts

Author: Nick
Category: Money
Topics: ,

digg wordpress integration

Wow, I just started using the darn thing and I’ve already started getting e-mails asking how I managed to get the new Digg integration tool to work in a Wordpress post. Forgive me for the pause in funny financial talk as I explain how I did it in this post.

You’ll need two things:

  1. A Digg story URL like this one: http://digg.com/tech_deals/No_Fax_Machine_Send_ Faxes_Online_Cheap_or_Free!
  2. Your favorite Wordpress editor open. For the love of all that is holy, turn off that fancy editor they have on by default.

Now, wherever you wish the button to appear in the post, include this check of code:

wordpress digg integration code

Link to a file with the code in text format.

Simply replace DIGG STORY URL GOES HERE with that link from step one. Those comment tags and extra slashes are required to get in-post Javascript working. The div aligns the button to the left of your text; otherwise the button appears on a separate line and looks all ugly.

Note that this seems to only get the button to display in Firefox. Then again, I haven’t see the button working on any site in any other browser yet. Please correct me if I’m wrong.

Now you can stick Digg buttons on every blog post you ever make! Let the wave of blog spam be unleashed! (I’ll be surfing it to the front page.)

Note (July 21, 2006): Some of you may have noticed that I’ve since removed these Digg buttons. I did so partly because they were getting old and were still getting pushes, but also because the darn things don’t XHTML validate and there’s nothing about it I can do on my end. For shame, Digg!

7 Responses »

1.

James Joyner
July 23rd, 2006 at 10:10 am

I see you have several other buttons in addition to digg’s. Did you use a plug-in such as Sociable or is this all in the digg install itself?

2.

Nick
July 23rd, 2006 at 1:34 pm

Nope, those all came with this Wordpress template. I actually played around with them, took out a few, added a couple of others. I hardly use them though, and I doubt other people do. If I can figure out what to put in their place, then I might take them out. Otherwise, I’ll just leave them there for decoration.

3.

deepblue
August 29th, 2006 at 1:58 am

Hi

How can one put digg button in a normal website which is not a blog??/

4.

Nick
August 29th, 2006 at 6:35 am

deepblue, see here.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

u comment, i followPlease note: By posting a comment, you agree to abide by the Comments Policy. Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.


Trackbacks & Pingbacks

  1. [...] There was also a WordPress “hack” available to make the Digg API work but it wasn’t compatible for every browser. The Digg button would display fine in Firefox but would show nothing in Internet Explorer. Up until this point if you have never seen the Digg button on this site then you are probably an Internet Explorer user. [...]

    Pingback by My First WordPress Plug-In: Digg Button - CyberNet News: Hardware, Downloads, Gadgets...Technology Done Right! — August 25, 2006 @ 8:25 am

  2. [...] I'm playing around with a Digg api which allows me to install a live Digg button within my post. In order to test it, I submitted this entry to Digg. There's really nothing here, other than my testing a new tool. [...]

    Pingback by Rusty's Ramblings » Blog Archive » New Digg Tools — September 7, 2006 @ 6:54 pm

  3. Unlimited Music Downloads…

    Music videos can be purchased at your local stores but who would…

    Trackback by Unlimited Music Downloads — February 13, 2007 @ 10:06 am

 

 

Apply for a Personal Loan - Get the financing you are looking for even if you have a history of bad credit. Bankruptcy OK!
Bad Credit Payday Advance - Simple online form and introduction to short term loans with no credit checks.

Loan for people with bad credit
Car Insurance

Search

Topics

Archives

 

  • Clean Credit - we use our v phase process to clean your credit by auditing the credit bureaus and creditors