- Description:
- Ping search engines with the sitemap URL
- DefaultAction:
- The DokuWiki HTTP client is used for executing get for every search engine URL.
- Preventable:
- yes
- Added:
- 2010-11-12
This event is signaled by pingSearchEngines() in inc/Sitemapper.php when a new sitemap has been generated in the indexer, handlers can use it to add or remove search engines that shall be pinged or do the pings themselves (by preventing the default action).
$data['ping_urls']: Array of URLs that will be pinged if the default action isn't prevented, the key of the array is the search engine name (as of 2010-11-20: google, yahoo, microsoft)
$data['encoded_sitemap_url']: The
URL-encoded
URL of the sitemap that can be easily used in search engine URLs
The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself.