Procedural File: lib-pingback.php
Source Location: /system/lib-pingback.php
Page Details:
Includes:
require_once('XML/RPC.php') [line 37]
PNB_getPingbackUrl [line 46]
string PNB_getPingbackUrl(
string $url)
|
|
Get the Pingback URL for a given URL
Tags:
Parameters
| string |
$url |
URL to get the Pingback URL for |
PNB_makeExcerpt [line 240]
string PNB_makeExcerpt(
string $html, string $url, [int $xlen = 255])
|
|
Create an excerpt from some piece of HTML containing a given URL This somewhat convoluted piece of code will extract the text around a given link located somewhere in the given piece of HTML. It returns the actual link text plus some of the text before and after the link. NOTE: Returns an empty string when $url is not found in $html.
Tags:
Parameters
| string |
$html |
The piece of HTML to search through |
| string |
$url |
URL that should be contained in $html somewhere |
| int |
$xlen |
Max. length of excerpt (default: 255 characters) |
PNB_sendExtendedPing [line 196]
string PNB_sendExtendedPing(
string $url, string $blogname, string $blogurl, string $changedurl, string $feedurl)
|
|
Send an extended ping to a weblog directory service Supported e.g. by blo.gs
Tags:
Parameters
| string |
$url |
URL to ping |
| string |
$blogname |
name of our site |
| string |
$blogurl |
URL of our site |
| string |
$changedurl |
URL of the changed / new entry |
| string |
$feedurl |
URL of a feed for our site |
PNB_sendPing [line 153]
string PNB_sendPing(
string $url, string $blogname, string $blogurl, string $changedurl)
|
|
Send a standard ping to a weblog directory service The "classic" ping, originally invented for weblogs.com
Tags:
Parameters
| string |
$url |
URL to ping |
| string |
$blogname |
name of our site |
| string |
$blogurl |
URL of our site |
| string |
$changedurl |
URL of the changed / new entry |
PNB_sendPingback [line 102]
string PNB_sendPingback(
string $sourceURI, string $targetURI)
|
|
Send a Pingback
Tags:
Parameters
| string |
$sourceURI |
URL of an entry on our site |
| string |
$targetURI |
an entry on someone else's site |
|