帝国cms自动生成向百度提交的urls.txt

自动生成百度urls.txt

1、调用首页地址


[!--news.url--]

2、循环栏目页地址


[e:loop={"select * from [!db.pre!]enewsclass order by myorder",0,24,0}]


[/e:loop]

3、循环文章正文地址(有几个模型就写上几个


[e:loop={"select * from [!db.pre!]ecms_news order by id desc",0,24,0}]
[/e:loop]
[e:loop={"select * from [!db.pre!]ecms_photo order by id desc",0,24,0}]
[/e:loop]
[e:loop={"select * from [!db.pre!]ecms_article order by id desc",0,24,0}]
[/e:loop]

帝国cms(默认)系统模型
序号 模型名称
1 新闻系统数据表  ( phome_ecms_news )    
2 下载系统数据表  ( phome_ecms_download )  
3 图片系统数据表  ( phome_ecms_photo )    
4 FLASH系统数据表  ( phome_ecms_flash )    
5 电影系统数据表  ( phome_ecms_movie )    
6 商城系统数据表  ( phome_ecms_shop )    
7 文章系统数据表  ( phome_ecms_article )    
8 分类信息数据表  ( phome_ecms_info )

!!!注意:如果站点根地址设置的是“/”,则必须添加站点地址“https://www.lovezheteng.com”。
示例:展示


http://www.lovezheteng.com/
[e:loop={"select * from [!db.pre!]enewsclass order by myorder",0,24,0}]

https://www.lovezheteng.com
[/e:loop]
[e:loop={"select * from [!db.pre!]ecms_news order by id desc",0,24,0}]https://www.lovezheteng.com
[/e:loop]
[e:loop={"select * from [!db.pre!]ecms_photo order by id desc",0,24,0}]https://www.lovezheteng.com
[/e:loop]

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注