Translations of this page?:

SITEMAP_PING

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).

Passed Data

  • $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

Plugins handling this event

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.

  • FIXME

See also

devel/event/sitemap_ping.txt · Last modified: 2010/11/20 23:15 by Michitux
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate