<?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>Mats Lindh &#187; XML-RPC</title>
	<atom:link href="http://e-mats.org/category/xml-rpc/feed/" rel="self" type="application/rss+xml" />
	<link>http://e-mats.org</link>
	<description>Where desperate is just another word for a regular day.</description>
	<lastBuildDate>Wed, 02 May 2012 15:12:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>XRPC_Server &#8211; A PHP XML-RPC Server Class</title>
		<link>http://e-mats.org/2008/04/xrpc_server-a-php-xml-rpc-server-class/</link>
		<comments>http://e-mats.org/2008/04/xrpc_server-a-php-xml-rpc-server-class/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 20:01:17 +0000</pubDate>
		<dc:creator>Mats</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[XML-RPC]]></category>
		<category><![CDATA[OpenSource]]></category>

		<guid isPermaLink="false">http://push.lindh.no/~mats/wordpress/wordpress/?p=25</guid>
		<description><![CDATA[XRPC_Server is a simple as possible XML-RPC server component I wrote for a project a year or two ago, and is a good alternative if you want to try to stay away from large frameworks or complex components. The component is license under the MIT License, so you&#8217;re pretty much free to do whatever you [...]]]></description>
			<content:encoded><![CDATA[<p><a title="XRPC_Server.tar.bz2" href="/uploads/XRPC_Server.tar.bz2" target="_blank" title="XRPC_Server.tar.bz2">XRPC_Server</a> is a simple as possible XML-RPC server component I wrote for a project a year or two ago, and is a good alternative if you want to try to stay away from large frameworks or complex components. The component is license under the MIT License, so you&#8217;re pretty much free to do whatever you want with it. All patches are welcome! The server requires PHP5 and reflection enabled.</p>
<p>Usage is as simple as requiring the php-file into your &quot;gateway&quot; page  (the URL you&#8217;ll be calling from your XML-RPC clients), and then creating the server object with the functions you want to expose as the argument to the constructor:</p>
<div class="geshi no php">
<div class="head">$server = new XRPC_Server(array(</div>
<ol>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="st0">&#39;multiply&#39;</span> <span class="sy0">=&gt;</span> <span class="st0">&#39;test_xmlrpc_multiply&#39;</span><span class="sy0">,</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="st0">&#39;dateTest&#39;</span> <span class="sy0">=&gt;</span> <span class="st0">&#39;test_xmlrpc_date_test&#39;</span><span class="sy0">,</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="st0">&#39;assoc&#39;</span> <span class="sy0">=&gt;</span> <span class="st0">&#39;test_xmlrpc_assoc&#39;</span><span class="sy0">,</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="st0">&#39;array&#39;</span> <span class="sy0">=&gt;</span> <span class="st0">&#39;test_xmlrpc_array&#39;</span><span class="sy0">,</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
</ol>
</div>
<p>A simple file illustrating the usage is also included, XRPC_Server_Test.php.</p>
<p>You can see the source code of the server at <a href="http://docs.e-mats.org/XRPC_Server.class.phps">XRPC_Server.phps</a> .</p>
<p>The class can be downloaded from this site: <a href="/uploads/XRPC_Server.tar.bz2">XRPC_Server.tar.bz2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://e-mats.org/2008/04/xrpc_server-a-php-xml-rpc-server-class/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

