废话不多说,直接上代码
PHPcode3">PHPrequire('./wp-blog-header.PHP');header("Content-type: text/xml");header('HTTP/1.1 200 OK');$posts_to_show = 1000; // 获取文章数量echo '';echo 'http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">';?> http://localhost/ daily 1.0 monthly 0.6