我想创建一个关于我的页面,并让它在谷歌搜索结果上显示片段,例如 Linkedin 所做的(我的意思是关于个人资料人员的位置、工作等的浅灰色字符串)
我尝试使用模式“人”创建一些页面,但页面不显示片段......我使用了他们网站上的示例模式人代码:https ://schema.org/Person#eg-1 (微数据),只改变了一些小东西,比如名字等:
<div itemscope itemtype="http://schema.org/Person">
<span itemprop="name">Jane Doe</span>
<img src="janedoe.jpg" itemprop="image" alt="Photo of Jane Joe" />
<span itemprop="jobTitle">Professor</span>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">
20341 Whitworth Institute
405 N. Whitworth
</span>
<span itemprop="addressLocality">Seattle</span>,
<span itemprop="addressRegion">WA</span>
<span itemprop="postalCode">98052</span>
</div>
<span itemprop="telephone">(425) 123-4567</span>
<a href="mailto:jane-doe@xyz.edu" itemprop="email">
jane-doe@xyz.edu</a> Jane's home page:
<a href="http://www.janedoe.com" itemprop="url">janedoe.com</a> Graduate students:
<a href="http://www.xyz.edu/students/alicejones.html" itemprop="colleague">
Alice Jones</a>
<a href="http://www.xyz.edu/students/bobsmith.html" itemprop="colleague">
Bob Smith</a>
</div>
但他们没有显示任何浅灰色的字符串......
从理论上讲,如果我复制显示这些丰富片段的某些页面的源代码,我应该能够在我的页面上也有这些片段:但我认为如果我也这样做,在我的网站上拥有完全相同的代码,他们将不起作用,也许还有其他我不知道的东西?