views:

302

answers:

2

Hi, I would like to know if the opengraph markup is W3C valid, I'm getting the following error when I try to validate it:

Line 14, Column 17: there is no attribute "PROPERTY"
 <meta property="og:site_name" content="sitename">

In case it's not valid, will it impact my pagerank and other search engines algo?

Is it possible to cloak those properties?

+1  A: 

No, it isn't. That is why the validator reports an error.

David Dorward
+4  A: 

It's not valid in the normal HTML doctypes, but there is a doctype you can use to validate XHTML documents including Open Graph:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"&gt;

See this question: http://stackoverflow.com/questions/2704942/html-validation-error-for-property-attribute

bobince