Re: Publishing with the Python client
[email protected] Sat, 2 Apr 2005 16:06:49 -0600
| Newsgroups | gmane.comp.web.mod-pubsub.devel |
|---|---|
| Message-ID | <[email protected]> |
Adam: > > Nevermind. I looked at the publish.py and subscribe.py to see what's = going > on. > > The semantics are a bit confusing because the payload size is being u= sed > to > > generate the payload. Perhaps an echo pub and sub would have been eas= ier > to > > understand (I actually did just that with the example). >=20 > You can actually blame the unclear thinking on me. I really was > learning Python as I was writing those toy apps -- and it shows. ;) No worries, we all start somewhere. It might be good to have some update= d examples or cookbook scripts to get people started. For example, one thin= g I'd like to know right now is how to suppress all of the status messages when= using the lib. I'm actually using the tests/rss_scroller.html as a base templat= e and playing around with things in there and it would be great to have it runn= ing without all of the status and log messages. Any suggestions? Also, is the best way to load the libraries with the /kn?do_method=3Dlib = call? Which directory does the server serve the js files from? I'm unclear abou= t the difference between the kn_client* directories. > > As for why it wasn't updating on the JS client, I'm not sure. After s= ome > > fiddling though, it's working now. >=20 > If you are ever able to isolate the behavior, we'd love to know. It was probably user error. Perhaps I didn't have the JS client subscribe= d to the right topic.=20 > If you want some older, more experimental (read: *very* prototypey) > apps to play with, feel free to download the April 20, 2004 tarball > from Sourceforge (v0.994 -- long before the much cooler and much more > bug free repubsub came along): LOL. I would actually prefer some newer, less experimental apps to play w= ith. The current directory structure is a little confusing, particularly since= it acts as the web directory. It might make sense to encapsulate the web dir= and explicitly create folders for the examples and client libs. An installer = might be nice too, so the server can sit somewher within /opt or /var. I can he= lp out in this area if anyone is interested.=20 Regards, Brian --=20 =3D=3D=3D=3D brian lee dae yung biomimetic art and research mux space . com ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick