Home RSS

WordPress Data and Flash Through PHP and XML

Tim Wilson has just posted PressConnect, a "PHP script which interigates a WordPress database and returns posts, pages, and creates menus in an XML format."

Tim's site/blog runs a completely Flash front-end using WordPress as the content management system, so he has some experience making Flash and WordPress work together. You can even see the normal WP install at this URL.

On his PressConnect page he explains the necessary process of retrieving the data from the WP database and using PHP to format it as XML. This concept isn't exactly new, but Tim has done everyone researching the topic a favor by explaining the process in detail, creating a diagram, and posting some of the PHP code which interfaces with WP. Just another example of the Flash community giving back.

For other takes on the same idea see Arpit's blog Code Zen and Brendan Dawes' wp-xml file (link to the file is at the very end of the post).

Theatre said,

November 8, 2007 @ 5:47 am

That is cool.

web hosting review said,

November 12, 2007 @ 7:13 am

Good job!
You’ve mentioned that this concept is not exactly new… could you pls. elaborate on the previous forms or formats in which the same concept existed? Thnx!

Jon MacDonald said,

November 12, 2007 @ 7:51 am

The two links at the end of the post are similar solutions I could find. XMLRPC is also another solution you could look at. See the WordPress docs for more information.

web hosting review said,

November 13, 2007 @ 10:12 pm

Thanx Jon

Nowak said,

December 2, 2007 @ 11:04 am

Isn’t this the same as exporting in WordPress?

Elias the Linux Hosting Guy said,

December 11, 2007 @ 10:39 am

Nice for the developer, bad for the user. Flash can be so annoying. Sorry, personal opinion.

RSS feed for comments on this post

 
Powered by WordPress.