1

additionalType プロパティについて質問があります。2つのことを知りたいです。まず、これらの両方の例で正しくコーディングしていますか。次に、それを使用せず、代わりに各インスタンスで異なるタイプを使用する方がよいでしょう。たとえば、ローカル ビジネス情報はページごとに少なくとも 4 回繰り返され、毎回異なるタイプを使用できます。提供されているサービスの説明と同じです。どんなアドバイスでも大歓迎です。

<section itemscope itemtype="http://schema.org/LocalBusiness">
    <link itemprop="additionalType" href="http://schema.org/SportsActivityLocation"/>
    <link itemprop="additionalType" href="http://schema.org/ExerciseGym"/>
    <header>
        <h5 class="Bold DarkBlue TextCenter MyriadFont"><span class="DarkRed" itemprop="telephone">Call 201-230-2036</span><br />
        </header>
        <span itemprop="name">Martial Arts School Name</span><br />
        <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
            <span itemprop="streetAddress">24 Bortker Street</span>
            <span itemprop="addressLocality">Brentwood</span>,
            <span itemprop="addressRegion">Ca</span>
            <span itemprop="postalCode">07565</span>
        </div>
    </h5>
    <br />
    <br />
</section>

<section itemscope itemtype="http://schema.org/LeisureTimeActivity">
    <link itemprop="additionalType" href="http://schema.org/AnaerobicActivity"/>
    <link itemprop="additionalType" href="http://schema.org/StrengthTraining"/>
    <header>
        <h5 itemprop="BusinessFunction" class="DarkBlue MyriadFont">Try These Martial Arts Programs FREE for 30 Days:</h5>
    </header>
    <br />
    <div class="TextNormal" style="padding-left:50px;">
        <hgroup>
            <h1 class="Bold" itemprop="BusinessFunction" >Gracie Brazilian Jiu-Jitsu</h1>
            <p>Learn the single most effective self-defense system on Earth (and the official hand-to-hand combat system of the U.S. Military) from a Gracie-trained Black Belt with multiple champion titles ... Click Here For The Best <a itemprop="URL" href="//www.martialarts.com/brazilian-jiujitsu.html" class="Bold DarkRed"><u> BJJ In Broter County CA</u></a></p>
            <br /><br />
        </hgroup>
    </div>
</section>
4

1 に答える 1

0

additionalType の使用方法については、スキーマのネストを参照してください。基本的に itemtype のように機能します。

于 2013-10-16T18:18:26.863 に答える