Google 微数据,快速指引。
最后结果图:即:
测试工具网址:http://www.google.com/webmasters/tools/richsnippets?
我们以第一个为例,做简要论述:
参照参数网址:http://www.data-vocabulary.org/Person/
name
(fn
)Name.nickname
Nickname.photo
An image link.title
The person’s title (for example, Financial Manager).role
The person’s role (for example, Accountant).url
Link to a web page, such as the person’s home page.affiliation
(org
)The name of an organization with which the person is associated (for example, an employer). If fn
and org
have the exact same value, Google will interpret the information as referring to a business or organization, not a person.friend
Identifies a social relationship between the person described and another person.contact
Identifies a social relationship between the person described and another person.acquaintance
Identifies a social relationship between the person described and another person.address
(adr
)The location of the person. Can have the subproperties street-address
, locality
, region
, postal-code
, and country-name
.<div itemscope itemtype="http://schema.org/Restaurant"> <span itemprop="name">GreatFood</span> <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> <span itemprop="ratingValue">4</span> stars - based on <span itemprop="reviewCount">250</span> reviews </div> Price Range: <span itemprop="priceRange">$$</span> Takes Reservations: Yes</div>