E
dit
A
ttach
P
rintable
r2 - 13 Jun 2008 - 00:10:12 -
HecPeAre
You are here:
TWiki
>
Rails Web
>
Jabber
http://trypticon.org/software/actionmessenger/
http://www.ruby-forum.com/search?query=jabber&submit=Search
http://home.gna.org/xmpp4r/
--
HecPeAre
- 11 Dec 2007
http://rubyforge.org/projects/ruburple/
--
HecPeAre
- 11 Dec 2007
http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/
sudo aptitude install install libxmpp4r-ruby
irb
require 'xmpp4r/client'
include Jabber
client = Client.new(JID::new("somejabberaccount@somewhere.com"))
client.connect
client.auth("my_extremely_secret_password")
client.send(Presence.new.set_type(:available))
msg = Message::new("john@somejabberserver.com", "Hello… John?")
msg.type=:chat
client.send(msg)
--
HecPeAre
- 12 Jun 2008
msg = Message::new("john@somejabberserver.com", "Hello… John?")
msg.type=:chat
client.send(msg)
pres = Presence.new.set_type(:subscribe).set_to("john@someserver.com")
client.send(pres)
--
HecPeAre
- 12 Jun 2008
http://github.com/ln/xmpp4r/tree/master/data/doc/xmpp4r/examples
--
HecPeAre
- 13 Jun 2008
E
dit
|
A
ttach
|
P
rintable
|
R
aw View
|
Backlinks:
We
b
,
A
l
l Webs
|
H
istory
: r2
<
r1
|
M
ore topic actions
Rails
Log In
or
Register
Rails Web
Create New Topic
Index
Search
Changes
Notifications
Statistics
Preferences
Webs
Cesar
F
General
Main
Rails
Sandbox
TWiki
Cesky
Dansk
Deutsch
English
Español
Français
Italiano
Nederlands
Polski
Português
Русский
Svenska
简体中文
簡體中文
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback