From: <kr...@po...> - 2003-02-09 07:22:51
|
Adam Rifkin writes: > For example, do_method=whoami was added to pubsub.py ... of course, > when running pubsub.py I see that [pubsub.py] does not, at present, > work. Will need to go through it carefully to determine why. Last time I tried pubsub.py, it didn't work with any apps because the apps expect to find the event router at "../../cgi-bin/pubsub.cgi", while pubsub.py puts it at "/kn", the same place KnowNow's product does. I've begun making the necessary changes to the apps and the Perl server to use "/kn" instead, but haven't finished. IIRC, pubsub_test.cgi showed that pubsub.py more or less worked, except for some features without which nearly all apps should still work (off-host routes, content-transform, content-filter, and event replay, IIRC), but it doesn't test the all-important JavaScript tunnel format at all. It appears to me that the sending code for that format is in &PubSub::Topic::send, and the receiving code is split between the JavaScript parser in a browser and _kn_sendCallback in pubsub_raw.js. Inspection of the code doesn't suggest that the formats have changed much --- except for nameU and valueU --- since I wrote pubsub.py in early 2001. I'll try it out soon, but not tonight. -- <kr...@po...> Kragen Sitaker <http://www.pobox.com/~kragen/> Edsger Wybe Dijkstra died in August of 2002. The world has lost a great man. See http://advogato.org/person/raph/diary.html?start=252 and http://www.kode-fu.com/geek/2002_08_04_archive.shtml for details. |