-
Notifications
You must be signed in to change notification settings - Fork 36
DevGuide PingServers
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
Questions, comments, can't find something? Let us know at our community outpost on Get Satisfaction.
- Author: Byrne Reese
- Edited by: Violet Bliss Dietz