注意:向yahoo雅虎制作与提交网站地图sitemap的方法变了
5 24th, 2010 by daniel
之前在搜索引擎上看到的文章,都是说yahoo!雅虎制作网站地图的要求是:
txt文本,命名为sitemap.txt.
文章都是转来转去,差不多。
实际上要求已经变了,大家可以访问(
http://help.yahoo.com/l/us/yahoo/search/siteexplorer/siteexplorer-45.html?pir=6FM1RkNibUn29XOhui9Q.PR7OiRjKiqTT1iN29sx3wGMqzpyMc.jxoG6
)这是今年雅虎官方网站上发布的关于sitemap的制作格式与提交。
其中一段文字:
Yahoo! supports the Sitemaps format and protocol as documented on www.sitemaps.org.
You can provide us a feed in the following supported formats. We recognize files with a .gz extension as compressed files and decompress them before parsing.
· RSS 0.9, RSS 1.0, or RSS 2.0, for example, CNN Top Stories
· Sitemaps, as documented on www.sitemaps.org
· Atom 0.3, Atom 1.0, for example, Yahoo! Search Blog
· A text file containing a list of URLs, each URL at the start of a new line. The filename of the URL list file must be urllist.txt. For a compressed file the name must be urllist.txt.gz.
这段文字清楚表明yahoo支持4种方式,我们比较熟悉的可能是xml,txt.
yahoo雅虎现在明确支持www.sitemaps.org格式的网站地图,这一点与谷歌相同。
即我们可以在根目录上传/sitemap.xml文件,并在robots.txt里写一行,就可以了(与谷歌相同);
同时,也支持txt格式的网站地图提交,但是一定要注意,文件名不是sitemap.txt,
而必须是urllist.txt。这跟之前网上到处转载的不一样了

