我无法rdfa
为具有多个地址和地理位置的聚合评论找出正确的语法。我希望将其提供给 Google 蜘蛛。下面的例子是我到目前为止的例子,但我不确定这是否正确。此外,这只添加了一个地址和地理位置,对于大多数组织,我们有多个地址(每个都有自己的地理位置)。
<div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Review-aggregate">
<span rel="v:itemreviewed">
<span typeof="Organization">
<span property="v:name">Company name</span>
<span rel="v:address">
<span typeof="v:Address">
<span property="v:street-address">1 address</span>,
<span property="v:locality">City</span>,
<span property="v:postalCode">1234 AA</span>.
</span>
</span>
<div property="location">
<span typeof="Place">
<span property="latitude" content="37.4149"></span>
<span property="longitude" content="-122.078"></span>
</span>
</div>
</span>
<a href="http://www.example.com/" rel="v:url">website</a>
<div style="clear:both"></div>
</span >
<span rel="v:rating">
<span typeof="v:Rating">
<span property="v:average" content="5"></span>
<span property="v:best" content="10"></span>
<span property="v:count" content="15"></span>
</span>
</span>
</div>