Publishing an event -- Event structure?

Steven Chan <[email protected]> Fri, 17 Dec 2004 19:39:51 +0800
Newsgroups gmane.comp.web.mod-pubsub.general
Message-ID <[email protected]>
Hi,

I've gotten the repubsub python server up and running and have hacked at 
the test scripts trying to understand what's going on.

It seems that the structure of an event is very much different from what 
is in the docs from the april 2004 tarball.

It seems that events are javascript associative arrays and I can publish 
if I specify the method key as "notify" and I can specify a payload.

But I want to append more data to the event like the rss scroller with 
s8_sitename etc. etc. However, when I add more keys to the event array, 
only the payload seems to get through. All the rest of the data 
disappears from the event array on the event handler side. Also, payload 
is reindexed as kn_payload. How do I structure events to pass data properly?

Thanks

Steven



-------------------------------------------------------
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://productguide.itmanagersjournal.com/