qzmjef 发表于 2024-8-25 22:00:05

移动网站怎么样快速向百度提交数据


    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">点击关注▲艾奇SEM</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">知识</span></strong></span><span style="color: black;"> | <span style="color: black;">制品</span> | <span style="color: black;">新闻</span> | 职场 | 资源 五大版块</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">从SEM到互联网整合营销</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz/fbac17wmeIFtICQ9bFUUjWfQicqZpYKdIUbO87p9B4P9s6Zc94JasV4Gm5WZ1AMSpibpwWNEUMYJiaZH0AUFOBOLQ/0?wx_fmt=gif&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1" style="width: 50%; margin-bottom: 20px;"></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">源自</span>:百度站长平台</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">本期的培训嘉宾是百度站长社区版主:李松松,2009<span style="color: black;">起始</span>接触互联网,<span style="color: black;">而后</span>就一发不可收拾,做过数百企业站的优化推广工作,垂直行业门户网站、论坛、小说优化推广,<span style="color: black;">日前</span>在职母婴行业。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">这期的课跟上期息息<span style="color: black;">关联</span>,<span style="color: black;">首要</span>回顾一下上期内容,上期院长<span style="color: black;">重点</span>讲了移动建站与选型。随着网民<span style="color: black;">针对</span>移动化趋势的加强,移动端流量获取<span style="color: black;">作为</span>了网站的重中之重。<span style="color: black;">此刻</span>主流的数据提交方式共有以下三种:</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">1,<strong style="color: blue;"><span style="color: black;">转</span>适配</strong>:该<span style="color: black;">办法</span>会利用单独的网址向每种设备<span style="color: black;">供给</span><span style="color: black;">区别</span>的代码。这种配置会尝试检测用户所<span style="color: black;">运用</span>的设备或ua,<span style="color: black;">而后</span><span style="color: black;">运用</span>&nbsp;HTTP&nbsp;重定向和&nbsp;Vary HTTP标头重定向到相应的页面。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">2,<strong style="color: blue;">代码适配</strong>:该<span style="color: black;">办法</span><span style="color: black;">运用</span>相同的网址(不<span style="color: black;">思虑</span>用户所<span style="color: black;">运用</span>的设备),但会<span style="color: black;">按照</span>服务器对用户所用浏览器的<span style="color: black;">认识</span>(ua),针对<span style="color: black;">区别</span>设备类型生成<span style="color: black;">区别</span>版本的HTML。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">3,<strong style="color: blue;">自适应</strong>:<span style="color: black;">经过</span>同一网址<span style="color: black;">供给</span>相同&nbsp;HTML&nbsp;代码的网站设计<span style="color: black;">办法</span>。该<span style="color: black;">办法</span>不<span style="color: black;">思虑</span>用户所<span style="color: black;">运用</span>的设备(pc、平板电脑、移动设备),但<span style="color: black;">能够</span><span style="color: black;">按照</span>屏幕尺寸以<span style="color: black;">区别</span>方式呈现(即适应)<span style="color: black;">表示</span>屏。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">咱们</span><span style="color: black;">晓得</span>,百度<span style="color: black;">发掘</span><span style="color: black;">咱们</span>网站内容的方式有<span style="color: black;">那样</span>几种:</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">1是<span style="color: black;">经过</span>百度蜘蛛自动抓取,这种方式是最传统和原始的方式。这其中当然还<span style="color: black;">能够</span><span style="color: black;">运用</span>robots协议引导蜘蛛到sitemap文件内,使其加速抓取网站内容。<span style="color: black;">不外</span>归根结底,该种方式还是向提示蜘蛛来抓取,<span style="color: black;">详细</span>的抓取<span style="color: black;">咱们</span><span style="color: black;">没法</span>判断。<span style="color: black;">况且</span>还要看蜘蛛<span style="color: black;">针对</span>该站的抓取频率问题。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">2是<span style="color: black;">经过</span>百度站长工具,将数据主动提交给百度,该种方式能有效的<span style="color: black;">加强</span>百度蜘蛛抓取数据的效率,<span style="color: black;">亦</span>是我比较<span style="color: black;">举荐</span>的站长们应该<span style="color: black;">运用</span>的数据提交方式。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">百度站长工具提交数据的方式<span style="color: black;">重点</span>有以下三种,下面<span style="color: black;">咱们</span>就针对移动网站,来讲解一下这三种方式。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">第1</span>种方式:主动推送</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">第二种方式:自动推送</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">第三种方式:sitemap提交</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">1、</span>主动推送</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">主动推送是最为快速的提交方式,将站点当天新产出链接立即<span style="color: black;">经过</span>此方式推送给百度,<span style="color: black;">能够</span><span style="color: black;">保准</span>新链接<span style="color: black;">能够</span><span style="color: black;">即时</span>被百度收录。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">怎样</span><span style="color: black;">运用</span>主动推送功能</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">1、需要网站制作数据推送接口,进入主动推送工具后,会看到接口调用<span style="color: black;">位置</span>的token,token<span style="color: black;">是由于</span>16个英文数字组合的字符串</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><img src="http://mmbiz.qpic.cn/mmbiz_jpg/fbac17wmeIGwP7I8wTPpq1G3BnWlUcSIia7LHxDMGT60YiaY2TOUkDELW5j6s5oibV0L5lbXhzGTM56kr5OAm1CuA/640?wx_fmt=jpeg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">2、下面<span style="color: black;">供给</span><span style="color: black;">有些</span>推送示例</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">1)curl推送示例</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">将要提交的url数据写入一个本地文件,<span style="color: black;">例如</span>urls.txt,<span style="color: black;">每一个</span>url占一行,<span style="color: black;">而后</span>调用curl命令:</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">curl -H Content-Type:text/plain --data-binary @urls.txt</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">"http://data.zz.baidu.com/urls?site=www.example.com&amp;token=edk7yc4rEZP9pDQD"</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">运用</span>php、python、java等<span style="color: black;">能够</span>参照这个过程推送结构化数据。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">2)post推送示例</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">POST /urls?site=www.58.com&amp;token=edk7ychrEZP9pDQD HTTP/1.1</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">User-Agent: curl/7.12.1&nbsp;</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">Host: data.zz.baidu.com&nbsp;</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">Content-Length: 83</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">http://www.example.com/1.html</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">http://www.example.com/2.html</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">3)php推送示例</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">$urls = array(</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">&nbsp; &nbsp; http://www.example.com/1.html,</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">&nbsp; &nbsp; http://www.example.com/2.html,</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">);</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">$api = http://data.zz.baidu.com/urls</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">site=www.58.com&amp;token=edk7ychrEZP9pDQD;</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">$ch = curl_init();</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">$options = &nbsp;array(</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">&nbsp; &nbsp; CURLOPT_URL =&gt; $api,</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">&nbsp; &nbsp; CURLOPT_POST =&gt; true,</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">&nbsp; &nbsp; CURLOPT_RETURNTRANSFER =&gt; true,</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">&nbsp; &nbsp; CURLOPT_POSTFIELDS =&gt; implode("\n", $urls),</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">CURLOPT_HTTPHEADER =&gt; array(Content-Type: text/plain),</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">);</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">curl_setopt_array($ch, $options);</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">$result = curl_exec($ch);</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">echo $result;</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">4)ruby推送示例</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">require net/http</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">urls = </p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">uri = URI.parse(http://data.zz.baidu.com/urls</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">site=www.xxx.com&amp;token=eTk7ychrWZP1pDQD)</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">req = Net::HTTP::Post.new(uri.request_uri)</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">req.body = urls.join("\n")</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">req.content_type = text/plain</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">res = Net::HTTP.start(uri.hostname, uri.port) { |http| http.request(req) }</p>puts res.body

    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">之后,<span style="color: black;">咱们</span>会整理一份文件给<span style="color: black;">大众</span>,<span style="color: black;">大众</span>到时候<span style="color: black;">能够</span><span style="color: black;">按照</span>文件,自己做主动推送代码。</span></p><strong style="color: blue;"><span style="color: black;"><span style="color: black;">2、</span>自动推送</span></strong>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">自动推送是百度站长平台为<span style="color: black;">加强</span>站点新增网页<span style="color: black;">发掘</span>速度推出的工具,安装自动推送JS代码的网页,在页面被<span style="color: black;">拜访</span>时,页面URL将立即被推送给百度。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">JS链接推送代码以网页为最小对象,服务于全平台多终端,PC站和移动站均可<span style="color: black;">运用</span>。</p>安装代码的页面在任意平台(浏览器、<span style="color: black;">微X</span>、<span style="color: black;">博客</span>)被加载时,页面链接会被<span style="color: black;">第1</span>时间推送给百度,从而<span style="color: black;">加强</span>站点新内容的<span style="color: black;">发掘</span>速度。

    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz_png/fbac17wmeIGwP7I8wTPpq1G3BnWlUcSI7Rl3iaehUhed7iadAkPJLpNsIIHVu11HfrwFo5uNiaq2tqTibYEek8Xu4Q/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">&nbsp;<strong style="color: blue;">自动推送代码<span style="color: black;">怎样</span>安装<span style="color: black;">运用</span>?</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">站长需要在<span style="color: black;">每一个</span>页面的HTML代码中<span style="color: black;">包括</span>以下自动推送JS代码:</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">&lt;script&gt;</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">(function(){</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">&nbsp;&nbsp; var bp = document.createElement(script);</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">&nbsp;&nbsp; bp.src = //push.zhanzhang.baidu.com/push.js;</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">&nbsp;&nbsp; var s = document.getElementsByTagName("script");</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">s.parentNode.insertBefore(bp, s);</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">})();</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">&lt;/script&gt;</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">倘若</span>站长<span style="color: black;">运用</span>PHP语言<span style="color: black;">研发</span>的网站,<span style="color: black;">能够</span>按以下<span style="color: black;">过程</span>操作:</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">1、创建名为“baidu_js_push.php”的文件,文件内容是<span style="color: black;">以上</span>自动推送JS代码;</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">2、在<span style="color: black;">每一个</span>PHP模板页文件中的 &lt;body&gt; 标记后面添加一行代码:</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">&lt;?phpinclude_once("baidu_js_push.php") ?&gt;</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">为何</span>自动推送<span style="color: black;">能够</span>更快的将页面推送给百度搜索?</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">基于自动推送的实现原理问题,当新页面每次被浏览时,页面URL会自动推送给百度,无需站长汇总URL再进行主动推送操作。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">借助用户的浏览<span style="color: black;">行径</span>来触发推送动作,省去了站长人工操作的时间。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">自动推送和链接提交有什么区别?</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">已然</span>在<span style="color: black;">运用</span>链接提交的网站还需要再<span style="color: black;">安排</span>自动推送代码吗?</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">二者之间互不冲突,互为<span style="color: black;">弥补</span>。<span style="color: black;">已然</span><span style="color: black;">运用</span>主动推送的站点,依然<span style="color: black;">能够</span><span style="color: black;">安排</span>自动推送的JS代码,二者<span style="color: black;">一块</span><span style="color: black;">运用</span>。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">什么样的网站更适合<span style="color: black;">运用</span>自动推送?</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">自动推送<span style="color: black;">因为</span>实现<span style="color: black;">方便</span>和后续<span style="color: black;">守护</span>成本低的特点,适合技术能力相对薄弱,无能力支持全天候实时主动推送程序的站长。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">站长仅需一次<span style="color: black;">安排</span>自动推送JS代码的操作,就<span style="color: black;">能够</span>实现新页面被浏览即推送的效果,低成本实现链接自动提交。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">同期</span>,<span style="color: black;">咱们</span><span style="color: black;">亦</span>支持主动推送和自动推送代码<span style="color: black;">协同</span><span style="color: black;">运用</span>,二者互不影响。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">3、</span>移动Sitemap</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">百度推出了移动Sitemap协议,用于将网址提交给移动搜索收录。百度移动Sitemap协议是在标准Sitemap协议<span style="color: black;">基本</span>上制定的,<span style="color: black;">增多</span>了标签,它有四种取值:
    </p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">
      :移动网页
    </p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">
      :移动网页&nbsp; &nbsp; &nbsp;
    </p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">
      :自适应网页
    </p>&lt;mobile:mobile type="htmladapt"/&gt;:代码适配

    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">百度移动Sitemap协议的写法</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">这儿</span>关于传统PC站的sitemap写法就不说了。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">1、向百度提交<strong style="color: blue;">移动网页</strong>的sitemap协议写法样例:</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">xmlns:mobile="http://www.baidu.com/schemas/sitemap-mobile/1/"&gt;</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">
      http://m.abc.com/index.html&nbsp;
    </p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">
      2009-12-14
    </p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">
      daily
    </p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">
      0.8
    </p>&lt;/url&gt;&nbsp;

    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">&lt;/urlset&gt;&nbsp;</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">2、向百度提交<strong style="color: blue;">自适应网页</strong>的sitemap协议写法样例:</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">xmlns:mobile="http://www.baidu.com/schemas/sitemap-mobile/1/"&gt;</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">
      http://www.abc.com/autoadapt.html&nbsp;
    </p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">
      2009-12-14
    </p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">
      daily
    </p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">
      0.8
    </p>&lt;/url&gt;&nbsp;

    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">&lt;/urlset&gt;&nbsp;</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">3、向百度提交<strong style="color: blue;">代码适配网页</strong>的sitemap协议写法样例:</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">xmlns:mobile="http://www.baidu.com/schemas/sitemap-mobile/1/"&gt;&nbsp;</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">
      http://www.abc.com/htmladapt.html&nbsp;
    </p><strong style="color: blue;">&lt;mobile:mobiletype="htmladapt"/&gt;</strong>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">
      2009-12-14
    </p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">
      daily
    </p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">
      0.8
    </p>&lt;/url&gt;
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">&lt;/urlset&gt;&nbsp;</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">根据</span>移动Sitemap协议做好Sitemap后,在Sitemap工具点击添加新数据提交,与提交普通Sitemap方式一致。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">Sitemap</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">提交后,多久能被百度处理?</strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Sitemap数据提交后,<span style="color: black;">通常</span>在1小时内百度会<span style="color: black;">起始</span>处理。在以后的调度抓取中,<span style="color: black;">倘若</span>您的sitemap支持etag,<span style="color: black;">咱们</span>会更频繁抓取sitemap文件,从而<span style="color: black;">即时</span><span style="color: black;">发掘</span>内容更新;否则抓取的周期会比较长。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><a style="color: black;"><span style="color: black;"><span style="color: black;"><img src="http://mmbiz.qpic.cn/mmbiz/fbac17wmeIHK6gVpvFSOC5ncL9MicCROLDy2auicdsyt2dLoZo6wADtDwAzfUmzz8wuFRg6hIBhRynQPoSdxkVjg/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></span></span></a></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">更加多</span>SEO<span style="color: black;">文案</span>精选,请点击阅读:</p>

    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><a style="color: black;"><span style="color: black;">你<span style="color: black;">晓得</span>吗?URL规范化在SEO优化中的重要<span style="color: black;">功效</span></span></a></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><a style="color: black;"><span style="color: black;">SEO实战 | <span style="color: black;">怎样</span>挖掘关键词?</span></a></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><a style="color: black;"><span style="color: black;">SEO中关键词密度多少比较合适?</span></a></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz/fbac17wmeIF4YcTS7ibr8X8V3YuX1qQ0ibXsFMCJUQdNickU8N1j3GeupZrfDLqgqEGrYYJTdAEyltHFCcfj2MnRw/0?wx_fmt=gif&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1" style="width: 50%; margin-bottom: 20px;"></p>




m5k1umn 发表于 2024-9-26 12:13:05

楼主听话,多发外链好处多,快到碗里来!外链论坛 http://www.fok120.com/

4lqedz 发表于 2024-11-14 16:11:16

楼主的文章深得我心,表示由衷的感谢!

b1gc8v 发表于 昨天 18:05

seo常来的论坛,希望我的网站快点收录。
页: [1]
查看完整版本: 移动网站怎么样快速向百度提交数据