Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
xmpp api unsubscribe
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
tong  
View profile  
 More options Nov 10 2010, 2:44 pm
From: tong <tong.diskt...@gmail.com>
Date: Wed, 10 Nov 2010 20:44:01 +0100
Local: Wed, Nov 10 2010 2:44 pm
Subject: xmpp api unsubscribe

hi,

unsubscribing from the search node seems to unsubscibe from all active
searches for the (anonymous guest) jid,
not just the one specified by a subid ...

<iq to="search.collecta.com" id="zvOT6_6" type="set"><pubsub xmlns=
"http://jabber.org/protocol/pubsub"
<http://jabber.org/protocol/pubsub>><unsubscribe
jid="3948853199128941610876...@guest.collecta.com/9423599141289416108627277"<3948853199128941610876...@guest.collecta.com/9423599141289416108627277>node="search"
subid="50965971CB2E21317DE3A0"/></pubsub></iq>

<iq to=
"3948853199128941610876...@guest.collecta.com/9423599141289416108627277"<3948853199128941610876...@guest.collecta.com/9423599141289416108627277>from="
search.collecta.com" id="zvOT6_6" type="result"/>

.. as i no longer get updates for other subscriptions on the search node.

is there another way to unsubscribe from a single search ?

/tong


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christopher Zorn  
View profile  
 More options Nov 10 2010, 2:51 pm
From: Christopher Zorn <christopher.z...@gmail.com>
Date: Wed, 10 Nov 2010 14:51:51 -0500
Local: Wed, Nov 10 2010 2:51 pm
Subject: Re: xmpp api unsubscribe

This should work. If you unsubscribe with a subid and it fails it will not
unsubscribe all subscriptions. It would send an item-not-found error or it
would just keep sending data. The error case should not be a removal of all
subscriptions. Do you do anything else before or after the unsubscribe?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tong  
View profile  
 More options Nov 10 2010, 3:09 pm
From: tong <tong.diskt...@gmail.com>
Date: Wed, 10 Nov 2010 21:09:28 +0100
Local: Wed, Nov 10 2010 3:09 pm
Subject: Re: xmpp api unsubscribe

no error .. as expected a iq-result, but then all updates stop (get
unsubscribed).
i don't send anything before the unsubscribe.

On Wed, Nov 10, 2010 at 8:51 PM, Christopher Zorn <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tong  
View profile  
 More options Nov 10 2010, 3:30 pm
From: tong <tong.diskt...@gmail.com>
Date: Wed, 10 Nov 2010 21:30:41 +0100
Local: Wed, Nov 10 2010 3:30 pm
Subject: Re: xmpp api unsubscribe

hm .. stange, i just had one out of about 50 cases where it worked as
expected .. maybe i have a nasty bug somewhere else in my application.
nevermind for now, on bug hunt here.

btw:
i am developing a google chrome browser extension for collecta search.
you can install a very early version from here:
http://collecta.disktree.net/

.. i wouldn't let it turned on while not in front of the computer since
currently there are no limits for recieving updates which could be a
disaster if you recieve a looot of them.

thx/tong


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tong  
View profile  
 More options Nov 10 2010, 8:20 pm
From: tong <tong.diskt...@gmail.com>
Date: Thu, 11 Nov 2010 02:20:02 +0100
Local: Wed, Nov 10 2010 8:20 pm
Subject: Re: xmpp api unsubscribe

i've extracted the unsubscription thing having the same problem ..

here is the test i've used:
http://collecta.disktree.net/test_unsubscription/
(open firebug/dev-console to track XMPP transfer)
.. creates two subscriptions one for 'test' and one for 'another'
.. if you unsubscribe from one it stops getting updates for the other too.

below is an unsubscription including the subid:

<iq to="search.collecta.com" id="HGN+J_6" type="set"><pubsub xmlns="
http://jabber.org/protocol/pubsub"><unsubscribe jid="
354107801289436748180...@guest.collecta.com/23052939121289436748698023"
node="search" subid="5096AA0D929741454B7230"/></pubsub></iq>

<iq to="
354107801289436748180...@guest.collecta.com/23052939121289436748698023"
from="search.collecta.com" id="HGN+J_6" type="result"/>

TestApp.hx:44 : Unubscribed [test]

seems to be a bug on your side or i am missing something
.. but i don't know what ()


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christopher Zorn  
View profile  
 More options Nov 11 2010, 8:12 am
From: Christopher Zorn <christopher.z...@gmail.com>
Date: Thu, 11 Nov 2010 08:12:17 -0500
Local: Thurs, Nov 11 2010 8:12 am
Subject: Re: xmpp api unsubscribe

Thanks for the information. We are looking into this and will get back with
what we find.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »