Getting “AddThis” share button to validate…
-
A question for those experienced using AddThis.
So I am using a standard AddThis button on my wordpress site (as below) and I get to validation errors as follows: there is no attribute “addthis:url” AND there is no attribute “addthis:title” .
From reading their boards they say that you need to add: <html xmlns=”http://www.w3.org/1999/xhtml” xmlns:addthis=”http://www.addthis.com/help/api-spec”> at top.
This will be “techinically” (their word) valid xhtml. However, they say that still don’t expect W3C to validate because the valdator does not take into account/recognize “custom namespaces.”
Is this true? If I use “AddThis” I need to just live with these two errors, which they say aren’t really errors? It’s a bit annoying as it’s the only two errors I get.
Standard Add this button as below:
<!– AddThis Button BEGIN –>
<div><div class=”addthis_toolbox addthis_default_style”>
Share
<span class=”addthis_separator”>|</span>
</div>
<script type=”text/javascript” src=”http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4b93e5845331bf71″></script></div>
<!– AddThis Button END –>
The topic ‘Getting “AddThis” share button to validate…’ is closed to new replies.