Skip to content

DevGuide PingServers

Violet edited this page Dec 6, 2010 · 4 revisions

MDG: Ping Servers

When new entries are created, and "External Notifications" are enabled for a given blog, then Melody 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 website. This list of ping services is easily extended by registering new pingable endpoints via the Melody registry.

The following config.yaml demonstrates how to register a new ping server:

name: Example Plugin for Melody id: Example description: This plugin is an example plugin for Melody. version: 1.0 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

Continue Reading

 


Questions, comments, can't find something? Let us know at our community outpost on Get Satisfaction.

Credits

  • Author: Byrne Reese
  • Edited by: Violet Bliss Dietz
Clone this wiki locally