xmpp - Integrating Google Talk to web app using strophe.js and punjab -


i'm trying integrate google talk (a.k.a. gtalk) web app. it's going tight integration, google talk chatback badge, , embedding google's flash based web client using iframe won't job.

i'll need build client scratch if there not html based client available on web. after doing research, think solution use strophe.js front-end , punjab middleware communicate google talk server. sound right? there blog post or tutorial covers topic?

for front-end, strophe.js able pull contact list; as, online status of contacts? i'm trying understand big picture first before digging further. right now, punjab complete black box me. appears there not setting once installed , running.

any comments?

i first make understand question. think can understand question in 2 ways, give 2 different answers. if want have same functionality google talk chatback badge visitor of website can chat gtalk account(jid) think should have @ section b)

i think link strophe.js author pretty interesting explaining "which bosh server need"

a) want use gtalk chat other users in roster

http://web.archiveorange.com/archive/v/kjzwxpjeygfvyawpjnzm

quote matthew wild(author prosody.im):

there's difference between connecting remote server, , logging into remote server. indicated wanted log remote servers.

if want send messages local users using bosh remote users on other servers, ejabberd's mod_bosh fine. if want allow bosh users log into own accounts other servers, need use punjab, or connection manager (ejabberd of no use if aren't using logging into).

hope helps, matthew.

b) want users visiting site chat you

i don't think gtalk(google) likes use gtalk's server bosh connections, other users visiting website can talk you. in case think should have own xmpp server. nice thing xmpp standard interoperable other servers, gtalk jid.

you example use nice prosody.im has bosh built-in. using strophe prosody.im simple.

professional xmpp

furthermore recommend read book professionalxmpp learn how use strophe.js. can read preview scribd.

for front-end, strophe.js able pull contact list; as, online status of contacts? i'm trying understand big picture first before digging further. right now, punjab complete black box me. appears there not setting once installed , running.

i think can information at:

contact list => chapter 6, building roster => requesting rosters 

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -