<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>iMedia Ventures &#187; xml-rpc</title>
	<atom:link href="http://imedia-ventures.com/tag/xml-rpc/feed/" rel="self" type="application/rss+xml" />
	<link>http://imedia-ventures.com</link>
	<description>Websites and Mobile Apps</description>
	<lastBuildDate>Mon, 09 Apr 2012 10:59:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Accessing WordPress Content from Other Software (Flash, etc)</title>
		<link>http://imedia-ventures.com/accessing-wordpress-content-from-other-software-flash-etc/</link>
		<comments>http://imedia-ventures.com/accessing-wordpress-content-from-other-software-flash-etc/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 16:12:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Websites]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[xml-rpc]]></category>

		<guid isPermaLink="false">http://imedia-ventures.com/?p=226</guid>
		<description><![CDATA[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 &#8230; <a href="http://imedia-ventures.com/accessing-wordpress-content-from-other-software-flash-etc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fimedia-ventures.com%2Faccessing-wordpress-content-from-other-software-flash-etc%2F&amp;title=Accessing%20WordPress%20Content%20from%20Other%20Software%20%28Flash%2C%20etc%29" id="wpa2a_2"><img src="http://imedia-ventures.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>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).</p>
<p>WordPress allows you to do this using <a href="http://codex.wordpress.org/XML-RPC_wp">WordPress XML-RPC</a> which are remote function calls using XML. If you are using Action Script (say via Flex) there is a <a href="http://code.google.com/p/as3-rpclib/">as3 xml-rpc library</a> you can use to make this simpler. As noted in my <a href="http://imedia-ventures.com/adobe-flex-and-connecting-to-wordpress/">previous post</a>, the library requires a small tweak or you can download my <a href="http://imedia-ventures.com/as3-rpclib.swc">recompiled as3 xml-rpc library</a> file. You need to put this in the libs directory in your project.</p>
<p>A typical call to WordPress might be: makeCall(&#8220;metaWeblog.getRecentPosts&#8221;,[_blogid,_user,_password,count]). After doing some research the blog id isn&#8217;t used by a non-MU WordPress website so I just put &#8217;1&#8242; in there.</p>
<p>Here&#8217;s another <a href="http://jonniespratley.com/tag/flex-tutorial/">good tutorial on using XML-RPC with Flex</a>. You can get more information on <a href="http://tldp.org/HOWTO/XML-RPC-HOWTO/xmlrpc-howto-intro.html">what is XML-RPC</a>.</p>
<p>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 <a href="http://imedia-ventures.com/consulting-services/">internet consulting services</a>.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fimedia-ventures.com%2Faccessing-wordpress-content-from-other-software-flash-etc%2F&amp;title=Accessing%20WordPress%20Content%20from%20Other%20Software%20%28Flash%2C%20etc%29" id="wpa2a_4"><img src="http://imedia-ventures.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://imedia-ventures.com/accessing-wordpress-content-from-other-software-flash-etc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Flex and Connecting to WordPress</title>
		<link>http://imedia-ventures.com/adobe-flex-and-connecting-to-wordpress/</link>
		<comments>http://imedia-ventures.com/adobe-flex-and-connecting-to-wordpress/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 23:19:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Websites]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[adobe flex]]></category>
		<category><![CDATA[flex 3]]></category>
		<category><![CDATA[xml-rpc]]></category>

		<guid isPermaLink="false">http://imedia-ventures.com/?p=222</guid>
		<description><![CDATA[If you&#8217;re a developer you&#8217;ve probably been frustrated with the concept of using a movie/timeline concept with keyframes in order to create a website or application. While it might be fine for animations it never made sense to me to &#8230; <a href="http://imedia-ventures.com/adobe-flex-and-connecting-to-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fimedia-ventures.com%2Fadobe-flex-and-connecting-to-wordpress%2F&amp;title=Adobe%20Flex%20and%20Connecting%20to%20WordPress" id="wpa2a_6"><img src="http://imedia-ventures.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>If you&#8217;re a developer you&#8217;ve probably been frustrated with the concept of using a movie/timeline concept with keyframes in order to create a website or application. While it might be fine for animations it never made sense to me to use it for more static type applications.</p>
<p>Luckily Adobe came up with <a href="http://www.adobe.com/products/flex/">Flex 3</a> which also runs within the Eclipse IDE for developing rich internet applications.</p>
<p>I&#8217;ve recently been working with it to connect to WordPress for its data (rather than hardcoding the content in the application or using some other database) using the XML-RPC apis.  Luckily there is an api for use with Flex over at <a href="http://code.google.com/p/as3-rpclib/">Google code</a>.</p>
<p>Of course right off the bat, we hit a snag &#8211; the api doesn&#8217;t work with Flex 3 without making code changes to the api and recompiling. Surprising since the api&#8217;s been out for a while. So I extracted the api zip file into a directory and went into a DOS command line and ran the following (using a flex executable from the install directory):</p>
<p>C:\Documents and Settings\Owner.WILL\My Documents\Workspaces\rpcLibrary&gt;&#8221;c:\Prog<br />
ram Files\Adobe\Flex Builder 3\sdks\3.2.0\bin&#8221;\compc.exe -source-path .\src -nam<br />
espace http://ak33m.com/mxml .\src\manifest.xml -include-namespaces http://ak33m<br />
.com/mxml -output=.\bin\as3-rpclib.swc</p>
<p>basically you&#8217;re using the compc.exe file wherever you installed flex. I ran this from the root of the xml-rpc directory (from the api zip file extraction). So the src directory was a child of this directory. My wordpress flex app now compiles! If you want to save yourself the trouble you can <a href="http://imedia-ventures.com/as3-rpclib.swc">download my recompiled as3 xml-rpc library</a>.</p>
<p>I&#8217;ll post more as I make discoveries!</p>
<p>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 <a href="http://imedia-ventures.com/consulting-services/">internet consulting services</a>.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fimedia-ventures.com%2Fadobe-flex-and-connecting-to-wordpress%2F&amp;title=Adobe%20Flex%20and%20Connecting%20to%20WordPress" id="wpa2a_8"><img src="http://imedia-ventures.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://imedia-ventures.com/adobe-flex-and-connecting-to-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

