2012-10-05 7 views
0

내 사이트에 몇 가지 마이크로 포맷을 추가하려고하고 구글 구조화 된 데이터 테스트 도구를 사용하여 테스트하고 있습니다에게 사용하는 나에게마이크로 포맷

경고를주고있다 방법 : 나타내고 itemtype 인식되지 않습니다.

정상적인 구문은 무엇입니까?

<div class="vote-message" itemscope itemtype="http://data-vocabulary.org/Rating"> 
    <span itemprop="value"> 
    <span itemprop="bestRating"> 
     5.0/<strong>5</strong> 
    </span> 
    Bewertung (<span itemprop="ratingValue">3</span> Stimmen) 
    </span> 
</div> 
+1

** microformats **가 아닌 ** microdata **를 사용 중입니다. 그에 따라 귀하의 질문을 편집합니다. – unor

답변

4

http://data-vocabulary.org를 닫았 및 http://schema.org/로 대체 되었기 때문에; itemtype 속성의 값을 itemtype="http://schema.org/AggregateRating"으로 대체하면 경고가 사라지고 구조화 된 데이터 도구에서 추출 된 구조화 된 데이터를 볼 수 있습니다.