[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/include/ -> functions_trackbacks.inc.php (sommaire)

(pas de description)

Poids: 622 lignes (21 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 14 fonctions

  serendipity_trackback_is_success()
  serendipity_pingback_autodiscover()
  _serendipity_send()
  serendipity_trackback_autodiscover()
  serendipity_reference_autodiscover()
  add_trackback()
  add_pingback()
  serendipity_trackback_excerpt()
  report_trackback_success()
  report_trackback_failure()
  report_pingback_success()
  report_pingback_failure()
  serendipity_handle_references()
  is_utf8()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

serendipity_trackback_is_success($resp)   X-Ref
Check a HTTP response if it is a valid XML trackback response

param: string  HTTP Response string
return: mixed   Boolean or error message

serendipity_pingback_autodiscover($loc, $body)   X-Ref
Perform a HTTP query for autodiscovering a pingback URL

param: string  (deprecated) The URL to try autodiscovery
param: string  The response of the original URL
return:

_serendipity_send($loc, $data)   X-Ref
Send a track/pingback ping

param: string  The URL to send a trackback to
param: string  The XML data with the trackback contents
return: string  Reponse

serendipity_trackback_autodiscover($res, $loc, $url, $author, $title, $text, $loc2 = '')   X-Ref
Autodiscover a trackback location URL

param: string  The HTML of the source URL
param: string  The source URL
param: string  The URL of our blog
param: string  The author of our entry
param: string  The title of our entry
param: string  The text of our entry
param: string  A comparsion URL
return: string   Response

serendipity_reference_autodiscover($loc, $url, $author, $title, $text)   X-Ref
Open a URL and autodetect contained ping/trackback locations

param: string  The URL to autodetect/try
param: string  The URL to our blog
param: string  The author of our entry
param: string  The title of our entry
param: string  The body of our entry
return: null

add_trackback($id, $title, $url, $name, $excerpt)   X-Ref
Receive a trackback

param: int     The ID of our entry
param: string  The title of the foreign blog
param: string  The URL of the foreign blog
param: string  The name of the foreign blog
param: string  The excerpt text of the foreign blog
return: true

add_pingback($id, $postdata)   X-Ref
Receive a pingback

param: int     The entryid to receive a pingback for
param: string  The foreign postdata to add
return: boolean

serendipity_trackback_excerpt($text)   X-Ref
Create an excerpt for a trackback to send

param: string  Input text
return: string  Output text

report_trackback_success()   X-Ref
Report success of a trackback


report_trackback_failure()   X-Ref
Report failure of a trackback


report_pingback_success()   X-Ref
Return success of a pingback


report_pingback_failure()   X-Ref
Return failure of a pingback


serendipity_handle_references($id, $author, $title, $text, $dry_run = false)   X-Ref
Search through link body, and automagically send a trackback ping.

This is the trackback starter function that searches your text and sees if any
trackback URLs are in there

param: int     The ID of our entry
param: string  The author of our entry
param: string  The title of our entry
param: string  The text of our entry
param: boolean Dry-Run, without performing trackbacks?
return:

is_utf8($string)   X-Ref
Check if a string is in UTF-8 format.

param: string  The string to check
return: bool



Généré le : Sat Nov 24 09:00:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics