metaWeblog.newPost
Creates a new post, and optionally publishes it. If the post is successful, this method will return the ID assigned to the post by the publishing system. Otherwise, it will return a fault.
Parameters
- String blogid
- String username
- String password
- struct content
- boolean publish
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.
