织梦生成网站地图sitemap.xml出现This page contains the following errors: error on line 14 at column 51: AttValue: " or ' expected Below is a rendering of the page up to the first error.
织梦生成网站地图sitemap.xml出现
This page contains the following errors: error on line 14 at column 51: AttValue: " or ' expected Below is a rendering of the page up to the first error.
因为sitemap.xml里面文件符号有问题:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
<url>
<loc>http://www.lmcjl.com/</loc>
<lastmod>{dede:arclist row=1 titlelen=24 orderby=pubdate}
[field:pubdate function=strftime('%Y-%m-%d',@me)/]
{/dede:arclist}</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
{dede:channel row='23' type='top'}
<url>
<loc>http://www.lmcjl.com[field:typelink/]</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
{/dede:channel}
{dede:arclist row=2000 orderby=pubdate}
<url>
<loc>http://www.stnk120.com[field:arcurl/]</loc>
<lastmod>[field:pubdate function=strftime('%Y-%m-%d',@me)/]</lastmod>
<changefreq>monthly</changefreq>
</url>
{/dede:arclist}
</urlset>
改一下就好了