2012-05-05 7 views
0

私のページにはogメタタグのセットがあります。グラフのタグを開く - タイプ=場所。確認していません

Meta Tag <meta property="og:type" content="landmark" /> 
Meta Tag <meta property="og:locale" content="en_GB" /> 
Meta Tag <meta property="og:latitude" content="51.5410881042" /> 
Meta Tag <meta property="og:longitude" content="-0.145712554455" /> 
Meta Tag <meta property="og:locality" content="London" /> 
Meta Tag <meta property="og:region" content="Greater London" /> 
Meta Tag <meta property="og:postal-code" content="NW1 7HY" /> 
Meta Tag <meta property="og:country-name" content="United Kingdom" /> 

をしかし、のオブジェクトのプロパティを返します:私はFacebookのデバッガに移動し、それにURLを与えた場合には、報告

OG:タイプのウェブサイト

をしてから文句:

Extraneous Property Objects of this type do not allow properties named 'og:latitude'. 
Extraneous Property Objects of this type do not allow properties named 'og:longitude'. 
Extraneous Property Objects of this type do not allow properties named 'og:locality'. 
Extraneous Property Objects of this type do not allow properties named 'og:region'. 
Extraneous Property Objects of this type do not allow properties named 'og:postal-code'. 
Extraneous Property Objects of this type do not allow properties named 'og:country-name'. 

"beercan"のように、愚かなog:typeを入れた場合、無効なogタイプとして報告されます。したがって、Landmarkは有効なタイプとして認識されますが、無視されます(そして、ウェブサイトとみなされます)。

誰でも何が起こっているかを知っています。

+0

facebookがog:type landmarkを下げたようです。これが本当なら誰でも確認できますか? Facebookのドキュメントはかなり役に立たない。 –

答えて

0

オープングラフプロトコル(http://ogp.me/ns)のrdfを見てみましたが、上記のすべてのタグには[DEPRECIATED]で始まるコメントが付いています。もともと含まれていたタグや、他のオントロジーで定義されていたタグもすべて減価償却されているようです。例えば。緯度はhttp://www.w3.org/2003/01/geo/wgs84_pos#latで定義されています。 'og:upc'オブジェクトを見つけようとしているときにこの問題に遭遇しました。これは現在も償却されています。

関連する問題