function xmlsitemap_engines_xmlsitemap_engine_info in XML sitemap 2.x
Same name and namespace in other branches
- 8 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_xmlsitemap_engine_info()
- 6.2 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_xmlsitemap_engine_info()
- 7.2 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_xmlsitemap_engine_info()
Implements hook_xmlsitemap_engine_info().
File
- xmlsitemap_engines/
xmlsitemap_engines.module, line 201 - Main file for the XML sitemap engines.
Code
function xmlsitemap_engines_xmlsitemap_engine_info() {
$engines['google'] = [
'name' => t('Google'),
'url' => 'https://www.google.com/ping?sitemap=[sitemap]',
'help url' => 'https://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=156184',
];
$engines['bing'] = [
'name' => t('Bing'),
'url' => 'https://www.bing.com/ping?sitemap=[sitemap]',
'help url' => 'https://www.bing.com/webmaster/help/how-to-submit-sitemaps-82a15bd4',
];
return $engines;
}