Deleting posts in WordPress via XMLRPC
Somehow I find it impossible to find a definite list of the methods that WordPress supports via xmlrpc. This whole blogging API thing seems quite messy. Anyway, I wanted to find out if there is a method to delete posts. Neither the outdated Blogger API nor the MetaWeblog API mention one (or maybe I'm blind). Googling around (almost) randomly however, I found several places that talk about a method blogger.deletePost
. The nice guys from SixApart even have a nice documentation for deletePost. So, here is the method signature in short:
- blogger.deletePost (appKey, postID, username, password, publish)
returns boolean
If appKey is irrelevant (as it would be with a a WordPress installation), leave it at 0.
Exactly what I need, thanks!
0 Comments:
Post a Comment
<< Home