Represents a Pingback ping. Pingbacks are similar in purpose to Trackbacks, but are fully automated (as per the spec, no user interaction required) and implemented using XML-RPC. The Pingback specification is available at http://hixie.ch/specs/pingback/pingback
OnInit | Fired when the object is about to initialize. |
InitComplete | Fired after the object has been initialized. |
OnInsert | Fired before a pingback is stored. |
InsertComplete | Fired after a pingback is saved. |
OnDelete | Fired when a pingback is about to be deleted. |
DeleteComplete | Fired right after a pingback has been deleted. |
OnOutput | Fired when starting to process for display. |
OutputComplete | Fired when output is sent to the client. |
Get the global identifier for this trackback.
public function insert( |
| ) |
Stores the pingback data in a file. It is assumed that the source, target, title, and excerpt properties are set externally.
ent | The entry into which to insert this pingback. |
public function isPingback( |
| ) |
Determines if an object or file is a saved pingback.
path | The optional path to the pingback data file. If not given, then the object's file property is used. |
True if the data file exists and is under an entry pingback directory, false otherwise
Gets an anchor to the entry on the page.
The anchor to use for this pingback.
public function getFilename( |
| ) |
Converts an anchor from getAnchor into a filename.
anchor | The anchor to turn into a filename. |
The name of the pingback file.
Put the saved data into a template for display.
The data to be sent to the client.
Determines whether or not the pingback is to an entry on the current blog and/or server.
True if the source and target are on the same host, false otherwise.