true forService and Hosting provided by Blue Apricot Consulting
http://www.dulwichchessclub.org.uk/gradings.php
I feel as though I have been mid-led (even though I understand what is happening technically)
true forService and Hosting provided by Blue Apricot Consulting
Yes sorry about that - since the Grading site and the new XML interface are all done as total freebies there is a limit to the amount of work people actually want to put inBrent Smith wrote:I don't give up that easy however, so its on to the JavaScript / AJAX version, and possibly working out the underlying XML over HTTP (which I presume the SOAP interface is just a wrapper for). Note to self: must get this done before new grading list is published.
Not a big issue, honest!Ian Kingston wrote:Carl
Re the West Nottingham site: I'll stick a copyright notice on the relevant page as soon as I can - probably tomorrow.
It's a shame the SOAP interface is not available to me, because it looks very promising. I got the AJAX version to work by installing Firefox 3.5. However, it didn't work with IE8 (at least not for me). I also tried to use HTTP directly, but kept getting a "SOAP-ENV:Client Bad Request" error. There are so many possible reasons why this didn't work, but the generic error message doesn't enable me to drill any further. I'm not clear how the AJAX method works but the test HTTP page I wrote does not - prob my fault in some way.Carl Hibbard wrote:Yes sorry about that - since the Grading site and the new XML interface are all done as total freebies there is a limit to the amount of work people actually want to put inBrent Smith wrote:I don't give up that easy however, so its on to the JavaScript / AJAX version, and possibly working out the underlying XML over HTTP (which I presume the SOAP interface is just a wrapper for). Note to self: must get this done before new grading list is published.
Bad form I know to reply to my own posting, but as an update, I have managed to get the interface to work without using the SoapClient class. It's possible to use fopen() with a URL as the "file name", and some POST data, and get the output as a stream. The stream can simply be assigned to a variable which (since it contains an XML document) can then be read using your favourite PHP functions for handling XML (thankfully, most of these are part of the standard distribution). If people feel it would be useful, I could post the final PHP script once I've completed the XML bit.Brent Smith wrote:It's a shame the SOAP interface is not available to me, because it looks very promising. I got the AJAX version to work ... yada, yada yada
I tried to attach it to this post, but failed (file extensions php, txt and blank all rejected - Carl, tell me why! ), so have added the actual code within this message. It works from my local client PC, and from one website I support which uses PHP/mySQL, but fails on another one (hosted by a different ISP, with whom I have lodged a query), so I can't promise it will work for everyone. The sample code gets all the "Berkshire Junior" players.John Upham wrote:Brent,
Good stuff! Please post the code.
It's the default within this software were attachments are not allowed unless I change the settingsBrent Smith wrote:I tried to attach it to this post, but failed (file extensions php, txt and blank all rejected - Carl, tell me why! )
The interface is back on the test site and as soon as it's approved and working I will promote it to liveCarl Hibbard wrote:Due to the delay in the official/printed grading release this interface will probably not be released to live until September
Sorry for the delay