Hi, 

I need some help in setting up the jabber server on my 
linux server. Could any one help me to resolve this small issue
and seems like i am going in circle to fix the problem.

Thank you


--- On Thu, 10/9/08, Julien Genestoux <[EMAIL PROTECTED]> wrote:

> From: Julien Genestoux <[EMAIL PROTECTED]>
> Subject: [jdev] PubSub subscription stanzas
> To: [email protected]
> Date: Thursday, October 9, 2008, 12:26 PM
> Hi everyone,
> I am currently working on a project that involves a XMPP
> PubSub mechanism.
> I am trying to implement a component that will manage this
> since we don't
> want to use a "full" PubSub server.
> 
> Our users will be able to subscribe to a source using both
> a XMPP client and
> our web application.
> When a user subscribes to a node using the XMPP client, it
> is easy, I just
> have to follow what's given here :
> http://xmpp.org/extensions/xep-0060.html#subscriber-subscribe
> 
> However, when he subscribes from our web application, what
> kind of stanza
> should I send, since the request is not coming from the
> xmpp client itself?
> My idea was to send something like :
> 
> <iq type='result'
>     from='pubsub.shakespeare.lit'
>     to='[EMAIL PROTECTED]/barracks'
>     id='sub1'>
>   <pubsub
> xmlns='http://jabber.org/protocol/pubsub'>
>     <subscription
>         node='princely_musings'
>         jid='[EMAIL PROTECTED]'
>        
> subid='ba49252aaa4f5d320c24d3766f0bdcade78c78d3'
>         subscription='subscribed'/>
>   </pubsub>
> </iq>
> 
> But the 'result' in iq type feels weird, since my
> understdanding was that
> resul corresponds to an action that was led by the client?
> Am I wrong? If
> so, can I send something like type='set' ?
> 
> Thanks,
> 
> 
> 
> 
> 
> --
> Julien Genestoux
> [EMAIL PROTECTED]
> http://www.ouvre-boite.com
> 
> Notifixious : http://tinyurl.com/notifixious
> 
> +1 (415) 254 7340
> +33 (0)8 70 44 76 29
> _______________________________________________
> JDev mailing list
> FAQ: http://www.jabber.org/discussion-lists/jdev-faq
> Forum: http://www.jabberforum.org/forumdisplay.php?f=20
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: [EMAIL PROTECTED]
> _______________________________________________


      
_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [EMAIL PROTECTED]
_______________________________________________

Reply via email to