Discussion:
[PubSub] Know JID of the publisher from the published item
andy nes
2012-12-16 10:30:12 UTC
Permalink
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/pubsub/attachments/20121216/cf72eb5c/attachment.html>
Loading...