Re: Publishing with the Python client
[email protected] Fri, 1 Apr 2005 09:41:05 -0800
| Newsgroups | gmane.comp.web.mod-pubsub.devel |
|---|---|
| Message-ID | <[email protected]> |
> > > 1. Any reason why a message payload isn't being sent?
> > Uh... not sure I understand this question.
> 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 used to
> generate the payload. Perhaps an echo pub and sub would have been easier to
> understand (I actually did just that with the example).
You can actually blame the unclear thinking on me. I really was
learning Python as I was writing those toy apps -- and it shows. ;)
> As for why it wasn't updating on the JS client, I'm not sure. After some
> fiddling though, it's working now.
If you are ever able to isolate the behavior, we'd love to know.
> > > I was also having trouble getting the RSS streamer client to work locally
> > The RSS streamer can't work locally because nothing is actually sending
> > events
> > to the server. A third party, Syndic8, sends them to Mod-pubsub.org. I
> > didn't
> > even know it was in the package.
> Well that would explain it. The file is tests/rss_scroller.html.
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):
http://sourceforge.net/project/showfiles.php?group_id=66293&package_id=64172
Insert disclaimer about it being old, buggy stuff here. But there are
some really interesting little apps lurking in there if you have some
time to spend and don't mind poking around.
Adam
-------------------------------------------------------
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=6595&alloc_id=14396&op=click