业务不熟,sitemap写错
在et下设计下,sitemap变得非常简单,模板中这样的
结果发现数组相加的时候,会因相同的key而消失!事得其反,在下班的时候,发现了正常了
新的sitemap点这里厦门机票
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>{config['url']}</loc>
<lastmod>{nowtime}</lastmod>
<changefreq>always</changefreq>
<priority>1.0</priority>
</url>
<!--$list as $lst-->
<url>
<loc>{config['url']}{lst['act']}{lst['linkname']}{lst['id']}{lst['page']}.htm</loc>
<lastmod>{lst[datetime]}</lastmod>
<changefreq>daily</changefreq>
<priority>0.9</priority>
</url>
<!--end-->
</urlset>
<url>
<loc>{config['url']}</loc>
<lastmod>{nowtime}</lastmod>
<changefreq>always</changefreq>
<priority>1.0</priority>
</url>
<!--$list as $lst-->
<url>
<loc>{config['url']}{lst['act']}{lst['linkname']}{lst['id']}{lst['page']}.htm</loc>
<lastmod>{lst[datetime]}</lastmod>
<changefreq>daily</changefreq>
<priority>0.9</priority>
</url>
<!--end-->
</urlset>
结果发现数组相加的时候,会因相同的key而消失!事得其反,在下班的时候,发现了正常了
新的sitemap点这里厦门机票
长尾产品的一个优化正正
mysql正则替换开始了
