1

ブレッドクラムの構造化データの実装を検証しているときに、奇妙なエラーが発生します。

パンくずリストのコードは次のとおりです。

<header class="breadcrumbs">
    <div xmlns:v="http://rdf.data-vocabulary.org/#">
       <span typeof="v:Breadcrumb">
        <a class="breadcrumbs" href="#" rel="v:url" property="v:title">All Copenhagen Apartments</a> <i class="fa fa-angle-right"></i> 
       </span>
       <span typeof="v:Breadcrumb">
        <a class="breadcrumbs" href="#" rel="v:url" property="v:title">2 bedroom apartments</a> <i class="fa fa-angle-right"></i> 
       </span>
       <span typeof="v:Breadcrumb">
        <a class="breadcrumbs" href="#" rel="v:url" property="v:title">Vanløse</a> <i class="fa fa-angle-right"></i> 
       </span>
       <span typeof="v:Breadcrumb">
        <a class="breadcrumbs" href="#" rel="v:url" property="v:title"><b>Villa Vanløse apartment</b></a>
       </span>
    </div>
</header>

これ は、Google の構造化データ テスト ツールのエラーへのリンクです。

私が得ているエラーはこれです:

url [Unspecified type]:

is not a known valid target type for the http://rdf.data-vocabulary.org/#url property.

スクリーンショットには、頭にある OpenGraph プロトコル ( OGP)の実装への参照もあります。

<meta property="og:title" content="Copenhagen apartment with balcony and garden"/>
<meta property="og:url" content="http://www.all-copenhagen-apartments.com/villa-vanloese-apartment-cph15/"/>
<meta property="og:image" content="http://www.all-copenhagen-apartments.com/galleri/15/01.jpg"/>
<meta property="og:type" content="product"/>
<meta property="og:site_name" content="all-copenhagen-apartments.com"/>

パンくずリストのコードだけを検証しようとすると、問題がないように見えますが、パンくずリストのコードとヘッダーの OGP コードの間に問題が発生する理由がわかりません。

4

1 に答える 1