function xmlsitemap_engines_xmlsitemap_operations in XML sitemap 6
Implementation of hook_xmlsitemap_operations().
File
- xmlsitemap_engines/
xmlsitemap_engines.module, line 56 - Define actions for Google, Yahoo!, Ask, and Bing.
Code
function xmlsitemap_engines_xmlsitemap_operations() {
return array(
'submit_to_all' => array(
'label' => t('Submit the sitemap to all the active search engines'),
'callback' => 'xmlsitemap_engines_ping_sitemap',
),
'submit_to_askcom' => array(
'label' => t('Submit the sitemap to Ask.com'),
'callback' => 'xmlsitemap_engines_ping_sitemap',
'callback arguments' => array(
'engine' => 'ask',
),
),
'submit_to_bing' => array(
'label' => t('Submit the sitemap to Bing'),
'callback' => 'xmlsitemap_engines_ping_sitemap',
'callback arguments' => array(
'engine' => 'bing',
),
),
'submit_to_google' => array(
'label' => t('Submit the sitemap to Google'),
'callback' => 'xmlsitemap_engines_ping_sitemap',
'callback arguments' => array(
'engine' => 'google',
),
),
'submit_to_moreovercom' => array(
'label' => t('Submit the sitemap to Moreover.com'),
'callback' => 'xmlsitemap_engines_ping_sitemap',
'callback arguments' => array(
'engine' => 'moreover',
),
),
'submit_to_yahoo' => array(
'label' => t('Submit the sitemap to Yahoo!'),
'callback' => 'xmlsitemap_engines_ping_sitemap',
'callback arguments' => array(
'engine' => 'yahoo',
),
),
);
}