帝国cms内容页J添加百度熊掌号SON_LD数据方法
2020-08-28 站长 站长日志
帝国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.14334.com/d/file/rizhi/logo.png", "https://www.14334.com/d/file/rizhi/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>
这个东西据说可以增加网站缩略图出图率,增加收录,不知道是不是真的