iMedia Ventures

Websites and Mobile Apps

Accessing WordPress Content from Other Software (Flash, etc)

| 0 comments

Share

Sometimes 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.

Share

Leave a Reply