ItemList内の構造化データ/マイクロデータ を「シンプルな」ListItem にリファクタリング

Discourse では、さまざまな場所で ListItem を持つマイクロデータ ItemList が使用されています。

これらの ListItem の一部は、実際のオブジェクトへの参照/リンクにすぎず、それ自体ではオブジェクトを表していません。ItemList を参照してください。

  • クローラー表示: カテゴリ表示 → 「topic-list」
  • クローラー表示: トピック表示 → 最初の投稿 → 「crawler-linkback-list」

これらの ListItem は単なる参照であるため、囲んでいる ItemList を「概要」と呼ぶことができます。
「概要」について、Google は「単純な」リストの使用を推奨しています。

参照: Carousel (ItemList) Structured Data | Google Search Central  |  Documentation  |  Google for Developers

Google は、より多くのプロパティを持つ「複雑な」ListItem を、それ自体がオブジェクトとして認識する可能性があります。これにより、リストページに新しいオブジェクトが導入され、元のオブジェクト(-URL)への参照のみではなくなります。


例: クローラー表示: カテゴリ表示 → 「topic-list」

「複雑な」リスト - 現在の状態

<div itemscope="" itemtype="http://schema.org/ItemList">
  <meta itemprop="itemListOrder" content="http://schema.org/ItemListOrderDescending">
  <table class="topic-list">
    [...]
    <tbody class="topic-list-body">
        [...]
        <tr class="topic-list-item">
          <td class="main-link topic-list-data" itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
            <meta itemprop="name" content="Remove wrong structured data from every subpage – add &quot;Sitelinks Search Box&quot; to the homepage only">
            <meta itemprop="url" content="https://meta.discourse.org/t/remove-wrong-structured-data-from-every-subpage-add-sitelinks-search-box-to-the-homepage-only/219299">
              <meta itemprop="image" content="https://d11a6trkgmumsb.cloudfront.net/optimized/3X/6/8/68d84f5836ecc992fe21d08e05225eb57e47da38_2_1024x778.png">
            <meta itemprop="position" content="2">
            [...]
        </tr>
        [...]
    </tbody>
  </table>
</div>

「単純な」リスト - 疑似コード

<div itemscope="" itemtype="http://schema.org/ItemList">
  <table class="topic-list">
    [...]
    <tbody class="topic-list-body">
        [...]
        <tr class="topic-list-item">
          <td class="main-link topic-list-data" itemscope="" itemtype="http://schema.org/ListItem">
            <meta itemprop="url" content="https://meta.discourse.org/t/remove-wrong-structured-data-from-every-subpage-add-sitelinks-search-box-to-the-homepage-only/219299">
            <meta itemprop="position" content="2">
            [...]
        </tr>
        [...]
    </tbody>
  </table>
</div>
「いいね!」 2

喜んで改善にご協力させていただきます。PRをお待ちしております。

「いいね!」 1

Crawler-View の PR: Category-View → “topic-list”

「いいね!」 1

Crawler-View のための PR: Topic-View → 最初の投稿 → “crawler-linkback-list”


現在の状態 - https://search.google.com/test/rich-results/result?id=rZ2rScT4qsLi5K8uwJDtUQ&hl=en を参照

PR 適用後 - https://search.google.com/test/rich-results/result?id=lJrsyBggKH6Cx5FPH65rXg&hl=en を参照

Google は実際のタイプ DiscussionForumPosting - Schema.org Type を親タイプ Article にリソートします。
ThingCreativeWorkArticleSocialMediaPostingDiscussionForumPosting

「不足している」18 個の Articles は実際には Articles への参照のみであり、新しい Carousel にリストされています。
例: Kanban Board を参照

「いいね!」 1