Six Apart Code

<<

NAME

MT::XMLRPCServer

SYNOPSIS

An XMLRPC API interface for communicating with Movable Type.

CALLBACKS

APIPreSave.entry

    callback($eh, $mt, $entry, $original_entry)
Called before saving a new or existing entry. If saving a new entry, the $original_entry will have an unassigned 'id'. This callback is executed as a filter, so your handler must return 1 to allow the entry to be saved.

APIPostSave.entry

    callback($eh, $mt, $entry, $original_entry)
Called after saving a new or existing entry. If saving a new entry, the $original_entry will have an unassigned 'id'.

APIUploadFile

    callback($eh, %params)
This callback is invoked for each file the user uploads to the weblog. This callback is similar to the CMSUploadFile callback found in MT::App::CMS.

Parameters

File

The full physical file path of the uploaded file.

Url

The full URL to the file that has been uploaded.

Type

For this callback, this value is currently always 'file'.

Blog

The MT::Blog object associated with the newly uploaded file.

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 850:

You forgot a '=back' before '=head3'

Around line 872:

=back without =over

<<

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.