Wordpress XMLRPC Tip Required

I was tasked with creating an API to extract and add content to Wordpress from a flash application and legacy CMS (non-PHP). My plan is to use the existing xmlrpc default endpoint and add any additional functionality by creating a plugin that intercepts xmlrpc_methods.

A previous attempt was made by another developer based on the following code:

http://blog.5ubliminal.com/posts/remote-control-wordpress-blog-xmlrpc-api/

This code looks bulky and poorly documented for me, and I prefer to use this approach:

http://kovshenin.com/archives/custom-xml-rpc-methods-in-wordpress/

I would be grateful if someone who has experience in this field can confirm that:

  • I will be able to distinguish individual blogs in the MU installation when both receiving and sending data via XMLRPC
  • I can receive and send to custom fields
  • writing a plugin is the way to go.

We are unable to use Wordpress 3 because it is still in beta and we are under the pressure of time.

I would really appreciate any material / advice.

Many thanks,

+5
source share
2 answers

I have worked with the WordPress XMLRPC system before (using the WP-Hive installation with several separate blogs, similar to setting up WPMU). The new approach that you use is definitely simpler and easier to implement (I also tried the 5-pin for the first time).

, MU, , . , , WordPress. .

" " , XMLRPC, , ( WordPress). , XMLRPC - XMLRPC () .

, .

- . ( BAD) , MU . MU , -.

+2

Wordpress XMLRPC , . IXR_Library XML-/. , , Wordpress wordpress.com.

http://www.hurricanesoftwares.com/wordpress-xmlrpc-posting-content-from-outside-wordpress-admin-panel/ ()

  • , MU, , $params ( 0 site_id).
  • , , ( , " " script)
  • WP , , , . , tumblr, Wordpress Posterous, API. , .
+2

All Articles