<<

NAME

MT::XMLRPCServer

SYNOPSIS

An XMLRPC API interface for communicating with Movable Type.

CALLBACKS

api_pre_save.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.

api_post_save.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'.

api_upload_file
    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.

<<