当我使用结构化数据测试工具来检查我的博客的结构化数据时,我得到了关于日期和标题的博客发布错误。
此代码中的日期发布错误
<abbr class='published updated' itemprop='datePublished' title='2015-07-06T07:12:00-07:00'>以及此代码中缺少标题和必需的错误
<article class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>我在谷歌上搜索了很多,但没有找到任何解决方案,所以请在这个错误中帮助我。
发布于 2015-07-27 00:14:41
同样的事情也发生在我身上,这似乎是一个测试工具的错误,回顾一下Article-specific usage guidelines and policies。我记不起确切的数据了,但谷歌在今年早些时候更新了结构化数据文档。Google不支持丰富代码片段的文章类型。
在过去,你可以优化你的网站的深度文章功能。为了优化网站,Google推荐标记文章类型和推荐标记以下属性(不一定是必需的)
随着新文档的发布,文章类型得到支持,并且需要以下属性: headline、image和datePublished。
发布于 2015-08-30 21:37:43
将title属性更改为content属性
<abbr class='published updated' itemprop='datePublished' title='2015-07-06T07:12:00-07:00'>
<abbr class='published updated' itemprop='datePublished' content='2015-07-06T07:12:00-07:00'>https://stackoverflow.com/questions/31549422
复制相似问题