织梦熊掌号推送百度规则文章页面底部文件

网站建设 2022-07-27 08:13www.1681989.com免费网站
文章页代码如下 scriptsrc= https://xiongzhang.baidu./sdk/c.js?appid=id /script scriptsrc= //msite.baidu./sdk/c.js?appid=id /script lkrel= canonical href= {dede:global.cfg_bdhost/}{dede:fieldname=arcurl/} scripttype= application/ld+json { @context : https: […]



文章页代码如下


<script src="https://xiongzhang.baidu./sdk/c.js?appid=id"></script>
<script src="//msite.baidu./sdk/c.js?appid=id"></script>
<lk rel="canonical" href="{dede:global.cfg_bdhost/}{dede:field name='arcurl'/}">  
 <script type="application/ld+json">
        {
            "@context""https://ziyuan.baidu./contexts/cambrian.jsonld",
            "@id""{dede:global.cfg_sjbdhost/}{dede:field name='arcurl'/}",
            "appid""",
            "title":"{dede:field.title/}",
            "images":["{dede:field.litpic runphp='yes'}
                 $base=$GLOBALS['cfg_basehost'];
                @me = (strpos(@me, 'defaultpic') ? "" : "$base.@me");{/dede:field.litpic}"],
            "pubDate""{dede:field.pubdate function='strftime("%Y-%m-%dT%H:%M:%S",@me)'  /}"
        }
    </script>
 

列表页代码


<script src="https://xiongzhang.baidu./sdk/c.js?appid=id"></script>
<script src="//msite.baidu./sdk/c.js?appid=id"></script> 
<lk rel="canonical" href="{dede:global.cfg_bdhost/}{dede:type row=1}[field:typelk /]{/dede:type}">  
 <script type="application/ld+json">
        {
            "@context""https://ziyuan.baidu./contexts/cambrian.jsonld",
            "@id""{dede:global.cfg_sjbdhost/}{dede:type row=1}[field:typelk /]{/dede:type}",
            "appid""",
            "title":"{dede:field.title/}",
            "images":[{dede:arclist row="3" flag="p"}"[field:array runphp='yes']$base=$GLOBALS['cfg_basehost'];@me=(strpos(@me['litpic'],'defaultpic')?'':"".$base.@me['litpic']."");[/field:array]"[field:global name='autodex'runphp='yes']if(@me<3){@me=",";}else{@me='';}[/field:global]{/dede:arclist}],
            "pubDate": {dede:arclist row=1}"[field:pubdate function='strftime("%Y-%m-%dT%H:%M:%S",@me)'  /]"{/dede:arclist}}
    </script>
 

 

首页代码


 <script src="https://xiongzhang.baidu./sdk/c.js?appid=id"></script>
    <script src="//msite.baidu./sdk/c.js?appid=id"></script>
    <lk rel="canonical" href="{dede:global.cfg_bdhost/}">  
     <script type="application/ld+json">
        {
            "@context""https://ziyuan.baidu./contexts/cambrian.jsonld",
            "@id""{dede:global.cfg_sjbdhost/}",
            "appid""",
            "title":"{dede:global.cfg_webname/}",
            "images":[{dede:arclist row="3" flag="p" typeid="" channelid='1'}"[field:array runphp='yes']$base=$GLOBALS['cfg_basehost'];@me=(strpos(@me['litpic'],'defaultpic')?'':"".$base.@me['litpic']."");[/field:array]"[field:global name='autodex'runphp='yes']if(@me<3){@me=",";}else{@me='';}[/field:global]{/dede:arclist}],
            "pubDate": {dede:arclist row=1 typeid=""}"[field:pubdate function='strftime("%Y-%m-%dT%H:%M:%S",@me)'  /]"{/dede:arclist}}
    </script>
 


Copyright © 2016-2025 www.1681989.com 推火网 版权所有 Power by