ping

Ping services with updates to the live site

To install, run nikola plugin -i ping

This is a command plug-in for notifying/“pinging” web services of new posts and pages on your live site.

Warning: Only run this command when there is actually new content on the production site. Excessive or “false” pings when there are no updates will get the site blacklisted with the ping services.

Usage:

nikola ping

Suggested Configuration:

# List XML-RPC services (recommended) in PING_XMLRPC_SERVICES and HTTP
# GET services (web pages) in PING_GET_SERVICES.
# Entries pointing to domains, such as Ping-o-Matic, must end with
# a forward slash to avoid having "/RPC2" appended automatically.
# Consider adding `nikola ping` as the last entry in DEPLOY_COMMANDS.
PING_XMLRPC_SERVICES = [
   "http://blogsearch.google.com/ping/RPC2",
   "http://ping.blogs.yandex.ru/RPC2",
   "http://ping.baidu.com/ping/RPC2",
   "http://rpc.pingomatic.com/",
]

PING_GET_SERVICES = [
   "http://www.bing.com/webmaster/ping.aspx?sitemap={0}".format(SITE_URL+'sitemap.xml'),
   "http://www.google.com/webmasters/tools/ping?sitemap={0}".format(SITE_URL+'sitemap.xml'),
]

Issues? Questions?

You can report issues with this plugin and request help via GitHub Issues.