Lines Matching defs:page
94 foreach ($pages as $page) {
95 if (!$data['sentpings'][$page]) {
97 $this->_ping_page($page, $linkback_info);
99 $sentpings[$page] = true;
140 // page not writable? Quit
211 * Pings a given page with the given info.
213 function _ping_page($page, $linkback_info) {
221 $data = $http_client->get($page, true);
227 if ($this->_ping_page_linkback(trim($type), $page, $http_client->resp_headers, $data, $linkback_info))
238 * @param string $page URL of the page to ping
239 * @param array $headers headers received from page
243 function _ping_page_linkback($type, $page, $headers, $body, $linkback_info) {
251 $pingurl = $this->_autodiscover_trackback($page, $body);
263 return (bool) $this->_ping_page_pingback($xmlrpc_server, $linkback_info['url'], $page);
297 * @param array $headers the headers received from to be pinged page.
298 * @param string $data the body received from the pinged page.
313 * Autodiscovers a trackback URL for the given page URL and site body.
315 * @param string $page the url of the page to be pinged.
316 * @param string $data the body received from the page to be pinged.
318 function _autodiscover_trackback($page, $data) {
319 $page_anchorless = substr($page, 0, strrpos($page, '#'));
327 if (!($perm_link == $page || $perm_link == $page_anchorless))