MoTD or Openfire setting edit through PHP, curl or other non java API

Hell all,

***I am not a java programmer.

I hope ther’s a simple response to this questions; however I am looking for the ability to update the MoTD, using Ryan’s MoTD plugin, in order to cinorporate information from the application I am creating/using. This application is coded in PHP and runs on Mysql. I have already tried editing the MYSQL DB ofProperty entry through PHP; however this fails as the settings are cached.

My questions are:

  1. Is there a web based API for openfire?
  2. If not is there one for MoTD?
  3. If not is there an API in general for making changes to the openfire DB using curl requests for example?

Thanks for anyresponses or links to the right direction.

Take a look at http://code.google.com/p/openfirejs/

Thank you very much Dele. This seems very useful. Is there a PHP cariant of this?