{"id":2933,"date":"2019-09-02T22:01:41","date_gmt":"2019-09-02T14:01:41","guid":{"rendered":"https:\/\/www.baishitou.cn\/?p=2933"},"modified":"2019-09-02T22:01:41","modified_gmt":"2019-09-02T14:01:41","slug":"%e7%bb%87%e6%a2%a6dedecms%e7%86%8a%e6%8e%8c%e5%8f%b7json-ld%e7%bb%93%e6%9e%84%e5%8c%96%e6%95%b0%e6%8d%ae%e4%bb%a3%e7%a0%81%e5%88%86%e4%ba%ab","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/2933.html","title":{"rendered":"\u7ec7\u68a6DEDECMS\u718a\u638c\u53f7JSON LD\u7ed3\u6784\u5316\u6570\u636e\u4ee3\u7801\u5206\u4eab"},"content":{"rendered":"

\u7ec7\u68a6DEDECMS\u718a\u638c\u53f7JSON LD\u7ed3\u6784\u5316\u6570\u636e\u4ee3\u7801\u5206\u4eab<\/p>\n

\u6548\u679c\uff1a<\/p>\n

\"\"<\/a><\/p>\n

\u6ce8\u610f\uff1a@id<\/code>\u91cc\u9762\u7684\u5730\u5740\u5fc5\u987b\u662f\u81ea\u9002\u5e94\u7f51\u7ad9\u6216\u8005\u624b\u673a\u7ad9\uff0cpc\u7aef\u94fe\u63a5\u662f\u4e0d\u652f\u6301\uff01<\/p>\n

\u767e\u5ea6\u5b98\u65b9JSON-LD\u793a\u4f8b\uff1a<\/p>\n

<script type=\"application\/ld+json\">\r\n    {\r\n        \"@context\": \"https:\/\/ziyuan.baidu.com\/contexts\/cambrian.jsonld\",\r\n        \"@id\": \"https:\/\/ziyuan.baidu.com\/college\/articleinfo?id=1464\",\r\n        \"appid\": \"1582926961485115\",\r\n        \"title\": \"\u767e\u5ea6\u79fb\u52a8\u641c\u7d22\u843d\u5730\u9875\u4f53\u9a8c\u767d\u76ae\u4e66\u2014\u2014\u5e7f\u544a\u7bc72.0\",\r\n        \"images\": [\r\n            \"https:\/\/ss0.bdstatic.com\/5aV1bjqh_Q23odCf\/static\/superman\/img\/logo\/bd_logo1_31bdc765.png\",\r\n            \"https:\/\/ss0.bdstatic.com\/5aV1bjqh_Q23odCf\/static\/superman\/img\/logo_top_ca79a146.png\",\r\n            \"https:\/\/m.baidu.com\/static\/index\/plus\/plus_logo.png\"\r\n            ],\r\n        \"description\": \"\u4f18\u8d28\u5408\u7406\u7684\u5e7f\u544a\u4f5c\u4e3a\u4fe1\u606f\u7684\u8865\u5145\uff0c\u5e7f\u53d7\u7528\u6237\u559c\u6b22\u30022017\u5e74\u521d\u767e\u5ea6\u7528\u6237\u4f53\u9a8c\u90e8\u9488\u5bf9\u7528\u6237\u8fdb\u884c\u4e86\u6ee1\u610f\u5ea6\u8c03\u7814\uff0c\u53d1\u73b0\u5f88\u591a\u6076\u610f\u4f4e\u8d28\u7684\u5e7f\u544a\u4e25\u91cd\u7834\u574f\u7740\u7528\u6237\u7684\u641c\u7d22\u4f53\u9a8c\u3002\",\r\n        \"pubDate\": \"2017-06-15T08:00:01\"\r\n    }\r\n<\/script><\/code><\/pre>\n

\u7ec7\u68a6DEDECMS\u718a\u638c\u53f7JSON LD\u7ed3\u6784\u5316\u6570\u636e\u4ee3\u7801\u5206\u4eab<\/p>\n

\u6587\u7ae0\u5185\u5bb9\u9875\u8c03\u7528\u4ee3\u7801\uff1a<\/p>\n

<script type=\"application\/ld+json\"> {\r\n  \"@context\": \"https:\/\/ziyuan.baidu.com\/contexts\/cambrian.jsonld\",\r\n  \"@id\": \"{dede:global.cfg_basehost\/}{dede:geturl runphp='yes'}\r\n@me = GetCurUrl();\r\n{\/dede:geturl}\",\r\n  \"appid\": \"\u4f60\u7684\u718a\u638c\u53f7ID\",\r\n  \"title\": \"{dede:field.title\/}\",\r\n  \"images\": [\r\n  \"{dede:global.cfg_basehost\/}{dede:field.litpic\/}\"\r\n   ], \r\n  \"description\":\"{dede:field.description function=html2text(@me)\/}\",\r\n  \"pubDate\":\"{dede:field.pubdate function=\"MyDate('Y-m-d\\TH:i:s',@me)\"\/}\",\r\n  \"Update\":\"{dede:field.pubdate function=\"MyDate('Y-m-d\\TH:i:s',@me)\"\/}\"\r\n  }\r\n  <\/script><\/code><\/pre>\n

\u9996\u9875\u8c03\u7528\u4ee3\u7801\uff1a<\/p>\n

<script type=\"application\/ld+json\"> {\r\n  \"@context\": \"https:\/\/ziyuan.baidu.com\/contexts\/cambrian.jsonld\",\r\n  \"@id\": \"{dede:global.cfg_basehost\/}\",\r\n  \"appid\": \"\u4f60\u7684\u718a\u638c\u53f7ID\",\r\n  \"title\": \"{dede:global.cfg_webname\/}\",\r\n  \"images\": [\r\n  \"https:\/\/www.xycn.org\/style\/images\/logo.png\"\r\n   ], \r\n   \"description\":\"{dede:global.cfg_description\/}\",\r\n  \"pubDate\": \"{dede:tagname runphp='yes'}@me = date(\"Y-m-d\\TH:i:s\", time());{\/dede:tagname}\"\r\n  }\r\n  <\/script><\/code><\/pre>\n

 <\/p>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

\u7ec7\u68a6DEDECMS\u718a\u638c\u53f7JSON LD\u7ed3\u6784\u5316\u6570\u636e\u4ee3\u7801\u5206\u4eab \u6548\u679c\uff1a \u6ce8\u610f\uff1a@id\u91cc\u9762\u7684\u5730\u5740\u5fc5\u987b\u662f\u81ea\u9002\u5e94\u7f51\u7ad9\u6216\u8005\u624b […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[43,1025,180,1027],"class_list":["post-2933","post","type-post","status-publish","format-standard","hentry","category-web","tag-dedecms","tag-1025","tag-180","tag-1027"],"_links":{"self":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/2933","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/comments?post=2933"}],"version-history":[{"count":0,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/2933\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/media?parent=2933"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/categories?post=2933"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/tags?post=2933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}