Chyrp

XML-RPC

Extensible XML-RPC interface for remotely controlling your Chyrp install.

Summary
XML-RPC Extensible XML-RPC interface for remotely controlling your Chyrp install.
XMLRPC Provides functionality for using external clients, services, etc. for accessing and adding to Chyrp.
Functions
__construct Registers the various XMLRPC methods.
pingback_ping Receive and register pingbacks.  Calls the “pingback” trigger.
metaWeblog_getRecentPosts Returns a list of the most recent posts.
metaWeblog_getCategories Returns a list of all categories to which the post is assigned.
metaWeblog_newMediaObject Uploads a file to the server.
metaWeblog_getPost Retrieves a specified post.
metaWeblog_newPost Creates a new post.
metaWeblog_editPost Updates a specified post.
blogger_deletePost Deletes a specified post.
blogger_getUsersBlogs Returns information about the Chyrp installation.
blogger_getUserInfo Retrieves a specified user.
mt_getRecentPostTitles Returns a bandwidth-friendly list of the most recent posts.
mt_getCategoryList Returns a list of categories.
mt_getPostCategories Returns a list of all categories to which the post is assigned.
mt_setPostCategories Sets the categories for a post.
mt_supportedTextFilters Returns an empty array, as this is not applicable for Chyrp.
getRecentPosts Returns an array of the most recent posts.
convertFromDateCreated Converts an IXR_Date (in $args[‘dateCreated’]) to SQL date format.
auth Authenticates a given login and password, and checks for appropriate permission
error_handler
exception_handler

XMLRPC

Provides functionality for using external clients, services, etc. for accessing and adding to Chyrp.

Summary
Functions
__construct Registers the various XMLRPC methods.
pingback_ping Receive and register pingbacks.  Calls the “pingback” trigger.
metaWeblog_getRecentPosts Returns a list of the most recent posts.
metaWeblog_getCategories Returns a list of all categories to which the post is assigned.
metaWeblog_newMediaObject Uploads a file to the server.
metaWeblog_getPost Retrieves a specified post.
metaWeblog_newPost Creates a new post.
metaWeblog_editPost Updates a specified post.
blogger_deletePost Deletes a specified post.
blogger_getUsersBlogs Returns information about the Chyrp installation.
blogger_getUserInfo Retrieves a specified user.
mt_getRecentPostTitles Returns a bandwidth-friendly list of the most recent posts.
mt_getCategoryList Returns a list of categories.
mt_getPostCategories Returns a list of all categories to which the post is assigned.
mt_setPostCategories Sets the categories for a post.
mt_supportedTextFilters Returns an empty array, as this is not applicable for Chyrp.
getRecentPosts Returns an array of the most recent posts.
convertFromDateCreated Converts an IXR_Date (in $args[‘dateCreated’]) to SQL date format.
auth Authenticates a given login and password, and checks for appropriate permission
error_handler
exception_handler

Functions

__construct

public function __construct()

Registers the various XMLRPC methods.

pingback_ping

public function pingback_ping( $args )

Receive and register pingbacks.  Calls the “pingback” trigger.

metaWeblog_getRecentPosts

public function metaWeblog_getRecentPosts( $args )

Returns a list of the most recent posts.

metaWeblog_getCategories

public function metaWeblog_getCategories( $args )

Returns a list of all categories to which the post is assigned.

metaWeblog_newMediaObject

public function metaWeblog_newMediaObject( $args )

Uploads a file to the server.

metaWeblog_getPost

public function metaWeblog_getPost( $args )

Retrieves a specified post.

metaWeblog_newPost

public function metaWeblog_newPost( $args )

Creates a new post.

metaWeblog_editPost

public function metaWeblog_editPost( $args )

Updates a specified post.

blogger_deletePost

public function blogger_deletePost( $args )

Deletes a specified post.

blogger_getUsersBlogs

public function blogger_getUsersBlogs( $args )

Returns information about the Chyrp installation.

blogger_getUserInfo

public function blogger_getUserInfo( $args )

Retrieves a specified user.

mt_getRecentPostTitles

public function mt_getRecentPostTitles( $args )

Returns a bandwidth-friendly list of the most recent posts.

mt_getCategoryList

public function mt_getCategoryList( $args )

Returns a list of categories.

mt_getPostCategories

public function mt_getPostCategories( $args )

Returns a list of all categories to which the post is assigned.

mt_setPostCategories

public function mt_setPostCategories( $args )

Sets the categories for a post.

mt_supportedTextFilters

public function mt_supportedTextFilters()

Returns an empty array, as this is not applicable for Chyrp.

getRecentPosts

private function getRecentPosts( $limit )

Returns an array of the most recent posts.

convertFromDateCreated

private function convertFromDateCreated( $args )

Converts an IXR_Date (in $args[‘dateCreated’]) to SQL date format.

auth

private function auth( $login,   
$password,   
$do  =  'add' )

Authenticates a given login and password, and checks for appropriate permission

error_handler

public static function error_handler( $errno,
$errstr,
$errfile,
$errline )

exception_handler

public static function exception_handler( $exception )