DedeCms5.5自由列表制作Google Sitemap


看到5.5版本里没有自带的生成Google Sitemap,我也是参考了,原来论坛里的一个帖子,就是不能分页,也不能更新。改进了。

  现在可以完美生成了Google Sitemap 而且还是分页生成。

  第一步:频道模型-自由列表管理

  第二步:

 

  第三步:

  代码如下:

以下为引用的内容:
<url> 
  <loc>[field:arcurl function="Gmapurl(@me)"/]</loc> 
  <lastmod>[field:senddate function="strftime('%Y-%m-%d',@me)"/]</lastmod> 
  <changefreq>weekly</changefreq> 
  <priority>0.5</priority> 
</url>

 

  完美生成哈,一定好用,各位支持!