February 26, 2006 at 5:25AM Planet of the Blogs and IrishBlogs.ie Ping Proxy
Here’s a little something I’ve just knocked together: the talideon.com Planet of the Blogs and IrishBlogs.ie ping proxy. It’s a wee form that lets you ping these two sites without having to use the XML-RPC interface.
I wrote it because my site runs on ColdFusion 5. CF5 is old and its <CFHTTP> tag lets you do regular POSTs and GETs, but won’t let you do raw posts where you can specify the entire body of the request yourself. To hack around this limitation, I wrote a small PHP script that sits on this server. I can post to it using <CFHTTP>, and it can then call the two blogging services using XML-RPC.
My assumption is that both of them use Weblogs.com XML-RPC interface, but whether this is true or not isn’t exactly clear from everything I’ve read. In my tests (and sorry to the sites’ admins for all the noise), IrishBlogs responded pretty well, but POTB was a bit ambiguous as to whether it worked properly or not. Also, POTB’s XML-RPC endpoint appears to be a little buggy (go test using the proxy if you want to see: it dumps back the XML-RPC response).
I hope it’s useful to somebody out there besides me.
Update: Added flushing after each step in the pinging process. Each ping can take a while, so this should ensure that you’re not waiting around wondering if something’s gone wrong.
No comments.