百度熊掌号添加帝国cms内容页JSON_LD数据示例模板
来源:师说
作者:
2020-05-06
在线校验工具审核通过:
JavaScript Code复制内容到剪贴板
- <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": [
- "https://www.pc07.com[!--titlepic--]",
- "https://www.pc07.com/images/logo.png",
- "https://www.pc07.com/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>