帝国cms如何做网站(帝国cms建站)
Imperial CMS 如何创建网站站点地图?
添加自定义页面、文件名和存储目录:/./sitemap/sitemap.xml
代码如下:
?='?xml 版本='1.0' 编码='UTF-8'?'?urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'urllochttps://www.xx.net[!--news.url-- ]/loclastmod?=date('Y-m-d');/lastmodchangefreqdaily/changefreqpriority1.000/priority/url[e:loop={'从[!db.pre!]enewsclass 中选择classid、classname、classpath、wburl,其中bclassid=0 和showclass=0 和(classid52 和classid24) 按myorder',0,24,0}] 排序?phpif(emptyempty($bqr[wburl])){$sccurl=$public_r[newsurl].$bqr[classpath] ;} else {$sccurl=$bqr[wburl];}?urllochttps://www.xx.net?=$sccurl?//locpriority0.6000/priority/url[/e:loop][listshowclass]'0',25,1,0 [/listshowclass] 模板在后面[e:loop={'select * from [!db.pre!]ecms_news order by newstime DESC',0,24,0}]urllochttps://www.xx.net?=$bqsr[titleurl ]?/loclastmod?=date('Y-m-d',$bqr[newstime])?/lastmodchangefreqdaily/changefreqpriority0.8000/priority/url[/e:loop][e:loop={'从[!db.pre!] 选择* ecms_shop 按新闻时间DESC',0,24,0}]urllochttps://www.xx.net?=$bqsr[titleurl]?/loclastmod?=date('Y-m-d',$bqr[newstime])?/lastmodchangefreqdaily/changefreqpriority0 .8000/优先级/url[/e:loop][e:loop={'按新闻时间DESC 从[!db.pre!]ecms_movie 顺序中选择*',0,24,0}]urllochttps://www.xx.net?=$bqsr[titleurl ]?/loclastmod?=date('Y-m-d',$bqr[newstime])?/lastmodchangefreqdaily/changefreqpriority0.8000/priority/url[/e:loop][e:loop={'从[!db.pre!] 选择* ecms_baojia 按新闻时间DESC',0,24,0}]urllochttps://www.xx.net?=$bqsr[titleurl]?/loclastmod?=date('Y-m-d',$bqr[newstime])?/lastmodchangefreqdaily/changefreqpriority0 .8000/优先级/url[/e:loop][e:loop={'从[!db.pre!]ecms_download中按新闻时间DESC顺序选择*',0,24,0}]urllochttps://www.xx.net?=$bqsr[titleurl ]?/loclastmod?=date('Y-m-d',$bqr[newstime])?/lastmodchangefreqdaily/changefreqpriority0.8000/priority/url[/e:loop]/循环列列表的urlset 标签模板:
代码如下:
[listshowclass]'0',25,1,0[/listshowclass][!--empirenews.listtemp--]!--list.var1--[!--empirenews.listtemp--]urllochttps://www.xx.net[ !--classurl--]/locpriority0.6000/priority/url 以上是帝国CMS如何创建网站站点地图的详细内容。更多资讯请关注木库阁其他相关文章!