介绍:

https://support.google.com/webmasters/answer/75712?hl=zh-Hans

实例:

http://www.thepaper.cn/sitemap.xml

<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>http://www.thepaper.cn/sitemap-1.xml</loc>
<lastmod>2017-10-13</lastmod>
</sitemap>
<sitemap>
<loc>http://www.thepaper.cn/asktopic.xml</loc>
<lastmod>2017-10-13</lastmod>
</sitemap>
<sitemap>
<loc>http://www.thepaper.cn/newsDetail-7.xml</loc>
<lastmod>2017-10-13</lastmod>
</sitemap>
<sitemap>
<loc>http://www.thepaper.cn/newsDetail-6.xml</loc>
<lastmod>2017-10-13</lastmod>
</sitemap>
<sitemap>
<loc>http://www.thepaper.cn/newsDetail-5.xml</loc>
<lastmod>2017-10-13</lastmod>
</sitemap>
<sitemap>
<loc>http://www.thepaper.cn/newsDetail-4.xml</loc>
<lastmod>2017-10-13</lastmod>
</sitemap>
<sitemap>
<loc>http://www.thepaper.cn/newsDetail-3.xml</loc>
<lastmod>2017-10-13</lastmod>
</sitemap>
<sitemap>
<loc>http://www.thepaper.cn/newsDetail-2.xml</loc>
<lastmod>2017-10-13</lastmod>
</sitemap>
<sitemap>
<loc>http://www.thepaper.cn/newsDetail-1.xml</loc>
<lastmod>2017-10-13</lastmod>
</sitemap>
</sitemapindex>

sitemap和sitemapindex的更多相关文章

  1. sitemap 文件的生成 sitemap文件和sitemapindex 索引文件的生成

    <?php /*****连接数据库 start*******/ $dbhost = "localhost"; $username = "root"; $u ...

  2. 生成多sitemap文件

    Thinkphp生成多sitemap文件 我们知道sitemap对于seo的重要性,很多介绍只生成一个文件sitemap.xml ,但是如果网站内容比较多,就要生成多个sitemap文件,因为搜索引擎 ...

  3. Python脚本生成sitemap

    项目须要用脚本生成sitemap,中间学习了一下sitemap的格式和lxml库的使用方法.把结果记录一下,方便以后须要直接拿来用. 来自Python脚本生成sitemap 安装lxml 首先须要pi ...

  4. SiteMap 提交,并使用正确的方式提交给搜索引擎

    原创Sitemap收录介绍 对于网站中原创内容的网页url,站长可以将其制作成标准的Sitemap(站点地图)文件. 站长提交Sitemap文件后,好搜会使用Sitemap中的内容来了解网站结构等信息 ...

  5. Django:之Sitemap站点地图、通用视图和上下文渲染器

    Django中自带了sitemap框架,用来生成xml文件 Django sitemap演示: sitemap很重要,可以用来通知搜索引擎页面的地址,页面的重要性,帮助站点得到比较好的收录. 开启si ...

  6. 优化之sitemap+RSS

    RSS也叫聚合, RSS是在线共享内容的一种简易方式,也叫聚合内容,Really Simple Syndication. 通常在时效性比较强的网站或网络平台上应用RSS订阅功能可以更快速获取信息,网站 ...

  7. sitemap.xml 的 几个东西

    https://github.com/PureKrome/SimpleSitemap/wiki/Sitemap-Index-example  简单类实现 支持sitemapindex 有说明向导 ht ...

  8. google sitemap

    引言 刚开始以为要一个绿色快速通道网页,涵盖常用的地址链接,以便于google的爬虫统计数据,然后看了google sitemap站点文档,原来站点地图是一种文件,您可以通过该文件列出您网站上的网页, ...

  9. 自动生成百度小程序sitemap.txt文件路径

    因为业务需要,需要在目前项目上开发一个百度小程序,百度智能小程序上线了,但是内容每天得推送,不可能一个小程序路径一个推送吧,因为小程序路径和项目路径不一致. 因为项目是用ThinkPHP开发的,在此附 ...

随机推荐

  1. JavaScript:逻辑操作符“==”与“===”的区别

    Summary JavaScript中,逻辑操作符“===”会先检查操作数的数据类型,对不同的数据类型会返回false. 而“==”对不同类型的操作数进行比较时,会进行类型转换后再比较. Descri ...

  2. SPOJ Favorite Dice(数学期望)

    BuggyD loves to carry his favorite die around. Perhaps you wonder why it's his favorite? Well, his d ...

  3. HDU1576 A/B

    暴力出奇迹,我就知道没取余那么正当,肯定有什么奇淫怪巧,果然5分钟A掉. #include<cstdio> #include<cstdlib> #include<iost ...

  4. debug调试工具不显示的解决办法

    清空在runtime目录下的debug目录下的文件即可.

  5. bat实现创建、复制、删除文件及文件夹

    1 建bat文件自动执行复制,删除命令. 例1:以下是复制cd.dll文件至windows\system32的bat文件内容: copy cd.dll %windir%\system32 例2:下面一 ...

  6. consul 几个方便使用的类库

    consul 几个方便使用的类库 1. java  https://github.com/OrbitzWorldwide/consul-client   <dependency> < ...

  7. c# Dictionary字典类如何使用

    Dictionary<string, string> openWith = new Dictionary<string, string>(); //添加元素 openWith. ...

  8. 嵌入式linux问题杂锦

    tftp 在开发板上不能获取共享文件,出现: Permission denied tftp: can't open 'myTcpTest': Permission denied 是因为,我在/sys目 ...

  9. BZOJ4974:[lydsy1708月赛]字符串大师

    浅谈\(KMP\):https://www.cnblogs.com/AKMer/p/10438148.html 题目传送门:https://lydsy.com/JudgeOnline/problem. ...

  10. Eclipse 创建类时添加继承

    eclipse 中类的继承创建有两种方式: 1.手动敲代码通过 extends 关键字来继承 public class A extends B { } 2.在创建类的时候就选择好继承关系 点击 Fin ...