구조화된 데이터 모델에서:
게시물(Posts)은 주제 페이지(topic-page)에 있는 객체이며, 현재 id 태그로 식별됩니다. 그런 다음 페이지의 canonical-url을 사용하여 identifier를 생성합니다 – 또한 다음을 참조하세요:
identifier:
https://meta.discourse.org/t/feedback-on-new-hamburger-and-user-menus/post_123
identifier는 이 경우와 같이 JSON-LD용 IRI인 URL 타입일 수 있습니다. 이 (자동 생성된) URL은 게시물의 canonical url과 일치할 필요는 없으며, 고유하기만 하면 됩니다.
identifier를 canonical url의 특정 값으로 설정하면 고유성이 보장되며 해가 되지 않아야 합니다.
한 단계 더 나아가: canonical url을 게시물의 url 속성으로 추가합니다..
크롤러 뷰: 게시물이 있는 주제 페이지
현재 상태:
<div id="post_123"
itemscope="" itemtype="http://schema.org/DiscussionForumPosting"
class="topic-body crawler-post">
<div class="crawler-post-meta">
[…]
itemid 속성을 통해 canonical-url을 identifier로 사용하고 url 속성을 설정하는 경우…
<div id="post_123"
itemid="https://meta.discourse.org/t/feedback-on-new-hamburger-and-user-menus/32519?page=6#post_123"
itemscope="" itemtype="http://schema.org/DiscussionForumPosting"
class="topic-body crawler-post">
<div class="crawler-post-meta">
<link itemprop="url" href="https://meta.discourse.org/t/feedback-on-new-hamburger-and-user-menus/32519?page=6#post_121">
[…]
… 결과는 다음과 같습니다: https://search.google.com/test/rich-results/result?id=_k2xr2Uf2tCLTReR69-SLg&hl=en

