[Plugin: Facebook Page Publish] W3C Validation
-
This code in my header causes a number of W3C critical and minor errors:
<meta property=”og:type” content=”article”/><meta property=”og:url” content=”http://killerbeemarketing.com/”/><meta property=”og:title” content=”Welcome”/><meta property=”og:description” content=”cheri”/><meta property=”og:image” content=”http://killerbeemarketing.com/wp-content/plugins/facebook-page-publish/line.png”/><link rel=”stylesheet” type=”text/css” href=”http://killerbeemarketing.com/wp-content/plugins/social-media-widget/social_widget.css” />The critical errors are created due to Facebook’s code being non compliant with W3C. the minor error is at the end of each statement their needs to be a space between ” and />.
I have found I can but the code in the body statement like this:
<div xmlns:og=”http://opengraphprotocol.org/schema/” style=”display:none;”> <![CDATA[ <!–OpenGraph section–>
<meta property=”og:type” content=”article” />
<meta property=”og:url” content=”http://killerbeemarketing.com/” />
<meta property=”og:title” content=”Welcome” />
<meta property=”og:description” content=”cheri” />
<meta property=”og:image” content=”http://killerbeemarketing.com/wp-content/plugins/facebook-page-publish/line.png” />
]]> </div>
Manually and I do not get the critical or minor errors as above, but I get 1 minor error <![CDATA[
I am not a php guru at all and have not figured out in the plug in where I can remove the first commands from the header and really test to make sure it still sends. I know this will have to be done on the pages and post templates as it will no longer automatically be laced in the header for everything.Can you help me?
Mike
- The topic ‘[Plugin: Facebook Page Publish] W3C Validation’ is closed to new replies.