<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d15927334\x26blogName\x3dDigg+Blog\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dSILVER\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://diggtheblog.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttps://diggtheblog.blogspot.com/\x26vt\x3d-6319384242488551612', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

digg blog

Integrating Digg Within Your Website

With today's latest code push we have enabled two new methods for integrating digg directly within your website:

-Submit To Digg
The easiest way to get your articles on digg is to encourage your visitors to submit their favorite stories directly to digg. Up until this point many sites have linked directly to the URL submission page. While this works, it is now possible to take it one step further by pre-populating the submission form with a title, description, and topic.

Click here to download the URL submission specifications and icon pack.

-Digg Story Button
Once your story has been successfully submitted you can now display the number of diggs and allow users to digg your content directly by using the following syntax:

digg_url = 'URLOFSTORY';
<script src="http://digg.com/api/diggthis.js"></script>

Expect to see further enhancements to both of these tools with the upcoming release of our API.

Digg on,