帝国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--]", "https://www.11px.cn/images/logo.png", "https://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>
这个东西据说可以增加网站缩略图出图率,增加收录,不知道是不是真的
资源均来自第三方,谨慎下载,前往第三方网站下载