百度熊掌号添加帝国cms内容页JSON_LD数据示例模板

在线校验工具审核通过:

JavaScript Code复制内容到剪贴板
  1. <link rel="canonical" href="[!--titleurl--]"/>  
  2.  <script type="application/ld+json">  
  3.         {  
  4.             "@context""https://ziyuan.baidu.com/contexts/cambrian.jsonld",  
  5.             "@id""[!--titleurl--]",  
  6.             "appid""1585197816243468",  
  7.             "title""[!--title--]",  
  8.             "images": [  
  9.                 "https://www.pc07.com[!--titlepic--]",  
  10.                 "https://www.pc07.com/images/logo.png",  
  11.                 "https://www.pc07.com/images/logo.png"  
  12.                 ],  
  13.             "description""[!--smalltext--]",  
  14.             "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'])?>"  
  15.         }  
  16.     </script>  
标签:
分享:

相关文章