\Ping
Synopsis
class Ping
extends SiteTreeExtension
{
- // members
- private string $pingUrls = "http://rpc.weblogs.com/RPC2";
- // methods
- public void init()
- public void setPingUrls()
- public void getPingUrls()
- public void onAfterPublish()
- public void webPingXML()
- public void doWebPing()
Hierarchy
Extends
- SiteTreeExtension
Members
private
- $pingUrls
Methods
public
- doWebPing() — Sends a POST to the pingUrl provided.
- getPingUrls() — Get the $pingUrls variable
- init() — Initialize function
- onAfterPublish() — After publishing or updating a page, this function POSTS to let blog services know your website has been updated.
- setPingUrls() — Set the $pingUrls variable
- webPingXML() — Returns the XML for a web ping.