Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > BOOK: Professional XMPP Programming with JavaScript and jQuery
|
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 November 15th, 2012, 02:39 PM
Authorized User
 
Join Date: Nov 2012
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If there is any way where I can see time stamps for all incoming messages then please let me know. It will be a real helpful for me as it is urgent to me.

I am waiting to see any response.

Thanks
 
Old November 15th, 2012, 03:36 PM
Authorized User
 
Join Date: Nov 2012
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can any body tell me if this is correct way to send time stamp while sending a message
var msg = $msg({to: sendjid, type: 'chat',id: 'ping1',stamp: '2012-11-16T23:08:25Z'})
.c('body').t(text);
alert(msg);
Arthur.connection.send(msg);


will this time stamp is the correct time stamp for receiving a incoming message?
 
Old November 17th, 2012, 12:16 AM
Wrox Author
 
Join Date: Jan 2010
Posts: 178
Thanks: 0
Thanked 16 Times in 15 Posts
Default

If the message was not delayed you can use wall clock time. Time is not normally stamped since it's assumed to be near real-time. The exceptions to this are offline messages and chat history, etc, which get stamped with the <delay> tag.





Similar Threads
Thread Thread Starter Forum Replies Last Post
File transfer using jingle in XMPP Purushotham BOOK: Professional XMPP Programming with JavaScript and jQuery 2 February 17th, 2015 07:25 AM
Openfire and xmpp:restart sarahgt BOOK: Professional XMPP Programming with JavaScript and jQuery 1 February 5th, 2012 08:10 PM
Establishing XMPP connection badinar BOOK: Professional XMPP Programming with JavaScript and jQuery 0 January 20th, 2011 06:27 PM
XMPP server authentication badinar BOOK: Professional XMPP Programming with JavaScript and jQuery 1 January 17th, 2011 01:50 PM
What about NoSQL over xmpp? flossy BOOK: Professional XMPP Programming with JavaScript and jQuery 2 June 28th, 2010 02:22 PM





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