Is there any example of the XML structure for WordPress’ XMLRPC service? Specifically with the metaWeblog.newPost method inside.
Thanks a lot!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think you’ll find that the Atom Publishing Protocol (“AtomPub”) is a much more well-defined, well-documented, easy to use API than Metaweblog’s XMLRPC API. The format of AtomPub is that of the Atom Syndication Format which is very cleanly defined and has lots of implementations in many different languages.
AtomPub has been supported in WordPress since version 2.3, so unless you’re on an older version than that, it should just be to
POSTyour<entry>documents to your heart’s desire.