[JDEV] Please unsubscribe me thanks

Mala Bankal mala_bankal at yahoo.com
Tue Jul 22 23:28:58 CDT 2003


 --- jdev-request at jabber.org wrote: > Send jdev
mailing list submissions to
> 	jdev at jabber.org
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 	http://mailman.jabber.org/listinfo/jdev
> or, via email, send a message with subject or body
> 'help' to
> 	jdev-request at jabber.org
> 
> You can reach the person managing the list at
> 	jdev-admin at jabber.org
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of jdev digest..."
> 
> 
> Today's Topics:
> 
>    1. RE: Can I get roster of certain group?
> (Ru-Shan Cheng)
>    2. Re: JID Validation using REGEX (Sebastian
> Vollnhals)
>    3. Jabber Server to Server Protocol Docs (test
> test)
> 
> --__--__--
> 
> Message: 1
> From: "Ru-Shan Cheng" <minamy at pchome.com.tw>
> To: <jdev at jabber.org>
> Subject: RE: [JDEV] Can I get roster of certain
> group?
> Date: Tue, 22 Jul 2003 10:28:27 +0800
> Reply-To: jdev at jabber.org
> 
> 
> hi ,
> 
> 	I had tried to get roster of certain group.
> 	
> 	The client send : 
> 		<iq id="get_group_roster" type="get">
>   		  <query xmlns="jabber:iq:roster">
>                                      <limit
> group='AAAA'/>
>   		  </query>
> 		</iq>
> 	
> 	The server can accept this xml packet, and return
> all roster in user's spool file.
> 	
> 	So I tried to add some behavior in
> mod_roster_out_iq() in /jsm/modules/mod_roster.c.
> 	All I want to do in mod_roster_out_iq() is :
> 	
> 	  1. Get the group name in client's xml packet.
> 	  2. Get the temporary roster got from xdb :
> (xmlnode_t*) roster.  (line 253 in mod_roster.c)
> 	  3. Check each item's group name in roster.
>   	       If item's group name is the same as
> client's request, we have to keep the item in
> roster.
> 	       Otherwise, we have to remove this item in
> roster .
> 	  4. Then roster will keep the contact list of
> certain group.
> 	  5. Do the same operation as line 255 in
> mod_roster.c.
> 	  
> 	But I had a question about the item deletion in
> xmlnode_t.
> 	I had look up the xmlnode.c, but I can't find how
> to remove a child node from parent.
> 	Can Anyony show me how to remove an xmlnode
> appropriately?
> 	
> 	Thanks a lot!!
> 
> -----Original Message-----
> From: jdev-admin at jabber.org
> [mailto:jdev-admin at jabber.org]On Behalf Of Matthias
> Wimmer
> Sent: Wednesday, July 16, 2003 3:25 PM
> To: jdev at jabber.org
> Subject: Re: [JDEV] Can I get roster of certain
> group?
> 
> Tot kijk Matthias schrieb pm 2003-07-16 03:25:
> 
> > > What kind of solutions will cost less efforts or
> form better architecture?
> 
> > Setting the type of an iq to "group_roster" is not
> allowed. Using your
> > own namespaces for queries is, but you are not
> allowed to build your own
> > namespaces that start with "jabber:". But your
> company (or you as a
> > private person) for sure has a http address, that
> can be used to build
> > namespaces. You could even use your email-adress
> with the "mailto:"
> > prefix as a namespaces.
> 
> > Therefore the following queries would not break
> any rules:
> 
> > <iq type='get'>
> >     <query
>
xmlns='http://yourcompany.example.com/xmlns/limitedroster'>
> >         <limit group='A'/>
> >     </query>
> > </iq>
> 
> > But you could even extend the normal query. This
> would make your client
> > compatible with servers that don't implement your
> extension:
> 
> > <iq type='get'>
> >     <query xmlns='jabber:iq:roster'>
> >         <limit
> > 
>
xmlns='http://yourcompany.example.com/xmlns/limitedroster'
> > 	group='A'/>
> >     </query>
> > </iq>
> ÿÿÝýR  ÿÿ ôÿþ m§ÿÿyÙÿ¦¸ÿz-©z¿Ü¢oíÃ÷%?Éÿ¦ ÿißÜ¡××?¹
>  &{ûÿ[ÿÿÿøÿÿüÿ ÿÿOÿÿ 5ÿÿÿÿz m§ÿÿ² )¦)àþ-!¢gÿr?ÿ· 
> 
> --__--__--
> 
> Message: 2
> From: Sebastian Vollnhals <sebastian at vollnhals.info>
> To: jdev at jabber.org
> Subject: Re: [JDEV] JID Validation using REGEX
> Date: Mon, 21 Jul 2003 15:32:13 +0200
> Reply-To: jdev at jabber.org
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> > chris at jabber.org/laptop
> > chris/laptop
> > jabber.org
> > chris at jabber.org
> 
> chris at localhost is also possible ;O)
> 
> - -- 
>  \|/ ____ \|/         | sebastian vollnhals      
> 5D0D C03D
>  '@"/ ., \"@'     web | http://home.yetzt.org    
> 0DDB 2200
>  /_| \_ / |_\  jabber | yetzt at jabber.org         
> FEB5 C7C9
>     \__U_/        fon | +49 162 9025114          
> 7B5A F013
>  don't panic!  gpgkey | 0x6F65196C | fingerprint:
> AF16 CA8E
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> 
>
iD8DBQE/G+tge1rwE68Wyo4RAgMyAJ9vwA3UaZ5mNKNttupeY2ZesGXloQCffUvf
> 0mmZtdQMBztQjrFAoFa2ntE=
> =k7+j
> -----END PGP SIGNATURE-----
> 
> 
> --__--__--
> 
> Message: 3
> Date: Tue, 22 Jul 2003 08:22:50 -0700 (PDT)
> From: test test <imlajay at yahoo.com>
> To: jdev at jabber.org
> Subject: [JDEV] Jabber Server to Server Protocol
> Docs
> Reply-To: jdev at jabber.org
> 
> --0-1001999759-1058887370=:64049
> Content-Type: text/plain; charset=us-ascii
> 
> Hello,
>  
> I've looked through the Jabber docs and was able to
> make a Jabber client and learn a great deal about
> the client/server Jabber protocol.
> I am interested in learning more about the details
> of the communication between jabber servers.  Any
> help would be greatly appreciated.
>  
> Thanks,
>  
> -Ajay
>  
> 
> 
> ---------------------------------
> Do you Yahoo!?
> 
=== message truncated === 

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/



More information about the JDev mailing list