Структурированные данные тем: все посты объявлены как "mainEntityOfPage"

В модели структурированных данных должен быть объявлен только один объект как mainEntity / mainEntityOfPage.
См. «mainEntity» — Справочная информация — Модель данных — schema.org

В настоящее время каждый отдельный пост объявляется как mainEntityOfPage.

Google воспринимает каждую страницу (= URL) как отдельный контекст. Таким образом, для каждого URL можно объявить один пост как mainEntity, например:

  • https://DOMAIN/t/SLUG/43: основной объект — #post_1
  • https://DOMAIN/t/SLUG/43?page=2: основной объект — один из #post_10#post_19
  • https://DOMAIN/t/SLUG/43?page=3: основной объект — один из #post_20#post_29
  • […]

Также см. обсуждение по schema.org о «пагинации ItemLists» и Google: pagination for ItemList · Issue #1714 · schemaorg/schemaorg · GitHub

  • pagination for ItemList · Issue #1714 · schemaorg/schemaorg · GitHub
  • pagination for ItemList · Issue #1714 · schemaorg/schemaorg · GitHub

Вышеприведённый фрагмент из документации разработчика Google может быть устаревшим, так как в настоящее время он отсутствует: General Structured Data Guidelines | Google Search Central  |  Documentation  |  Google for Developers

Разве это не связано с использованием: DiscussionForumPosting - Schema.org Type

Мы используем это для каждого отдельного поста, но похоже, что следует применять его только для первого поста, а для остальных — Comment - Schema.org Type.

Таким образом, мы избавимся от повторяющихся заголовков, пагинации и всего остального, что не подходит для нашей задачи.

Возможно, Google не придаёт особого значения таким подтипам, как DiscussionForumPosting, и вместо этого сопоставляет их с родительским типом Article.
С такой точки зрения Discourse может выглядеть как блог, состоящий из Article и Comment.

Другой вариант — сделать связи между DiscussionForumPosting более ясными:
например, используя about - Schema.org Property, чтобы указать родительский пост внутри каждого ответа.

post_1 (mainEntityOfPage)
|
+-- post_2 (about post_1)
|
+-- post_3 (about post_1)
|   |
|   + post_4 (about post_3)
|   + post_6 (about post_3)
|
+ post_5 (about post_1)

Существует обсуждение о том, как использовать DiscussionForumPosting:

Одна из точек зрения — см.: We have DiscussionForumPosting but no DiscussionForum... · Issue #125 · schemaorg/suggestions-questions-brainstorming · GitHub

Описание DisccussionForumPosting гласит: «Постинг на форуме обсуждений».

Типичный форум состоит из категорий. Категории содержат форумы, а форумы — темы. Тема содержит одну или несколько постов на форуме.

Описание, похоже, указывает на то, что эта схема предназначена для отдельного поста на форуме, но пример, по-видимому, показывает, что она относится к теме, которая может содержать несколько постов от разных авторов.

Я наткнулся на работающую модель структурированных данных (то есть Google формирует расширенные сниппеты) для постов на форумах в дикой природе: XenForo

Мобильный вид Google SERP

Десктопный вид Google SERP

Технические детали

например, https://www.audiosciencereview.com/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/

Сильно сокращённый HTML-код:

<!DOCTYPE html>
<html>
    <head>
        <title>Наушники и целевая кривая Harman | Форум Audio Science Review (ASR)</title>
        […]
    </head>
    <body>
        <script type="application/ld+json">
            {
                "@context": "https://schema.org",
                "@type": "DiscussionForumPosting",
                "@id": "https://audiosciencereview.com/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/",
                "headline": "Наушники и целевая кривая Harman",
                "articleBody": "Недавно я начал экспериментировать с эквализацией (EQ) своих наушников (APO+Peace). Я уже некоторое время работаю над этим с двумя своими наушниками: Hifiman Ananda и Denon AH-D7200. С обоими из них мне кажется, что целевой профиль Harman звучит как...",
                "articleSection": "Обзоры наушников и усилителей для наушников",
                "author": {
                    "@type": "Person",
                    "name": "spittiz"
                },
                "datePublished": "2020-11-27T20:59:17+00:00",
                "dateModified": "2022-11-14T12:49:45+00:00",
                "image": "https://audiosciencereview.com/forum/data/avatars/h/6/6175.jpg?1606506178",
                "interactionStatistic": {
                    "@type": "InteractionCounter",
                    "interactionType": "https://schema.org/ReplyAction",
                    "userInteractionCount": 353
                },
                "publisher": {
                    "@type": "Organization",
                    "name": "Форум Audio Science Review (ASR)",
                    "logo": {
                        "@type": "ImageObject",
                        "url": "https://www.audiosciencereview.com/forum%20resources/Two-line%20ASR%20Logo-new.png"
                    }
                },
                "mainEntityOfPage": {
                    "@type": "WebPage",
                    "@id": "https://audiosciencereview.com/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/"
                }
            }
        </script>

        <h1>Наушники и целевая кривая Harman</h1>

        <ul>
            <li>
                <a href="/forum/index.php?members/spittiz.6175/" itemprop="name">spittiz</a>
            </li>
            <li>
                <a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/">
                    <time datetime="2020-11-27T20:59:17+0000" title="27 нояб. 2020 г. в 20:59">27 нояб. 2020</time>
                </a>
            </li>
        </ul>

        <nav>
            <ul>
                <li><a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/">1</a></li>
                […]
                <li><a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/page-18">18</a></li>
            </ul>
        </nav>

        <!-- Первый пост темы -->
        <article id="js-post-582475">
            <section itemscope itemtype="https://schema.org/Person"></section>
            <header>
                <time datetime="2020-11-27T20:59:17+0000" title="27 нояб. 2020 г. в 20:59" itemprop="datePublished">27 нояб. 2020</time>
            </header>
            <article>
                [текст поста]
            </article>
        </article>

        <!-- Первый ответ -->
        <article id="js-post-582631">
            <section itemscope itemtype="https://schema.org/Person">[…]</section>
            <header>
                <time datetime="2020-11-28T01:50:59+0000" title="28 нояб. 2020 г. в 01:50" itemprop="datePublished">28 нояб. 2020</time>
            </header>
            <article>
                <blockquote>
                    [текст цитаты]
                </blockquote>
                [текст поста]
            </article>
            <time datetime="2020-11-28T02:03:35+0000" title="28 нояб. 2020 г. в 02:03" itemprop="dateModified">28 нояб. 2020</time>
        </article>

        <article id="js-post-582634">[…]</article>

        […]

        <article id="js-post-584460">[…]</article>

        <article id="js-post-584505">[…]</article>
    </body>
</html>
Сокращённый исходный HTML (нажмите, чтобы открыть)
<!DOCTYPE html>
<html>
    <head>
        <title>Наушники и целевая кривая Harman | Форум Audio Science Review (ASR)</title>

        <meta name="description" content="Недавно я начал экспериментировать с эквализацией (EQ) своих наушников (APO+Peace). Я уже некоторое время работаю над этим с двумя своими наушниками: Hifiman Ananda и..." />
        <meta property="og:description" content="Недавно я начал экспериментировать с эквализацией (EQ) своих наушников (APO+Peace). Я уже некоторое время работаю над этим с двумя своими наушниками: Hifiman Ananda и Denon AH-D7200. С обоими из них мне кажется, что целевой профиль Harman звучит как отстой. Особенно с Ananda это похоже на то, как будто..." />
        <meta property="twitter:description" content="Недавно я начал экспериментировать с эквализацией (EQ) своих наушников (APO+Peace). Я уже некоторое время работаю над этим с двумя своими наушниками: Hifiman Ananda и Denon AH-D7200. С обоими из них..." />

        <meta property="og:url" content="https://audiosciencereview.com/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/" />
        <link rel="canonical" href="https://audiosciencereview.com/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/" />

        <link rel="next" href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/page-2" />

        <meta property="og:site_name" content="Форум Audio Science Review (ASR)" />
        <meta property="og:type" content="website" />
        <meta property="twitter:card" content="summary" />

        <meta property="og:title" content="Наушники и целевая кривая Harman" />
        <meta property="twitter:title" content="Наушники и целевая кривая Harman" />

        <meta property="og:image" content="https://www.audiosciencereview.com/forum%20resources/Two-line%20ASR%20Logo-new.png" />
        <meta property="twitter:image" content="https://www.audiosciencereview.com/forum%20resources/Two-line%20ASR%20Logo-new.png" />

    </head>
    <body>
        <script type="application/ld+json">
            {
                "@context": "https://schema.org",
                "@type": "DiscussionForumPosting",
                "@id": "https://audiosciencereview.com/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/",
                "headline": "Наушники и целевая кривая Harman",
                "articleBody": "Недавно я начал экспериментировать с эквализацией (EQ) своих наушников (APO+Peace). Я уже некоторое время работаю над этим с двумя своими наушниками: Hifiman Ananda и Denon AH-D7200. С обоими из них мне кажется, что целевой профиль Harman звучит как...",
                "articleSection": "Обзоры наушников и усилителей для наушников",
                "author": {
                    "@type": "Person",
                    "name": "spittiz"
                },
                "datePublished": "2020-11-27T20:59:17+00:00",
                "dateModified": "2022-11-14T12:49:45+00:00",
                "image": "https://audiosciencereview.com/forum/data/avatars/h/6/6175.jpg?1606506178",
                "interactionStatistic": {
                    "@type": "InteractionCounter",
                    "interactionType": "https://schema.org/ReplyAction",
                    "userInteractionCount": 353
                },
                "publisher": {
                    "@type": "Organization",
                    "name": "Форум Audio Science Review (ASR)",
                    "logo": {
                        "@type": "ImageObject",
                        "url": "https://www.audiosciencereview.com/forum%20resources/Two-line%20ASR%20Logo-new.png"
                    }
                },
                "mainEntityOfPage": {
                    "@type": "WebPage",
                    "@id": "https://audiosciencereview.com/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/"
                }
            }
        </script>

        <header>
            […]
        </header>

        <nav>
            <ul itemscope itemtype="https://schema.org/BreadcrumbList">
                <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
                    <a href="/forum/index.php" itemprop="item">
                    <span itemprop="name">Форумы</span>
                    </a>
                    <meta itemprop="position" content="1" />
                </li>
                <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
                    <a href="/forum/index.php#audio-audio-audio.40" itemprop="item">
                    <span itemprop="name">Аудио, аудио, аудио!</span>
                    </a>
                    <meta itemprop="position" content="2" />
                </li>
                <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
                    <a href="/forum/index.php?forums/headphones-and-headphone-amplifier-reviews.57/" itemprop="item">
                    <span itemprop="name">Обзоры наушников и усилителей для наушников</span>
                    </a>
                    <meta itemprop="position" content="3" />
                </li>
            </ul>
        </nav>

        <h1>Наушники и целевая кривая Harman</h1>

        <ul>
            <li>
                <a href="/forum/index.php?members/spittiz.6175/" itemprop="name">spittiz</a>
            </li>
            <li>
                <a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/"><time datetime="2020-11-27T20:59:17+0000" title="27 нояб. 2020 г. в 20:59">27 нояб. 2020</time></a>
            </li>
        </ul>

        <nav>
            <ul>
                <li><a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/">1</a></li>
                <li><a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/page-2">2</a></li>
                <li><a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/page-3">3</a></li>
                <li><a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/page-18">18</a></li>
            </ul>
        </nav>

        <article id="js-post-582475">
            <section itemscope itemtype="https://schema.org/Person">
                <a href="/forum/index.php?members/spittiz.6175/">
                <img src="/forum/data/avatars/m/6/6175.jpg?1606506178" alt="spittiz" width="96" height="96" itemprop="image" /> 
                </a>
                <h4><a href="/forum/index.php?members/spittiz.6175/" itemprop="name">spittiz</a></h4>
                <h5 itemprop="jobTitle">Участник</h5>
                <dl>
                    <dt>Присоединился</dt>
                    <dd>7 февр. 2019</dd>
                </dl>
                <dl>
                    <dt>Сообщения</dt>
                    <dd>14</dd>
                </dl>
                <dl>
                    <dt>Лайки</dt>
                    <dd>12</dd>
                </dl>
            </section>
            <header>
                <ul>
                    <li>
                        <a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/post-582475" rel="nofollow">
                        <time datetime="2020-11-27T20:59:17+0000" title="27 нояб. 2020 г. в 20:59" itemprop="datePublished">27 нояб. 2020</time>
                        </a>
                    </li>
                </ul>
                <ul>
                    <li>
                        <a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/post-582475"
                            rel="nofollow">
                        </a>
                    </li>
                    <li>
                        <a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/post-582475" rel="nofollow">
                        #1
                        </a>
                    </li>
                </ul>
            </header>
            <article>
                [текст поста]
            </article>
            <footer>
                <span>Реакции:</span>
                <a href="/forum/index.php?posts/582475/reactions" rel="nofollow"><bdi>tmtomh</bdi>, <bdi>yigitboy</bdi>, <bdi>Frank Dernie</bdi> и ещё 2</a>
            </footer>
        </article>

        <article id="js-post-582631">
            <section itemscope itemtype="https://schema.org/Person">
                <a href="/forum/index.php?members/dreyfus.6150/">
                <img src="/forum/data/avatars/m/6/6150.jpg?1601328956" alt="Dreyfus" width="96" height="96" itemprop="image" /> 
                </a>
                <h4><a href="/forum/index.php?members/dreyfus.6150/" itemprop="name">Dreyfus</a></h4>
                <h5 itemprop="jobTitle">Активный участник</h5>
                <dl>
                    <dt>Присоединился</dt>
                    <dd>7 февр. 2019</dd>
                </dl>
                <dl>
                    <dt>Сообщения</dt>
                    <dd>234</dd>
                </dl>
                <dl>
                    <dt>Лайки</dt>
                    <dd>287</dd>
                </dl>
                <dl>
                    <dt>Местоположение</dt>
                    <dd>
                        <a href="/forum/index.php?misc/location-info&amp;location=Germany" rel="nofollow noreferrer" target="_blank">Германия</a>
                    </dd>
                </dl>
            </section>
            <header>
                <ul>
                    <li>
                        <a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/post-582631" rel="nofollow">
                        <time datetime="2020-11-28T01:50:59+0000" title="28 нояб. 2020 г. в 01:50" itemprop="datePublished">28 нояб. 2020</time>
                        </a>
                    </li>
                </ul>
                <ul>
                    <li>
                        <a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/post-582631"
                            rel="nofollow">
                        </a>
                    </li>
                    <li>
                        <a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/post-582631" rel="nofollow">
                        #2
                        </a>
                    </li>
                </ul>
            </header>
            <article>
                <blockquote>
                    <a href="/forum/index.php?goto/post&amp;id=582475"
                        rel="nofollow">spittiz сказал:</a>
                    [текст цитаты]
                </blockquote>
                [текст поста]
                <blockquote>
                    <a href="/forum/index.php?goto/post&amp;id=582475"
                        rel="nofollow">spittiz сказал:</a>
                    [текст цитаты]
                </blockquote>
                [текст поста]
            </article>
            <time datetime="2020-11-28T02:03:35+0000" title="28 нояб. 2020 г. в 02:03" itemprop="dateModified">28 нояб. 2020</time>
            <footer>
                <span>Реакции:</span>
                <a href="/forum/index.php?posts/582631/reactions" rel="nofollow"><bdi>Presently42</bdi>, <bdi>Ilkless</bdi>, <bdi>oivavoi</bdi> и ещё 3</a>
            </footer>
        </article>

        <article id="js-post-582634">[…]</article>
        […]
        <article id="js-post-584460">[…]</article>

        <article id="js-post-584505">
            <section itemscope itemtype="https://schema.org/Person">
                <a href="/forum/index.php?members/feelas.22359/">
                <img src="/forum/data/avatars/m/22/22359.jpg?1612728223" alt="Feelas" width="96" height="96" itemprop="image" /> 
                </a>
                <h4><a href="/forum/index.php?members/feelas.22359/" itemprop="name">Feelas</a></h4>
                <h5 itemprop="jobTitle">Старший участник</h5>
                <dl>
                    <dt>Присоединился</dt>
                    <dd>20 нояб. 2020</dd>
                </dl>
                <dl>
                    <dt>Сообщения</dt>
                    <dd>376</dd>
                </dl>
                <dl>
                    <dt>Лайки</dt>
                    <dd>307</dd>
                </dl>
            </section>
            <header>
                <ul>
                    <li>
                        <a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/post-584505" rel="nofollow">
                        <time datetime="2020-11-30T08:37:59+0000" title="30 нояб. 2020 г. в 08:37" itemprop="datePublished">30 нояб. 2020</time>
                        </a>
                    </li>
                </ul>
                <ul>
                    <li>
                        <a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/post-584505"
                            rel="nofollow">
                        </a>
                    </li>
                    <li>
                        <a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/post-584505" rel="nofollow">
                        #20
                        </a>
                    </li>
                </ul>
            </header>
            <article>
                <blockquote>
                    <a href="/forum/index.php?goto/post&amp;id=584460"
                        rel="nofollow">Senior NEET Engineer сказал:</a>
                    [цитируемый текст]
                </blockquote>
                [текст поста]
            </article>
            <footer></footer>
        </article>

        <nav>
            <ul>
                <li><a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/">1</a></li>
                <li><a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/page-2">2</a></li>
                <li><a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/page-3">3</a></li>
                <li><a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/page-18">18</a></li>
            </ul>
            <a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/page-2">Далее</a>
            <a href="/forum/index.php?threads/headphones-and-the-harman-target-curve.17914/page-18" title="Последняя"><span>Последняя</span></a>
        </nav>

        <div>
            <h3>Похожие темы</h3>
            <div>
                <div>
                    […]
                    <div>
                        <a href="/forum/index.php?threads/usound-target-curve-for-iems.35086/">Целевая кривая USound для внутриканальных наушников (IEM)</a>
                        <ul>[…]</ul>
                    </div>
                    […]
                </div>
                <div>
                    […]
                    <div>
                        <a href="/forum/index.php?threads/my-hrtf-target-vs-harman-target.36255/">Моя целевая кривая HRTF против целевой кривой Harman</a>
                        <ul>[…]</ul>
                    </div>
                    […]
                </div>
                <div>
                    <a href="/forum/index.php?members/dazerdoreal.52898/">
                    <span role="img">D</span> 
                    </a>
                    <div>
                        <a href="/forum/index.php?threads/the-iem-harman-target-2019-sounds-off-to-me-is-it-just-me.38113/">Целевая кривая Harman для IEM 2019 года звучит для меня «не так». Это только у меня?</a>
                        <ul>
                            <li><a href="/forum/index.php?members/dazerdoreal.52898/" itemprop="name">Dazerdoreal</a></li>
                            <li><a href="/forum/index.php?threads/the-iem-harman-target-2019-sounds-off-to-me-is-it-just-me.38113/" rel="nofollow"><time datetime="2022-10-08T17:06:16+0100" title="8 окт. 2022 г. в 17:06">8 окт. 2022</time></a></li>
                            <li><a href="/forum/index.php?forums/headphone-iem-reviews-discussions.58/">Обзоры и обсуждения наушников и IEM</a></li>
                        </ul>
                        <span>
                        <a href="/forum/index.php?threads/the-iem-harman-target-2019-sounds-off-to-me-is-it-just-me.38113/page-2">2</a>
                        <a href="/forum/index.php?threads/the-iem-harman-target-2019-sounds-off-to-me-is-it-just-me.38113/page-3">3</a>
                        </span>
                    </div>
                    <div title="Оценка реакции на первое сообщение: 1">
                        <dl>
                            <dt>Ответы</dt>
                            <dd>52</dd>
                        </dl>
                        <dl>
                            <dt>Просмотры</dt>
                            <dd>4 тыс.</dd>
                        </dl>
                    </div>
                    <div>
                        <a href="/forum/index.php?threads/the-iem-harman-target-2019-sounds-off-to-me-is-it-just-me.38113/latest" rel="nofollow"><time datetime="2022-11-16T05:05:28+0000" title="16 нояб. 2022 г. в 05:05">Сегодня в 05:05</time></a>
                        <a href="/forum/index.php?members/aperiodic.7528/" itemprop="name">Aperiodic</a>
                    </div>
                    <a href="/forum/index.php?members/aperiodic.7528/">
                    <span role="img">A</span> 
                    </a>
                </div>
                <div>
                    […]
                    <div>
                        <a href="/forum/index.php?threads/sloped-neutral-target-curves-for-headphones-and-iems.36532/">«Наклонные нейтральные» целевые кривые для наушников и IEM?</a>
                        <ul>[…]</ul>
                    </div>
                    […]
                </div>
                <div>
                    […]
                    <div>
                        <a href="/forum/index.php?threads/looking-for-bt-anc-over-ear-with-hardware-eq.36328/">Ищу Bluetooth/ANC наушники накладные с «аппаратным эквалайзером»</a>
                        <ul>[…]</ul>
                    </div>
                    […]
                </div>
            </div>
        </div>

        <ul itemscope itemtype="https://schema.org/BreadcrumbList">
            <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
                <a href="/forum/index.php" itemprop="item">
                <span itemprop="name">Форумы</span>
                </a>
                <meta itemprop="position" content="1" />
            </li>
            <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
                <a href="/forum/index.php#audio-audio-audio.40" itemprop="item">
                <span itemprop="name">Аудио, аудио, аудио!</span>
                </a>
                <meta itemprop="position" content="2" />
            </li>
            <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
                <a href="/forum/index.php?forums/headphones-and-headphone-amplifier-reviews.57/" itemprop="item">
                <span itemprop="name">Обзоры наушников и усилителей для наушников</span>
                </a>
                <meta itemprop="position" content="3" />
            </li>
        </ul>

        <footer>
            […]
        </footer>
    </body>
</html>