From: <la...@us...> - 2002-08-30 21:42:15
|
I have checked in the files necessary for an XML-RPC interface, in line with the spec at http://www.ecyrd.com/JSPWiki/Wiki.jsp?page=WikiRPCInterface My tests so far suggest that it works (!), but I would appreciate any feedback. To use the interface, point your XML-RPC client at http://path.to.phpwiki/WikiXMLRPC.php For example, if your wiki is normally at www.example.com/phpwiki/index.php, the XML-RPC interface will be at www.example.com/phpwiki/WikiXMLRPC.php The interface should be available on the test wiki after the nightly update. Lawrence |
From: Lawrence A. <la...@us...> - 2002-09-02 08:18:27
|
I have moved the interface to RPC2.php for consistency with other servers. The address will now be http://path.to.phpwiki/RPC2.php On Friday, August 30, 2002, 10:39:15 PM, la...@us... wrote: > I have checked in the files necessary for an XML-RPC interface, in > line with the spec at > http://www.ecyrd.com/JSPWiki/Wiki.jsp?page=WikiRPCInterface > My tests so far suggest that it works (!), but I would appreciate any > feedback. > To use the interface, point your XML-RPC client at > http://path.to.phpwiki/WikiXMLRPC.php > For example, if your wiki is normally at > www.example.com/phpwiki/index.php, the XML-RPC interface will be at > www.example.com/phpwiki/WikiXMLRPC.php > The interface should be available on the test wiki after the nightly > update. > Lawrence |
From: Jeff D. <da...@da...> - 2002-09-03 19:08:11
|
I think the XML-RPC idea is great. (Out of curiousity, are there any other "standard" wiki RPC API's besides the one at JSPWiki?) Sadly, I can't get http://phpwiki.sourceforge.net/demo/RPC2.php to work. (All I get is 'Unknown Method' errors.) I've tried pointing the XML-RPC validator at http://validator.xmlrpc.com/ at the demo server, and it, too, failed with 'Unknown Method' on all it's tests. (The validator passes on http://xmlrpc.usefulinc.com:80/demo/server.php, which is the demo site for the PHP XML-RPC library you're using...) Any ideas on what might be wrong? |
From: Lawrence A. <la...@us...> - 2002-09-03 21:08:16
|
On Tuesday, September 3, 2002, 8:08:06 PM, Jeff Dairiki wrote: JD> I think the XML-RPC idea is great. (Out of curiousity, are there any JD> other "standard" wiki RPC API's besides the one at JSPWiki?) Not that I know of. The JSPWiki "standard" has been implemented for Twiki, Moin Moin and Openwiki (I think), but there are slight variations in the functionality available JD> Sadly, I can't get http://phpwiki.sourceforge.net/demo/RPC2.php JD> to work. (All I get is 'Unknown Method' errors.) What method are you trying to call? Did you prefix it with "wiki." eg wiki.getAllPages Try this link: http://www.dscpl.com.au/xmlrpc-debugger.php?method=wiki.getAllPages¶ms=()&url=http://phpwiki.sourceforge.net/demo/RPC2.php Don't forget to click execute. JD> I've tried pointing the XML-RPC validator at JD> http://validator.xmlrpc.com/ JD> at the demo server, and it, too, failed with 'Unknown Method' on all JD> it's tests. (The validator passes on JD> http://xmlrpc.usefulinc.com:80/demo/server.php, which is the JD> demo site for the PHP XML-RPC library you're using...) This had be confused for a while too. In fact it is because the validator works by calling certain test methods - see http://www.xmlrpc.com/validator1Docs The idea is that if you write a library, you can test it by implementing the methods within a test script and then and using the validator. It is the server code, not the library which has to implement the methods. I have not written handlers for the validator methods (life's too short) so the phpwiki server does not pass the test. JD> Any ideas on what might be wrong? Let me know if you have any other problems. |
From: Lawrence A. <la...@us...> - 2002-09-03 21:15:26
|
Link in last message probably got garbled. What I meant was: Go to http://www.dscpl.com.au/xmlrpc-debugger.php Type http://phpwiki.sourceforge.net/demo/RPC2.php in the URL box, wiki.getAllPages in the method box, and () in the params box. Then click Execute Sorry Lawrence |
From: Jeff D. <da...@da...> - 2002-09-03 21:56:12
|
> What method are you trying to call? Did you prefix it with "wiki." eg > wiki.getAllPages Aha! That was (most of) my problem... no 'wiki.' prefix. Thanks! |