Created
May 12, 2010 13:39
-
-
Save azu/398599 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var request = <methodCall> | |
<methodName>metaWeblog.newPost</methodName> | |
<params> | |
<param> | |
<value> | |
<string>{this.blogid}</string> | |
</value> | |
</param> | |
<param> | |
<value> | |
<string>{this.username}</string> | |
</value> | |
</param> | |
<param> | |
<value> | |
<string>{this.password}</string> | |
</value> | |
</param> | |
<param> | |
<value> | |
<struct> | |
<member> | |
<name>title</name> | |
<value> | |
<string>{title}</string> | |
</value> | |
</member> | |
<member> | |
<name>description</name> | |
<value> | |
<string>{desc}</string> | |
</value> | |
</member> | |
<member> | |
<name>categories</name> | |
<value> | |
<array> | |
<data> | |
<value>{categories}</value> | |
</data> | |
</array> | |
</value> | |
</member> | |
<member> | |
<name>mt_keywords</name> | |
<value> | |
<string>{tags}</string> | |
</value> | |
</member> | |
<member> | |
<name>mt_allow_comments</name> | |
<value> | |
<boolean>1</boolean> | |
</value> | |
</member> | |
<member> | |
<name>mt_convert_breaks</name> | |
<value> | |
<string>0</string> | |
</value> | |
</member> | |
</struct> | |
</value> | |
</param> | |
<param> | |
<value> | |
<boolean>1</boolean> | |
</value> | |
</param> | |
</params> | |
</methodCall>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment