Digg Digg
Not W3 compliant? (1 post)

  1. TourAbsurd
    Posted 4 years ago #

    Hope mkyong will be able to answer this one. :)

    When I run my site through http://validator.w3.org/ I get a number of errors from Digg Digg. Here are a few examples:

    - cannot generate system identifier for general entity "locale" (…2F%2Fwww.tourabsurd.com%2Ffrommers%2F&locale=en_US&layout=button_count&action=…; "An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs". ")

    - general entity "locale" not defined and no default entity (cascade effect from the apersands)

    - reference not terminated by REFC delimiter (cascade effect from the apersands)

    - reference to entity "locale" for which no system identifier could be generated (cascade effect from the apersands)

    - reference not terminated by REFC delimiter (cascade effect from the apersands)

    Actually, that and several others all come from one line, so it's probably all related to the ampersands. Here's the line/script:

    <script type="text/javascript"> jQuery(document).ready(function($) { window.setTimeout('loadFBLike_1384765861()',1000);window.setTimeout('loadGoogle1_1384765861()',1000);window.setTimeout('loadTweetMeme_1384765861()',1000); }); </script><script type="text/javascript"> function loadFBLike_1384765861(){ jQuery(document).ready(function($) { $('.dd-fblike-1384765861').remove();$('.DD_FBLIKE_AJAX_1384765861').attr('width','92');$('.DD_FBLIKE_AJAX_1384765861').attr('height','20');$('.DD_FBLIKE_AJAX_1384765861').attr('src','http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.tourabsurd.com%2Ffrommers%2F&locale=en_US&layout=button_count&action=like&width=92&height=20&colorscheme=light'); }); } function loadGoogle1_1384765861(){ jQuery(document).ready(function($) { $('.dd-google1-1384765861').remove();$.getScript('https://apis.google.com/js/plusone.js'); }); } function loadTweetMeme_1384765861(){ jQuery(document).ready(function($) { $('.dd-tweetmeme-1384765861').remove();$('.DD_TWEETMEME_AJAX_1384765861').attr('width','90');$('.DD_TWEETMEME_AJAX_1384765861').attr('height','20');$('.DD_TWEETMEME_AJAX_1384765861').attr('src','http://api.tweetmeme.com/button.js?url=http://www.tourabsurd.com/frommers/&source=tourabsurd&style=compact&service=su.pr&service_api=1f01efd15a191a7d1597f7512dc2b2b6'); }); }</script>

    Honestly, I'm not a coder, and some of the other errors that I thought were Digg Digg related now look like they might be from Shareaholic. Since this is all tucked into the Digg Digg tags, however, I'm really hoping it's something you can fix. If it's something I need to do on my end, would you point me in the right direction?

    Thanks very much!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Digg Digg
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic