问题描述
我坚持在“ datePublished”和“ dateModified”中动态添加Schema数据结构
我不知道如何使其动态化,因为我为其中的所有内容添加了一个类别
这是我正在使用的标记。有人可以帮我吗?非常感谢
{
"@context": "https://schema.org","@type": "Article","mainEntityOfPage": {
"@type": "WebPage","@id": "https://aaaa.com"
},"headline": "{CONTENT.title}","image": "https://aaaa.com","datePublished": "{CONTENT.published_time}","dateModified": "{CONTENT.modified_time}","author": {
"@type": "Organization","name": "Something"
},"publisher": {
"@type": "Organization","name": "Something","logo": {
"@type": "ImageObject","url": "http://aaa.com/logo.jpg"
}
}
}
</script>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)