PingbackRepresents 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 Events
Summary
checkPingbackEnabled
Checks if a given URL is pingback-enabled or not.
ReturnsIf the resource has an X-Pingback header or a link element with the rel=”pingback” attribute set, then returns the URL specified in the header (if it exists) or the link element. Returns false otherwise. |
Get the URI for various functions
function uri( $type )
Stores the pingback data in a file.
function insert( $ent )
Gets an anchor to the entry on the page.
function getAnchor()
Converts an anchor from getAnchor into a filename.
function getFilename( $anchor )
Reads pingback data from a file.
function readFileData( $path = false )
Write pingback data to a file.
function writeFileData( $path )
Put the saved data into a template for display.
function get()
Requests a URL from a remote host and returns the resulting data.
function fetchPage( $url, $headers = false )
Checks if a given URL is pingback-enabled or not.
function checkPingbackEnabled( $url )