使用Schema.org获取没有图像属性的文章? [英] Use Schema.org for Article without image property?

查看:146
本文介绍了使用Schema.org获取没有图像属性的文章?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的项目中实现了Schema.org,我添加了 Article 部分,但我们没有 image 所以它显示错误

I have implemented Schema.org in my project, I have added Article section but we did not have image so it shows an error


图像字段的值是必需的。

A value for the image field is required.

如何修复此错误,是否有任何使用文章的解决方案,不含图像部分?

How can I fix this error and is there any solution for using Article without image section?

推荐答案

如果您没有图像,则不能(并且您不应该)修复它。

If you don’t have an image, you can’t (and you are not supposed to) fix it.

使用Schema.org时这不是错误。这只是意味着您没有获得 Google的文章搜索功能,需要图片:

This is not an error with your use of Schema.org. It just means that you don’t get Google’s Article search feature, which needs an image:


文章的代表性图片。只应指定直接属于文章的标记图像。

The representative image of the article. Only a marked-up image that directly belongs to the article should be specified.

理想情况下,Google会将其标记为信息/警告,而不是他们的SDTT错误。

Ideally Google would mark it as info/warning instead of error in their SDTT.

这篇关于使用Schema.org获取没有图像属性的文章?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆