By now, most people who regularly browse the web know of the popular social news service, Digg. Additionally, many of you may have already integrated it into your own blog to allow your readers to easily submit an article to Digg. One form of integration that Digg have released is the "Digg Button" where you see the button with the number of Diggs, and the link to digg the article as it would appear on a normal digg.com page. The problem with using this though is that it will not actually validate due to not the use of the IFRAME, but the markup and the remotely linked page. For an example, validate the URL in the following link: "Understanding Apache htaccess" and you will find that it is poorly marked up with for and li that isn't closed, a span that is closed but never opened, etc. The following is an example of the code it generates.
<form action="/digremote" id="f1"
name="f1" method="post" target="_top">
<input type="hidden" name="digcheck"
value="dbb857956fdc7e7a603fbc14f5cd5c1b" />
<input type="hidden" name="id" value="610715" />
<div class="news-summary"
style="position: absolute; top: 0; left: 0; margin: 0; padding: 0">
<ul class="news-digg"
style="position: absolute; top: 0; left: 0; margin: 0; padding: 0">
<li class="digg-count shade-4" id="main1">
<a id="diggs1" target="_top"
href="/linux_unix/Understanding_Apache_htaccess">
<strong id="diggs-strong-1">16</strong> diggs
</span>
</li>
<li class="digg-it" id="diglink1"><a href="javascript:null()"
onclick="$(f1).submit()" target="_top">dugg!</a></li>
</ul>
</div>
</form>
This would be so quick and easy for Digg to fix - let's hope they do it soon.














Nice site. Thank you.