帝国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.11px.cn[!--titlepic--]", "http://www.11px.cn/images/logo.png", "http://www.11px.cn/images/logo.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>这个东西据说可以增加网站缩略图出图率,增加收录,不知道是不是真的
版权声明: 本站资源均来自互联网或会员发布,如果侵犯了您的权益请与我们联系,我们将在24小时内删除!谢谢!
转载请注明: 帝国cms内容页J添加百度熊掌号SON_LD数据方法