You are here

function xmlsitemap_engines_xmlsitemap_engine_info in XML sitemap 6.2

Same name and namespace in other branches
  1. 8 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_xmlsitemap_engine_info()
  2. 7.2 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_xmlsitemap_engine_info()
  3. 2.x xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_xmlsitemap_engine_info()

Implements hook_xmlsitemap_engine_info().

File

xmlsitemap_engines/xmlsitemap_engines.module, line 192

Code

function xmlsitemap_engines_xmlsitemap_engine_info() {
  $engines['google'] = array(
    'name' => t('Google'),
    'url' => 'http://www.google.com/webmasters/tools/ping?sitemap=[sitemap]',
    'help url' => 'http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=156184',
  );
  $engines['bing'] = array(
    'name' => t('Bing'),
    'url' => 'http://www.bing.com/webmaster/ping.aspx?siteMap=[sitemap]',
    'help url' => 'http://www.bing.com/webmaster',
  );
  return $engines;
}