[jdev] Know JID of the publisher from the published item

andy nes andynes83 at gmail.com
Sun Dec 16 10:30:10 UTC 2012


Hey,

I was wondering if a subscriber can know the jid of the publisher from just
the published item. The publisher and subscriber are not in each other's
rosters.

Now when I see the xml stanza of the incoming item, I see the address of
the pubsub service, the subscriber jid and the <item/>.

The subscriber in my application needs to know who has published the item,
just by looking at it. Is it doable. I can just have the JID of the
publisher as part of the custom item stanza and send as part of the
published item, but want to find out if there are any better ways to do it.

Second,
Whats the difference when a node is configured with 'headline' and 'normal'
for its* notification_type.*
*
*
/andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20121216/5177bbf0/attachment.html>


More information about the JDev mailing list