• Home
  • New Entries
  • Popular Entries
  • Submit a Story
  • About

Digg Integration for WordPress ...

Last night I did a bit of modding to my site (to my blog theme). For yesterday’s Dell Mini 9 post I was interested in tracking my traffic. I was also interested in using that subject to generate as much traffic as possible. So today and tomorrow I’m posting about two wordpress plugins that I added, tomorrow’s is to help get an idea of traffic, and today’s is to add the Digg icon to a post - which you see here to the right.

The reason I’m calling these ‘mods’ is that they were a little more difficult to install than a regular wordpress plugin and each required me to edit (modify) code.

In searching for a way to integrate Digg into my WordPress theme I first found a couple of plugins which will automatically add the icon to every post in your blog.  Then I found this article which basically says that WordPress already supports it and that all you have to do is add a [digg=...] tag. Well, after about 20 minutes of trying I realized that there is a difference between WordPress.com and WordPress.org.  My blog is a WordPress.org site, meaning that I’m using their free software and it is hosted on my own server, not the WordPress.com servers.  Therefore, the Digg integration mentioned in that article didn’t apply to me because I didn’t have any plugins to support it.


Digg This

As I said, one of the plugins I found puts a Digg icon on every post in your blog. I guess it depends on how you view things, but I would rather have the ability to add a Digg whenever I feel that it’s appropriate. Not all of my posts are Digg worthy. HM2K.com has a plugin called Digg This which emulates the WordPress.com functionality so that you can use a Digg tag for integration on your WordPress.org site. It also allows you to add a digg icon that refers to a different article.  So if you’re posting about another article you can digg theirs instead of yours.

The problem is that HM2K doesn’t supply a link to the actual plugin. Instead they supply the source code, and give instructions on how to copy and paste it into your own PHP file and install it.  I followed these directions but their source code, because it’s on a web page, had non-standard quote marks and symbols which caused the plugin to crash.  I’ve since fixed it all and have posted an easier to install version of the Digg This plugin on my site for easy access.  Since HM2K is the actual author, if they come out of the woodworks I’ll comply with whatever. But for now I’ve posted it for your convenience.

UPDATE 12/3/08 - HM2K has finally posted it on their site and asked me to take down my version which I’ll gladly do. The above link now just takes you to the HM2K site - if you scroll down you’ll see the link.

To use it download the plugin, unzip it and place it in your wordpress plugin directory (ie: /home/user/public_html/wordpress/wp-content/plugins/). Then log into the wp-admin area, and activate it under the plugins section.

To use it simply put a [digg=....] tag somewhere in your post, where …. is replaced with a link to the actual digg post.  Then you’re good to go.  In this post the digg tag looks like this:

It can become a chicken and egg dellima because your Digg can’t be done until after your post is written, and you can’t add the digg tag to your post until after you’ve Digged it.  Just write the post, Digg it, wait about 5 min for the digg to post, copy the URI for the digg page, then go back and edit your post and add in the digg tag.

 Original Source:
http://www.tomorrowland.com/2008/11/11/digg-integration-for-wordpress/

AddThis Social Bookmark Button

Posted at 10:15:19 am | Permalink | Posted in Digg  

Related Stuff

Google Buzz Button Wordpress Plugin Released

If you are looking for a Google Buzz button to add into your Wordpress site then we have released the first Wordpress plugin exclusively ...

Plug And Play Ecommerce With Wordpress Plugins

Since 2003 Wordpress has slowly been gaining popularity amongst the elite of the internet, the bloggers. It is one of those few things ...

Add Google Search to Your WordPress Blog

The native WordPress search does not return very relevant results, thus it makes a lot of sense to add Google Search into your WordPress ...

Add More Sidebars to Your WordPress Theme

You can add more than one sidebar section to your WordPress site. For example, with the stc-intermountain.org site, I added a whole bunch ...

Series Posting in Wordpress

In my functions.php file, I have some code which implements series posting. This relies on the thematic ...

Top Stuff

Free Blogger templates Anime Themes

Wordpress Guestbook Generator Plugin

48 Unique Ways To Use WordPress

GeekLog

WordPress Single Post Templates

Get The Image WordPress Plugin



About Webloglines

Webloglines is a project offers a comprehensive collection of blogging services, articles, themes and plugins from around the world. Whether you're looking to promote your own blog or find blogs on various topics, this site is for you.


Search


Topics

  • Adsense (12)
  • Blogging Tips (73)
  • Blogs Slides (25)
  • Blogs Websites (22)
  • Digg (20)
  • How to Blog (129)
  • Search Engines (9)
  • SEO (135)
  • WordPress Plugins (269)
  • WordPress Security (75)
  • Wordpress Themes (99)
  • Wordpress Tips (162)

© 2006 www.webloglines.com. All Rights Reserved. Powered by IRange