내 웹 사이트에 Schema.org 구조화 된 데이터를 구현하려고합니다. 내 페이지 중 하나에서 사용자가 관광 명소 (예 : 비엔나의 성 슈테판 대성당)를 평가하고 검토 할 수있는 가능성이 있습니다. 이제 구조화 된 데이터로 HTML을 향상시키고 자합니다. 테스트 구조화 된 데이터에 대한 구글 웹 마스터 도구 (https://www.google.com/webmasters/tools/richsnippets가) 나에게 다음과 같은 오류 메시지를 제공하는 것이, 지금Schema.org의 유효성이 확인되지 않았습니다. "항목에 대한 여러 리뷰가 포함 된 것으로 보이지만 종합적인 리뷰 정보는 없습니다."
<!doctype html>
<html lang="de">
<head></head>
<body itemscope itemtype="http://schema.org/WebPage">
<div itemscope itemtype="http://schema.org/Place">
<article class="boxy-full">
<div>
<div class="rating" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating" title="Rating: 4.50/5 <br># Ratings: 10">
<meta itemprop="ratingValue" content="4.50"/>
<meta itemprop="bestRating" content="5"/>
<meta itemprop="ratingCount" content="10"/>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star-empty"></i>
</div>
</div>
<h1 itemprop="name">Vienna - St. Stephan's Cathedral</h1>
<div class="ccheader">
<meta itemprop="image" content="/myimg.jpg"/>
<img src="/myimg.jpg" alt="St. Stephan's Cathedral"/>
</div>
<div class="content">
<p>Here comes some text to describe the Place...</p>
</div>
</article>
<div class="boxy-full">
<h2>User-Bewertungen</h2>
<article class="blueblock" itemscope itemtype="http://schema.org/Review">
<div class="pull-right" itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
<meta itemprop="ratingValue" content="5"/>
<meta itemprop="bestRating" content="5"/>
<meta itemprop="worstRating" content="1">
<div class="rating" title="Rating: 5/5" data-placement="bottom">
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
</div>
</div>
<meta itemprop="itemreviewed" content="Stephansdom in Wien">
<h3 itemprop="name">Review 1 Title</h3>
<div class="co" itemprop="reviewBody">
Here comes some review text...
</div>
<footer class="small">Created by Gastuser, on 19.01.2015
<meta itemprop="datePublished" content="2015-01-19">
</footer>
</article>
<article class="blueblock" itemscope itemtype="http://schema.org/Review">
<div class="pull-right" itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
<meta itemprop="ratingValue" content="5"/>
<meta itemprop="bestRating" content="5"/>
<meta itemprop="worstRating" content="1">
<div class="rating" title="Rating: 5/5" data-placement="bottom">
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
</div>
</div>
<meta itemprop="itemreviewed" content="Stephansdom in Wien">
<h3 itemprop="name">Review 1 Title</h3>
<div class="co" itemprop="reviewBody">
Here comes some review text...
</div>
<footer class="small">Created by Gastuser, on 19.01.2015
<meta itemprop="datePublished" content="2015-01-19">
</footer>
</article>
</div>
</div>
</body>
</html>
내 문제 : 다음
은 ( http://pastebin.com/u8YZtrpW 볼도) 그것의 예제 코드입니다이 데이터에는 항목에 대한 여러 리뷰가 포함되어 있지만 종합적인 리뷰 정보는 포함되어 있지 않기 때문에 리치 스 니펫이 생성되지 않습니다.
그러나 점수 표가 합산되어 있습니다. 내가 뭘 잘못하고 있니? 외에도 구글이 Review
항목에 대한보고 싶은 author
property에서
, 아무 관련 오류 또는 경고가보고되지 : 구글의 old SDTT 보고서이 있지만, 자신의 new SDTT하지 않는이 왜
괜찮 았어, 내 질문은 downvoted지만, 그것은 downvoted, 왜 내가 질문을 향상시킬 수 있습니다 언급하는 것이 좋을 것이다. 나는 schema.org 문서를 읽었고, Google testtool을 사용했고, 코드에 URL을 게시했습니다. 질문에 뭐가 잘못 되었나요? – bernhardh
그것이 downvotes의 이유인지 모르겠지만 질문에이 오류를 제공하는 코드의 [minimal] (http://stackoverflow.com/help/mcve) 예제를 포함해야합니다. 그렇지 않으면 페이지의 코드가 변경되거나 페이지가 404가되면이 질문은 다른 사용자에게는 유용하지 않습니다. – unor
의견을 보내 주셔서 감사합니다. 완전하지만 코드 예제와 붙여 넣기 링크를 정리했습니다. – bernhardh