帝国cms内容页J添加百度熊掌号SON_LD数据方法_帝国cms教程-大众资源网

帝国cms内容页J添加百度熊掌号SON_LD数据方法

<link rel="canonical" href="[!--titleurl--]" />
<script type="application/ld+json">
    {
        "@context": "https://ziyuan.baidu.com/contexts/cambrian.jsonld",
        "@id": "[!--titleurl--]",
        "appid": "1585197816243468",
        "title": "[!--title--]",
        "images": ["http://www.11dz.cn[!--titlepic--]", "2022/04/https://www.11dz.cn/storage/2022/04/1651328574-d9a099404bd8d5c.png", "2022/04/https://www.11dz.cn/storage/2022/04/1651328574-d9a099404bd8d5c.png"],
        "description": "[!--smalltext--]",
        "pubDate": "<?=date("Y",$navinfor['newstime'])?>-<?=date("m",$navinfor['newstime'])?>-<?=date("d",$navinfor['newstime'])?>T<?=date("H",$navinfor['newstime'])?>:<?=date("i",$navinfor['newstime'])?>:<?=date("s",$navinfor['newstime'])?>"
    }
</script>

这个东西据说可以减少网站缩略图出图率,增加收录于,不知道是不是真的

发表评论