Movable Type Documentation > Developer > Plugins

Registering Ping Servers

When new entries are created, and "External Notifications" are enabled for a given blog, then Movable Type will optionally ping a set of services chosen by the user or system administrator. These "pings" notify the designated services of new content that is available on your blog or web site. This list of ping services is easily extended by registering new pingable endpoints via the Movable Type registry.

The following code sample demonstrates how to register a new ping server:

sub init_registry {
    my $plugin = shift;
    $plugin->registry({
        ping_servers  => {
            'myping' => {
                label => 'My Ping Service',
                url   => 'http://ping.somedomain.com/foo',
            },
        },
    });
}

When registering a ping server, the following properties must be specified:

  • label - The display name of the ping server that will be presented to the user from within the application
  • url - The url to ping when the service is selected by the user
This page was last updated on 2007-07-24, 23:06.  

Submit a User Contributed Note

User contributed notes are a great way to share the knowledge you have gained in using Movable Type.

If you have a technical question or problem, please visit Movable Type Support.

(If you haven't left a note here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)