|
落地页时间因子规范调用代码(帝国_织梦)
帝国调用代码:
- <!-- 百度落地页时间因子开始 -->
- <script type="application/ld+json">
- {
- "@context":"https://ziyuan.baidu.com/contexts/cambrian.jsonld",
- "@id":"[!--titleurl--]",
- "appid":"否",
- "title":"[!--pagetitle--]",
- "images":["[!--titlepic--]"],
- "description":'[!--pagedes--]',
- "pubDate":"<?=date('Y-m-d',$navinfor[newstime])?>T<?=date('H:i:s',$navinfor[newstime])?>",
- "upDate":"<?=date('Y-m-d',$navinfor[newstime])?>T<?=date('H:i:s',$navinfor[newstime])?>",
- }
- </script>
- <!-- 百度落地页时间因子结束 -->
复制代码 织梦调用代码:
- <!-- 百度落地页时间因子开始 -->
- <script type="application/ld+json">
- {
- "@context":"https://ziyuan.baidu.com/contexts/cambrian.jsonld",
- "@id":"{dede:field name='arcurl'/}",
- "appid":"否",
- "title":"{dede:field.title/}",
- "images":["{dede:field.picname/}"],
- "description":'{dede:field.description function='html2text(@me)'/}',
- "pubDate":"{dede:field.senddate function="MyDate('Y-m-d\TH:i:s',@me)"/}",
- "upDate":"{dede:field.pubdate function="MyDate('Y-m-d\TH:i:s',@me)"/}",
- }
- </script>
- <!-- 百度落地页时间因子结束 -->
复制代码
百度搜索落地页时间因子规范:http://www.sheepyc.com/thread-448-1-1.html
|
|