Facebook like buttom and html5 validation - Joomla! Forum - community, help and support


hello all,
i using facebook article bar plugin , working quite in website.
all works ok website won't validate on w3c http://validator.w3.org/, errors like:

"element plugin not allowed child of element div in context"
"element name fb:like cannot represented xml 1.0."
"end tag div seen, there open elements."
"unclosed element plugin."


i tried edit fbar.php file <fb:like> code included inserting <script> , document.write stuff suggested in many blogs white page when edit part of code:

code: select all

   $url .= "<div class=\"".$class_pre."_like\">";
               $url .= "<script src=\"http://connect.facebook.net/".$lang_tag."/all.js#xfbml=1\"></script><fb:like href=\"".$curl."\" send=\"".$send_button."\" layout=\"".$like_layout."\" width=\"".$like_width."\" action=\"".$like_action."\" colorscheme=\"".$colorscheme."\" showfaces=\"false\"></fb:like>";
               $url .= "</div>";


i know should input fix code can validate page think important google ranking , users experience well. important seo? people says no...
the features using makes impossible change , apply other newer extension using facebook , twitter button, blog view, replace from/to, among other stuff no other plugin offers @ same time.
hope can give me light on problem.
regards,

fd

is important seo? people says no


in fact nobody except search engine programmes can right answer. of people "no" has logical background. there many different parameters , attributes inside html code not valid in validators such attributes , parameters people , robots in many ways - if human or robot gets more features , features see/display/search/... website better, should seo. if limit site validation rules, maybe skip lot of features have positive impact on seo, in fact can say: limiting features of website because of validator rules not seo friendly :idea: hard decide way better.

jan





Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

trim media limit reached