Six Apart Developer Center

Developer Center Home » XML-RPC » metaWeblog API »

metaWeblog.editPost

Posted by Byrne Reese on January 16, 2006

Updates a post identified by the post ID in the request. Method returns true if successful, or a fault otherwise.

Notes: the struct content can contain the following standard keys:

  • title, for the title of the entry;
  • description, for the body of the entry;
  • dateCreated, to set the created-on date of the entry.

In addition, Movable Type’s implementation allows you to pass in values for five other keys:

  • int mt_allow_comments, the value for the allow_comments field;
  • int mt_allow_pings, the value for the allow_pings field;
  • String mt_convert_breaks, the value for the convert_breaks field;
  • String mt_text_more, the value for the additional entry text;
  • String mt_excerpt, the value for the excerpt field;
  • String mt_keywords, the value for the keywords field;
  • array mt_tb_ping_urls, the list of TrackBack ping URLs for this entry;

If specified, dateCreated should be in ISO.8601 format.

Parameters

  • String postid
  • String username
  • String password
  • struct content
  • boolean publish

Sample Request

Sample Response

Perl Code Sample

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.