[jdev] questions using pubsub
Orion
ma46508 at umac.mo
Thu Jul 7 12:51:31 CDT 2005
Hi,
I am new to jabber, using ejabberd 0.9.1 and Psi.
I am able to create a node and publish an item.
for example:
=======================================================
<iq type="set"
from="admin at localhost"
to="pubsub.localhost"
id="publish1">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<publish node="home/localhost/admin/egw">
<item id="current">
<tune xmlns="http://jabber.org/protocol/tune">
<artist>Ralph Vaughan Williams</artist>
<title>Concerto in F for Bass Tuba</title>
<source>Golden Brass: The Collector's Edition</source>
</tune>
</item>
</publish>
</pubsub>
</iq>
=======================================================
I found that subscribers can only view the message in XML console. My question
is: How can the subscribers get the published item like normal chat
message(signal the subscriber for incoming message)?
Thanks.
Orion
More information about the JDev
mailing list