Drupal 7 对';第27条;Drupal中的结构化数据
我的问题不限于drupal CMS。 我正在通过在我网站的每一篇“文章”中添加结构化数据来改进SEO。 我不明白为什么“谷歌结构化数据测试工具”不能验证这种ldjson对象。。。 有人能帮我吗 提前谢谢Drupal 7 对';第27条;Drupal中的结构化数据,drupal-7,structured-data,Drupal 7,Structured Data,我的问题不限于drupal CMS。 我正在通过在我网站的每一篇“文章”中添加结构化数据来改进SEO。 我不明白为什么“谷歌结构化数据测试工具”不能验证这种ldjson对象。。。 有人能帮我吗 提前谢谢 <script type="application/ld+json">{ "@context":"http://schema.org/", "@type":"Article", "articleBody":"azea", "speakable":{
<script type="application/ld+json">{
"@context":"http://schema.org/",
"@type":"Article",
"articleBody":"azea",
"speakable":{
"@type":"SpeakableSpecification",
"cssSelector":[
"p"
]
},
"accessMode":[
"textual",
"visual"
],
"accessModeSufficient":[
"textual",
"visual"
],
"accessibilityControl":[
"fullKeyboardControl",
"fullMouseControl"
],
"backstory":"Test Workflow 01",
"dateCreated":"2019-10-08",
"dateModified":"2019-10-15",
"headline":"Test Workflow 01 Redacteur AABis",
"inLanguage":{
"@type":"Language",
"name":"French",
"alternateName":"fr"
},
"isAccessibleForFree":true,
"isFamilyFriendly":true,
"producer":{
"@type":"Organization",
"name":"TEST"
},
"author":{
"@type":"Organization",
"name":"TEST"
},
"provider":{
"@type":"Organization",
"name":"TEST"
},
"publisher":{
"@type":"Organization",
"name":"TEST",
"logo":"https://test.fr/sites/default/files/logo.png"
},
"mainEntityOfPage":"/node/xxx",
"sourceOrganization":{
"@type":"Organization",
"name":"TEST"
},
"text":"azea",
"articleSection":"TEST",
"keywords":"Test Workflow 01",
"datePublished":"2019-10-08",
"thumbnailUrl":"https://test.fr/sites/default/files/drupal/201906/image/logo_connect_3.png",
"image":"https://test.fr/sites/default/files/drupal/201906/image/logo_connect_3.png"
}</script>
{
“@context”:”http://schema.org/",
“@type”:“Article”,
“条款体”:“阿塞拜疆”,
“可说出”:{
“@type”:“SpeakableSpecification”,
“CSS选择器”:[
“p”
]
},
“访问模式”:[
“文本”,
“视觉”
],
“访问模式足够”:[
“文本”,
“视觉”
],
“访问控制”:[
“全键盘控制”,
“fullMouseControl”
],
“后台故事”:“测试工作流01”,
“创建日期”:“2019-10-08”,
“修改日期”:“2019-10-15”,
“标题”:“测试工作流程01修订版AABis”,
“inLanguage”:{
“@type”:“语言”,
“名称”:“法语”,
“替代名称”:“fr”
},
“isAccessibleForFree”:正确,
“家庭友好”:没错,
“制作人”:{
“@type”:“组织”,
“名称”:“测试”
},
“作者”:{
“@type”:“组织”,
“名称”:“测试”
},
“提供者”:{
“@type”:“组织”,
“名称”:“测试”
},
“出版商”:{
“@type”:“组织”,
“名称”:“测试”,
“徽标”:https://test.fr/sites/default/files/logo.png"
},
“maintentityof页面”:“/node/xxx”,
“sourceOrganization”:{
“@type”:“组织”,
“名称”:“测试”
},
“文本”:“阿塞拜疆”,
“条款部分”:“测试”,
“关键字”:“测试工作流01”,
“发布日期”:“2019-10-08”,
“缩略图URL”:https://test.fr/sites/default/files/drupal/201906/image/logo_connect_3.png",
“图像”:https://test.fr/sites/default/files/drupal/201906/image/logo_connect_3.png"
}
更多…
我不使用drupal模块,只使用自定义模块上的自定义代码。
具体错误在“发布者对象”上,请参见下图。
再次感谢你
您会遇到哪种错误?请将您的问题包括在内。您是否使用drupal来使用JSON LD结构?这是我想的第一步。谢谢你的回答,我用更多的信息编辑了我的帖子。我已经发布了所有的数据,以便直接测试