Package zinnia :: Package xmlrpc :: Module pingback
[hide private]

Module pingback

source code

XML-RPC methods of Zinnia Pingback

Functions [hide private]
 
generate_pingback_content(soup, target, max_length, trunc_char='...')
Generate a description text for the pingback
source code
 
pingback_ping(source, target)
pingback.ping(sourceURI, targetURI) => 'Pingback message'
source code
 
pingback_extensions_get_pingbacks(target)
pingback.extensions.getPingbacks(url) => '[url, url, ...]'
source code
Variables [hide private]
  UNDEFINED_ERROR = 0
  SOURCE_DOES_NOT_EXIST = 16
  SOURCE_DOES_NOT_LINK = 17
  TARGET_DOES_NOT_EXIST = 32
  TARGET_IS_NOT_PINGABLE = 33
  PINGBACK_ALREADY_REGISTERED = 48
  __package__ = 'zinnia.xmlrpc'
Function Details [hide private]

pingback_ping(source, target)

source code 

pingback.ping(sourceURI, targetURI) => 'Pingback message'

Notifies the server that a link has been added to sourceURI, pointing to targetURI.

See: http://hixie.ch/specs/pingback/pingback-1.0

Decorators:
  • @xmlrpc_func(returns= 'string', args= ['string', 'string'])

pingback_extensions_get_pingbacks(target)

source code 

pingback.extensions.getPingbacks(url) => '[url, url, ...]'

Returns an array of URLs that link to the specified url.

See: http://www.aquarionics.com/misc/archives/blogite/0198.html

Decorators:
  • @xmlrpc_func(returns= 'string[]', args= ['string'])