### [帝国CMS怎么制作网站sitemap](https://www.prosaas.cn/article/3608)
**Published:** 2019-11-18T02:38:14
**Author:** 5201314
**Excerpt:** 帝国CMS怎么制作网站sitemap?增加自定义页面,文件名及存放目录:../../sitemap/sitem…
****
**帝国CMS怎么制作网站sitemap?**
增加自定义页面,文件名及存放目录:../../sitemap/sitemap.xml
代码如下:
=''?>
https://www.xx.net\[!--news.url--\]
=date("Y-m-d");?>
daily
1.000
\[e:loop={'select classid,classname,classpath,wburl from \[!db.pre!\]enewsclass where bclassid=0 and showclass=0 and (classid<>52 and classid<>24) order by myorder',0,24,0}\]
https://www.xx.net=$sccurl?>/
0.6000
\[/e:loop\]
\[listshowclass\]'0',25,1,0\[/listshowclass\] 模板在后面
\[e:loop={"select \* from \[!db.pre!\]ecms\_news order by newstime DESC",0,24,0}\]
https://www.xx.net=$bqsr\[titleurl\]?>
=date('Y-m-d',$bqr\[newstime\])?>
daily
0.8000
\[/e:loop\]
\[e:loop={"select \* from \[!db.pre!\]ecms\_shop order by newstime DESC",0,24,0}\]
https://www.xx.net=$bqsr\[titleurl\]?>
=date('Y-m-d',$bqr\[newstime\])?>
daily
0.8000
\[/e:loop\]
\[e:loop={"select \* from \[!db.pre!\]ecms\_movie order by newstime DESC",0,24,0}\]
https://www.xx.net=$bqsr\[titleurl\]?>
=date('Y-m-d',$bqr\[newstime\])?>
daily
0.8000
\[/e:loop\]
\[e:loop={"select \* from \[!db.pre!\]ecms\_baojia order by newstime DESC",0,24,0}\]
https://www.xx.net=$bqsr\[titleurl\]?>
=date('Y-m-d',$bqr\[newstime\])?>
daily
0.8000
\[/e:loop\]
\[e:loop={"select \* from \[!db.pre!\]ecms\_download order by newstime DESC",0,24,0}\]
https://www.xx.net=$bqsr\[titleurl\]?>
=date('Y-m-d',$bqr\[newstime\])?>
daily
0.8000
\[/e:loop\]
循环栏目列表的标签模板:
代码如下:
\[listshowclass\]'0',25,1,0\[/listshowclass\]
\[!--empirenews.listtemp--\]
\[!--empirenews.listtemp--\]
https://www.xx.net\[!--classurl--\]
0.6000
以上就是帝国CMS怎么制作网站sitemap的详细内容,更多请关注知企PROSAAS其它相关文章!
**Categories:** 帝国CMS
---