Google Sitemap中的网址说明

时间:2013-03-01 14:29:38

标签: sitemap

是否可以在Google Sitemaps中指定URL元素的说明?

示例(请参阅description-tag):

<url>
  <loc>http://www.example.com/dogs</loc>
  <description>This page for dogs, you can find new products for dogs here.</description>
  <changefreq>hourly</changefreq>
  <priority>1.00</priority>
   <image:image>
    <image:loc>http://www.example.com/image.jpg</image:loc> 
  </image:image>
</url>
<url>
  <loc>http://www.example.com/cats</loc>
  <description>This page for cats, you can find new products for cats here.</description>
  <changefreq>hourly</changefreq>
  <priority>1.00</priority>
   <image:image>
    <image:loc>http://www.example.com/image.jpg</image:loc> 
  </image:image>
</url>

谢谢!

1 个答案:

答案 0 :(得分:5)

第二个support of Google for sitemaps您可以像站点地图一样提交RSS或原子文件(xml)。

在RSS或原子文件中,您可以为网址添加说明。您可以阅读especification of RSS

一个例子:

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
 <title>RSS Title</title>
  <description>This is an example of an RSS feed</description>
  <link>http://www.someexamplerssdomain.com/main.html</link>
  <lastBuildDate>Mon, 06 Sep 2010 00:01:00 +0000 </lastBuildDate>
  <pubDate>Mon, 06 Sep 2009 16:45:00 +0000 </pubDate>
 <ttl>1800</ttl>

 <item>
  <title>Example entry</title>
  <description>Here is some text containing an interesting description.</description>
  <link>http://www.wikipedia.org/</link>
  <guid>unique string per item</guid>
  <pubDate>Mon, 06 Sep 2009 16:45:00 +0000 </pubDate>
 </item>

</channel>
</rss>