Module: Sitemap

Defined in:
lib/sitemap/ping.rb,
lib/sitemap/errors.rb,
lib/sitemap/ping_task.rb,
lib/sitemap/ping/version.rb

Overview

The top-level module for this gem.

Defined Under Namespace

Modules: Ping Classes: PingTask, UrlError

Constant Summary collapse

ENGINE_BASEURLS =

A hash that attaches a unique symbol to each search engine's sitemap update URL.

ENGINE_BASEURLS[:google]
# => "https://www.google.com/webmasters/sitemaps/ping?sitemap="
{
  google: 'https://www.google.com/webmasters/sitemaps/ping?sitemap=',
  bing: 'https://www.bing.com/webmaster/ping.aspx?siteMap=',
}.freeze