Forum OpenACS Q&A: Response to Jabber and Cronjob Modules Available

Collapse
Posted by Tom Jackson on

Shoot, I always forget the most important part! The directory with the modules is http://zmbh.com/discussion/nsjabber/downloads/

I believe the cronjob module is ready for testing. The oracle version may have one bug (incorrect query), but the pg version is complete.

The nsjabber C module simply passes a reference to each xmlnode to a tcl procedure. The developer can define this procedure to do whatever is needed. The C module has additions and improvements over the libjabber C api. Mostly this allows a reference to the tcl interp to pass through the xml stream processor, and to realize when the client has been disconnected from the server. The tcl api includes the following commands:

ns_jabber test | new | delete | start | stop | poll | sendraw | send 
ns_jabber recv | stateget

ns_xode new | string | file | insert_tag | insert_tag_node |
ns_xode insert_node | insert_cdata | wrap | put_attrib | get_attrib
ns_xode to_string | get_tag | get_name | get_data | free