class Sitemapper::PingBot

Defined in:

sitemapper/ping_bot.cr

Constant Summary

ENGINES = {google: "https://www.google.com/webmasters/tools/ping?sitemap=%s", bing: "https://www.bing.com/webmaster/ping.aspx?siteMap=%s"}

Constructors

Instance Method Summary

Constructor Detail

def self.new(sitemap_index : String) #

The URL to your sitemap_index file


[View source]

Instance Method Detail

def ping(**other_engines) : Nil #

You can add other URLs like ping(yandex: "http://blogs.yandex.ru/pings/?status=success&url=%s")


[View source]