views:

171

answers:

1

Is there a way for me to post as a "contributor" using XMLPRC? Even if it just shows up in the Draft's section to be approved by someone of a higher level?

Is there a workaround for this?

A: 

Actually...

Assuming you're using the metaWeblog API, you can call: metaWeblog.newPost(blogid, username, password, struct, publish)

Where the publish parameter should be 'draft' or 'publish'.

Much better than hacking xmlrpc.php!

Jeff
thanks Ill check
mmundiff
So using metaWeblog.newPost() would circumvent Wordpress Security and allow a Contributor to post Directly? IF so let me know, I did already hack XMLRPC but would rather not go that route if I can do it without altering actual code.
mmundiff
Unfortunately I'm not familiar with whether or not you can restrict a user to only posting drafts via XMLRPC. But hacking xmlrpc.php to make all posts drafts would do the trick and it worked for me.
Jeff