我正在使用微数据标记我的网站,并询问自己如何标记文章的列表。
在类别页面上,我有一篇大文章已标记,但我不知道是否也应该标记该列表。
<article itemscope itemtype="http://schema.org/NewsArticle" itemref="author publisher">
<header class="entry-header">
<h3 class="entry-title" itemprop="headline"><a href="/article1" rel="bookmark">article 1/a></h3>
<link itemprop="sameAs mainEntityOfPage" href=/article1">
</header>
<div>
<a href="/article1"><img width="150" height="150" itemprop="image" src="image1.jpg" /></a>
<div class="resume-article-list">bépo bépo bépo … <a href=" /article1" class="more-link">(Lire la suite…)</a></div> </div>
<footer class="entry-meta">
<time itemprop="datePublished" datetime="2018-03-15T04:48:53+00:00">
<time itemprop="dateModified" class="updated" datetime="2018-11-14T13:52:00+00:00"></time>
</footer>
</article>
<article itemscope itemtype="http://schema.org/NewsArticle" itemref="author publisher">
<header class="entry-header">
<h3 class="entry-title" itemprop="headline"><a href="/article2" rel="bookmark">article 2/a></h3>
<link itemprop="sameAs mainEntityOfPage" href=/article2">
</header>
<div>
<a href="/article2"><img width="150" height="150" itemprop="image" src="image1.jpg" /></a>
<div class="resume-article-list">bépo bépo bépo … <a href=" /article2" class="more-link">(Lire la suite…)</a></div> </div>
<footer class="entry-meta">
<time itemprop="datePublished" datetime="2018-03-15T04:48:53+00:00">
<time itemprop="dateModified" class="updated" datetime="2018-11-14T13:52:00+00:00"></time>
</footer>
</article>
这是对的吗?
我有一个很大的疑问如果NewsArticle
可以用在简历上,
如果使用起来没有任何麻烦的话mainEntityOfPage
不是完整的文章吗?
如果您要标记其他页面上存在的内容列表,那么 Google 建议使用仅包含 url 的 ItemList。目标页面应包含有关实体的完整标记:
https://developers.google.com/search/docs/guides/mark-up-listings https://developers.google.com/search/docs/guides/mark-up-listings
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)