Index: trunk/extensions/OpenGraphMeta/OpenGraphMeta.php |
— | — | @@ -92,9 +92,9 @@ |
93 | 93 | $meta["fb:admins"] = $egFacebookAdmins; |
94 | 94 | |
95 | 95 | foreach( $meta as $property => $value ) { |
96 | | - if ( $value ){ |
97 | | - $out->addMeta("property:$property", $value ); |
98 | | - } |
| 96 | + if ( $value ) |
| 97 | + //$out->addMeta($property, $value ); // FB wants property= instead of name= blech, is that even valid html? |
| 98 | + $out->addHeadItem("meta:property:$property", " ".Html::element( 'meta', array( 'property' => $property, 'content' => $value ) )."\n"); |
99 | 99 | } |
100 | 100 | |
101 | 101 | return true; |