Accessing Wordpress Content from Other Software (Flash, etc)
Posted by: admin in Websites, wordpress, tags: wordpress, xml-rpcSometimes you want to get access to your Wordpress content (blog posts, pages, categories, etc) from external sources. for example if you want to use a different front end such as Flash, or edit your posts from different software (such as the Flock Browser).
Wordpress allows you to do this using Wordpress XML-RPC which are remote function calls using XML. If you are using Action Script (say via Flex) there is a as3 xml-rpc library you can use to make this simpler. As noted in my previous post, the library requires a small tweak or you can download my recompiled as3 xml-rpc library file. You need to put this in the libs directory in your project.
A typical call to Wordpress might be: makeCall(“metaWeblog.getRecentPosts”,[_blogid,_user,_password,count]). After doing some research the blog id isn’t used by a non-MU Wordpress website so I just put ‘1′ in there.
Here’s another good tutorial on using XML-RPC with Flex. You can get more information on what is XML-RPC.
To set up an inexpensive website that you can easily maintain yourself, as well as building email lists, shopping carts or membership sites, please see ourĀ internet consulting services.