lib/sitemap/ping.rb in sitemap-0.3.1 vs lib/sitemap/ping.rb in sitemap-0.3.2
- old
+ new
@@ -5,11 +5,11 @@
module Ping
SEARCH_ENGINES = {
"Google" => "http://www.google.com/webmasters/tools/ping?sitemap=%s",
- "Ask.com" => "http://submissions.ask.com/ping?sitemap=%s",
- "Bing" => "http://www.bing.com/webmaster/ping.aspx?siteMap=%s"
+ "Bing" => "http://www.bing.com/webmaster/ping.aspx?siteMap=%s",
+ "Yandex" => "http://webmaster.yandex.ru/wmconsole/sitemap_list.xml?host=%s"
}
def self.send_request(file_path = false)
SEARCH_ENGINES.each do |name, url|
request = url % CGI.escape(file_path || Sitemap::Generator.instance.file_url)