2012-02-08 83 views

回答

1

我看到您的站點地圖有兩個問題。

第一個 - 價值<lastmod>是無效的。在你的時間值中,模式期望秒。此外,時區指示符缺少冒號。

實施例 -

此:<lastmod>2012-02-08T16:32+0000</lastmod>

應該是:<lastmod>2012-02-08T16:32:00+00:00</lastmod>


- 的<lastmod>的位置不正確。根據模式,訂單必須爲:<loc>,<lastmod>,<changefreq>,然後<priority>

實施例 -

此:

<url> 
    <loc>http://summer-festivals.cloudfoundry.com/festival/show/7</loc> 
    <changefreq>daily</changefreq> 
    <priority>0.7</priority> 
    <lastmod>2012-02-08T16:32:00+00:00</lastmod> 
    </url> 

應該是:

<url> 
    <loc>http://summer-festivals.cloudfoundry.com/festival/show/7</loc> 
    <lastmod>2012-02-08T16:32:00+00:00</lastmod> 
    <changefreq>daily</changefreq> 
    <priority>0.7</priority> 
    </url> 

這裏是固定的sitemap.xml的完整副本:

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> 
    <url> 
    <loc>http://summer-festivals.cloudfoundry.com/</loc> 
    <changefreq>daily</changefreq> 
    <priority>1.0</priority> 
    </url> 
    <url> 
    <loc>http://summer-festivals.cloudfoundry.com/privacy</loc> 
    <changefreq>weekly</changefreq> 
    <priority>0.1</priority> 
    </url> 
    <url> 
    <loc>http://summer-festivals.cloudfoundry.com/terms</loc> 
    <changefreq>weekly</changefreq> 
    <priority>0.1</priority> 
    </url> 
    <url> 
    <loc>http://summer-festivals.cloudfoundry.com/about</loc> 
    <changefreq>weekly</changefreq> 
    <priority>0.8</priority> 
    </url> 
    <url> 
    <loc>http://summer-festivals.cloudfoundry.com/artist/show/1</loc> 
    <lastmod>2012-02-08T16:32:00+00:00</lastmod> 
    <changefreq>weekly</changefreq> 
    <priority>0.5</priority> 
    </url> 
    <url> 
    <loc>http://summer-festivals.cloudfoundry.com/artist/show/2</loc> 
    <lastmod>2012-02-08T16:32:00+00:00</lastmod> 
    <changefreq>weekly</changefreq> 
    <priority>0.5</priority> 
    </url> 
    <url> 
    <loc>http://summer-festivals.cloudfoundry.com/festival/show/1</loc> 
    <lastmod>2012-02-08T16:32:00+00:00</lastmod> 
    <changefreq>daily</changefreq> 
    <priority>0.7</priority> 
    </url> 
    <url> 
    <loc>http://summer-festivals.cloudfoundry.com/festival/show/2</loc> 
    <lastmod>2012-02-08T16:32:00+00:00</lastmod> 
    <changefreq>daily</changefreq> 
    <priority>0.7</priority> 
    </url> 
    <url> 
    <loc>http://summer-festivals.cloudfoundry.com/festival/show/3</loc> 
    <lastmod>2012-02-08T16:32:00+00:00</lastmod> 
    <changefreq>daily</changefreq> 
    <priority>0.7</priority> 
    </url> 
    <url> 
    <loc>http://summer-festivals.cloudfoundry.com/festival/show/4</loc> 
    <lastmod>2012-02-08T16:32:00+00:00</lastmod> 
    <changefreq>daily</changefreq> 
    <priority>0.7</priority> 
    </url> 
    <url> 
    <loc>http://summer-festivals.cloudfoundry.com/festival/show/5</loc> 
    <lastmod>2012-02-08T16:32:00+00:00</lastmod> 
    <changefreq>daily</changefreq> 
    <priority>0.7</priority> 
    </url> 
    <url> 
    <loc>http://summer-festivals.cloudfoundry.com/festival/show/7</loc> 
    <lastmod>2012-02-08T16:32:00+00:00</lastmod> 
    <changefreq>daily</changefreq> 
    <priority>0.7</priority> 
    </url> 
</urlset>