Monday, November 08, 2010 at 12:06 AM.
system.verbs.builtins.tcp.im.builtinDrivers.jabber.code.examples.pubsub.callbacks.subscribeService
on subscribeService (url, serviceAdr) {
<<Changes:
<<5/13/02; 11:11:20 PM by JB
<<Changelog created.
<<If the user is accepting xmlStorageSystem publication events over Jabber, this callback will also register the subscription through a jabber bridge.
if defined ( system.temp.jabber.connection ) and user.im.jabber.prefs.acceptXSSpubs { // if Jabber is on and we are accepting publication events
if defined ( serviceAdr^.compilation.cloud ) {
with serviceAdr^.compilation.cloud, tcp.im.builtinDrivers.jabber.code {
messages.pubsubSubscribe(user.im.jabber.prefs.xssBridge, protocol + "@" + domain + ":" + port + path + "/" + registerProcedure, url)}}}}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.