Jabbify Comet Service Get Old Messages

2 views
Skip to first unread message

elated

unread,
May 10, 2009, 2:12:25 PM5/10/09
to Jabbify
Hello,

Am wondering if it is possible to get older messages from your comet
service. I wish to start a simple one-on-one chat and i need older
messages (incase the user shuts his/her window and logs in later
again). I want something like

getmessages (40, 'from: XYZ'); // something like this

Thank you for your time.

Calvin

unread,
May 10, 2009, 7:40:09 PM5/10/09
to jab...@googlegroups.com
A method to call older message is good, however, exporting older messages via API would be better.

Calvin
--
/Da Capo/

Justin Meyer

unread,
May 10, 2009, 8:01:54 PM5/10/09
to jab...@googlegroups.com
We are trying to limit our api that has us store data as much as possible.  We want to keep it focused on push technology and not data storage - primarily b/c storage is understood by everyone.  

However, we will make the exception for simple chat clients.

Calvin,
  In my opinion, exporting messages isn't as critical of a feature.  If storage of messages is that important, you can always have the messages saved on your local machine before being pushed out to jabbify.

Justin Meyer

Jupiter IT Solutions
847-924-6039
justin...@gmail.com
AOL: jusbarmey

Calvin

unread,
May 10, 2009, 8:13:07 PM5/10/09
to jab...@googlegroups.com
I understand exporting is not critical nor urgent . I thought since you are storing old messages, exporting would be nice to have in API.
--
/Da Capo/

Justin Meyer

unread,
May 10, 2009, 11:04:45 PM5/10/09
to jab...@googlegroups.com
What do you need?  JSON ok?

Justin Meyer

Jupiter IT Solutions
847-924-6039
justin...@gmail.com
AOL: jusbarmey


Calvin

unread,
May 10, 2009, 11:25:53 PM5/10/09
to jab...@googlegroups.com
Yes, that would be wonderful :) Thanks.

May I dare to suggest some more ideas? It's really up to you guys to implement them though ;)

--
/Da Capo/

Justin Meyer

unread,
May 10, 2009, 11:32:44 PM5/10/09
to jab...@googlegroups.com
Yeah, suggest away!  That's why we have this forum.

Justin Meyer

Jupiter IT Solutions
847-924-6039
justin...@gmail.com
AOL: jusbarmey


Calvin

unread,
May 10, 2009, 11:43:25 PM5/10/09
to jab...@googlegroups.com
Good :)

Jabbify.user_count and Jabbify.users_list

These are already in Javascript API but getting them from server side would be good :)

Second thought, Jabbify.users_list is only needed since we can figure out the user number from Jabbify.users_list

BTW, have you had a change to look at private messaging from server side API and sending arbitrary data?

And lastly, thanks for letting me using this amazing service :) I really appreciate it!!

Calvin
--
/Da Capo/

Justin Meyer

unread,
May 10, 2009, 11:46:35 PM5/10/09
to jab...@googlegroups.com
Private messages of arbitrary data should be possible.  If you are having problems, email brian....@gmail.com and he can help you through it.

The user number is much less expensive for us to give than the users list.  If your site is big enough, there will be penalties for the user_list vs the user count.  

You should be able to get them from the server, just look how the client makes the requests.  

Justin Meyer

Jupiter IT Solutions
847-924-6039
justin...@gmail.com
AOL: jusbarmey


Calvin

unread,
May 10, 2009, 11:52:36 PM5/10/09
to jab...@googlegroups.com
I sent an email to Brian on last Friday and I've been waiting for his reply. I guess I have to wait a bit longer, but no worries :)

Thanks Justin for your kind support, I really enjoy developing with Jabbify.

Calvin
--
/Da Capo/
Reply all
Reply to author
Forward
0 new messages