Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
facebook plugin validation
Did anybody manage to validate facebook’s like plugin?
The code I get is
<iframe src="http://www.facebook.com/plugins/likebox.php?id=1234&width=292&connections=10&stream=true&header=true&height=587" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:587px;" allowTransparency="true"></iframe>
and it totally breaks the validation.
Any ideas?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: facebook plugin validation
That depends on your doctype. If you are using HTML4 or XHTML in strict mode then, yes, it does break the validation. That’s because the extra frame attributes do not exists in strict mode, just in framesets and transitional. Either just remove the frame attributes (expect for the valid ones), change your doctype or don’t care about it.
Offline
Re: facebook plugin validation
I switched to XHTML 1.0 Transitional
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: facebook plugin validation
thanks guys transitional it will be then:)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: facebook plugin validation
I’ve used the FBML method on my site as I did not want an iFrame on the page at all, and that pretty much breaks any validation due to the <fb:> tags.
It seems Facebook don’t care much about web standards. Works fine though!
Offline
Re: facebook plugin validation
philwareham wrote:
I’ve used the FBML method on my site as I did not want an iFrame on the page at all, and that pretty much breaks any validation due to the <fb:> tags.
The fb:tag-method also uses iframe. The only difference is that it’s placed to the page with JavaScript to the position you placed the fb tag.
For example, from the Lovethegarden.com’s resulting source:
<fb:like class=" fb_edge_widget_with_comment fb_iframe_widget" href="http://www.lovethegarden.com/blog/blooming-marvellous" layout="button_count" show_faces="false" width="100" font="verdana"><span><iframe src="http://www.facebook.com/plugins/like.php?api_key=139717392725225&channel_url=http%3A%2F%2Fstatic.ak.fbcdn.net%2Fconnect%2Fxd_proxy.php%23cb%3Df1f1a77e9034fda%26origin%3Dhttp%253A%252F%252Fwww.lovethegarden.com%252Ff91dc9b28279ba%26relation%3Dparent.parent%26transport%3Dpostmessage&font=verdana&href=http%3A%2F%2Fwww.lovethegarden.com%2Fblog%2Fblooming-marvellous&layout=button_count&locale=en_US&node_type=link&sdk=joey&show_faces=false&width=100" class="fb_ltr" style="border: medium none; overflow: hidden; height: 20px; width: 100px;" name="f288a3e61e9437c" id="f136ecdea8458d"></iframe></span></fb:like>
Last edited by Gocom (2010-08-25 14:16:39)
Offline
Pages: 1