Wrox Programmer Forums
|
BOOK: Professional XMPP Programming with JavaScript and jQuery
This is the forum to discuss the Wrox book Professional XMPP Programming with JavaScript and jQuery by Jack Moffitt; ISBN: 978-0-470-54071-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional XMPP Programming with JavaScript and jQuery section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 17th, 2012, 03:48 AM
Registered User
 
Join Date: Mar 2012
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default ch06 there is no name in "add a contact"

hello,everyone,I have a difficulty when I learn the ch06 in Professional XMPP Programming with JavaScript and jQuery .I have created an account through http://register.jabber.org.but the account only hava a JID without a name.but there are JID and name in the Gab contact_dialog called add a contact .who could help tell me what the name is?and where could I see and edit my account name?thank you very much!
我是一个中国女孩,可能我上面的英语表达不好,如果你也能正巧看懂汉语,我想用汉语表达一次: 我在http://register.jabber.org申请了一个XMPP账...4;Professional XMPP Programming with JavaScript and jQuery第六章的时候有一个添加新联系人(add a contact ),它设计有JID和name,我不知道这个name具体是什么;在哪可以查看、编辑。因此我便无法添加新 联系人。我等待你的帮助解答,谢谢!
 
Old April 17th, 2012, 11:59 AM
Wrox Author
 
Join Date: Jan 2010
Posts: 178
Thanks: 0
Thanked 16 Times in 15 Posts
Default

Quote:
Originally Posted by jli08 View Post
hello,everyone,I have a difficulty when I learn the ch06 in Professional XMPP Programming with JavaScript and jQuery .I have created an account through http://register.jabber.org.but the account only hava a JID without a name.but there are JID and name in the Gab contact_dialog called add a contact .who could help tell me what the name is?and where could I see and edit my account name?
The name is just any name you would like that JID to be referenced by. It is set by you, not by the server, and it's only purpose is to serve as identification for you instead of having to remember the JID. This is the name that will be displayed in the roster list. If you leave it blank, it will just display the JID.
 
Old April 20th, 2012, 09:42 PM
Registered User
 
Join Date: Mar 2012
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by metajack View Post
The name is just any name you would like that JID to be referenced by. It is set by you, not by the server, and it's only purpose is to serve as identification for you instead of having to remember the JID. This is the name that will be displayed in the roster list. If you leave it blank, it will just display the JID.
Thanks very much,but where can I set my name? when I apply a JID there isn't a name.so I can't set or edit my name.I'm waiting your help.thank you!
 
Old April 20th, 2012, 10:46 PM
Wrox Author
 
Join Date: Jan 2010
Posts: 178
Thanks: 0
Thanked 16 Times in 15 Posts
Default

You can set a name for a contact when you store the contact in your roster.

You aren't in your own roster, so you're own name must get stored somewhere else, generally as client state.

XEP-0172 talks about how to communicate your name to others.

http://xmpp.org/extensions/xep-0172.html
The Following User Says Thank You to metajack For This Useful Post:
jli08 (April 21st, 2012)
 
Old April 21st, 2012, 01:27 AM
Registered User
 
Join Date: Mar 2012
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I get it.thank you very much!Have a good dream~~~





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with "Add New" cmdbtn Unbound Form Dissconnected Recordset iamerin BOOK: Beginning Access 2007 VBA ISBN: 978-0-470-04684-5 1 October 15th, 2015 03:30 AM
MSXSL gives error message for "for" inside "select" ilyaz XSLT 1 December 9th, 2010 05:02 PM
How to theme the "Browse" button of "FileUpload" control? varunbwj BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 October 14th, 2009 01:22 AM
Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F ismailc C# 2005 0 September 25th, 2009 04:56 AM
Chapter-5 on Intents:ContactPickerTester does not show the button "Pick a Contact" sunilm12 BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 3 April 15th, 2009 11:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.