帝国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.ynceyi.com/d/file/img/logo.png", "https://www.ynceyi.com/d/file/img/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>
这个东西据说可以增加网站缩略图出图率,增加收录,不知道是不是真的
本文转载自:精准像素:11px.cn ,感谢作者分享实用知识