<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: IM Integration With XMPP4r : Part 2</title>
	<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/</link>
	<description>Because programming should be fun</description>
	<pubDate>Tue, 08 Jul 2008 21:05:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.2</generator>

	<item>
		<title>By: Dan Simard</title>
		<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-522</link>
		<author>Dan Simard</author>
		<pubDate>Tue, 29 Jan 2008 14:18:56 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-522</guid>
					<description>It was completly clear! I'm glad you write about XMPP4R because nobody wants to talk about it... almost no documentation, no examples and no blog posts. Is XMPP4R taboo?</description>
		<content:encoded><![CDATA[<p>It was completly clear! I&#8217;m glad you write about XMPP4R because nobody wants to talk about it&#8230; almost no documentation, no examples and no blog posts. Is XMPP4R taboo?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: links for 2008-01-30 &#171; Bloggitation</title>
		<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-523</link>
		<author>links for 2008-01-30 &#171; Bloggitation</author>
		<pubDate>Wed, 30 Jan 2008 00:21:17 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-523</guid>
					<description>[...] IM Integration With XMPP4r : Part 2 (tags: ruby jabber programming) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] IM Integration With XMPP4r : Part 2 (tags: ruby jabber programming) [&#8230;]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: IceskYsl</title>
		<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-524</link>
		<author>IceskYsl</author>
		<pubDate>Wed, 30 Jan 2008 01:43:13 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-524</guid>
					<description>so cool~ thx~</description>
		<content:encoded><![CDATA[<p>so cool~ thx~</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Stephane Wirtel</title>
		<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-525</link>
		<author>Stephane Wirtel</author>
		<pubDate>Wed, 30 Jan 2008 09:02:41 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-525</guid>
					<description>I don't know if XMPP4R is taboo, but I am interrested by this project. A bit of documentation would be welcome.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know if XMPP4R is taboo, but I am interrested by this project. A bit of documentation would be welcome.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: IceskYsl</title>
		<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-526</link>
		<author>IceskYsl</author>
		<pubDate>Wed, 30 Jan 2008 10:03:28 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-526</guid>
					<description>A chinese version is here..
http://docs.google.com/View?docid=dhf86kr9_188gmpnw5hf</description>
		<content:encoded><![CDATA[<p>A chinese version is here..<br />
<a href="http://docs.google.com/View?docid=dhf86kr9_188gmpnw5hf" rel="nofollow">http://docs.google.com/View?docid=dhf86kr9_188gmpnw5hf</a></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Tyler</title>
		<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-527</link>
		<author>Tyler</author>
		<pubDate>Wed, 30 Jan 2008 19:33:52 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-527</guid>
					<description>Hey, thanks a lot.  I've coincidentally been playing around with this a bunch.  I've been having a problem with status synchronization with Google Talk.  For example, say I want to connect, get my status, message it to a test account, then update it.  I can't seem to get the changes to apply if I login to Google Talk from another client (say GMail)  Any ideas?</description>
		<content:encoded><![CDATA[<p>Hey, thanks a lot.  I&#8217;ve coincidentally been playing around with this a bunch.  I&#8217;ve been having a problem with status synchronization with Google Talk.  For example, say I want to connect, get my status, message it to a test account, then update it.  I can&#8217;t seem to get the changes to apply if I login to Google Talk from another client (say GMail)  Any ideas?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Frank</title>
		<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-529</link>
		<author>Frank</author>
		<pubDate>Thu, 31 Jan 2008 13:12:49 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-529</guid>
					<description>@Dan,

Yeah sometimes I wonder if Xmpp4r is taboo too... no one wants to talk about it! I have to say it is not the most actively supported gem around. I'm currently seriously thinking about writing my own for XMPP. Next step is to stop thinking about it and to actually do it :)


@Tyler,

Are you talking about the status itself (busy, available, etc) or the status message? We have experienced problems trying to set the status message with XMPP4r and we have simply stopped investigating on the issue.

If you are speaking about the status itself that doesn't update... well I'm not quite sure about the source of the problem. Maybe it has something to do with the fact that you are trying to set your status manually (technically it should work but there might be a bug in xmpp4r). Could you send me the code you are using to accomplish what you want? I would be more able to help you with your problem.</description>
		<content:encoded><![CDATA[<p>@Dan,</p>
<p>Yeah sometimes I wonder if Xmpp4r is taboo too&#8230; no one wants to talk about it! I have to say it is not the most actively supported gem around. I&#8217;m currently seriously thinking about writing my own for XMPP. Next step is to stop thinking about it and to actually do it <img src='http://www.rubyfleebie.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>@Tyler,</p>
<p>Are you talking about the status itself (busy, available, etc) or the status message? We have experienced problems trying to set the status message with XMPP4r and we have simply stopped investigating on the issue.</p>
<p>If you are speaking about the status itself that doesn&#8217;t update&#8230; well I&#8217;m not quite sure about the source of the problem. Maybe it has something to do with the fact that you are trying to set your status manually (technically it should work but there might be a bug in xmpp4r). Could you send me the code you are using to accomplish what you want? I would be more able to help you with your problem.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: roScripts &#45; Webmaster resources and websites</title>
		<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-530</link>
		<author>roScripts &#45; Webmaster resources and websites</author>
		<pubDate>Thu, 31 Jan 2008 16:15:06 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-530</guid>
					<description>&lt;strong&gt;Ruby Fleebie &#xBB; IM Integration With XMPP4r : Part 2...&lt;/strong&gt;

Ruby Fleebie &#xBB; IM Integration With XMPP4r : Part 2...</description>
		<content:encoded><![CDATA[<p><strong>Ruby Fleebie &#xBB; IM Integration With XMPP4r : Part 2&#8230;</strong></p>
<p>Ruby Fleebie &#xBB; IM Integration With XMPP4r : Part 2&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Mislav</title>
		<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-533</link>
		<author>Mislav</author>
		<pubDate>Mon, 04 Feb 2008 05:32:25 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-533</guid>
					<description>Frank,

It's great that you're writing about this. Both were excellent articles and I hope you'll keep it up.</description>
		<content:encoded><![CDATA[<p>Frank,</p>
<p>It&#8217;s great that you&#8217;re writing about this. Both were excellent articles and I hope you&#8217;ll keep it up.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Frank</title>
		<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-534</link>
		<author>Frank</author>
		<pubDate>Mon, 04 Feb 2008 16:21:25 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-534</guid>
					<description>@Mislav,

I'm glad you like the articles. There will be a 3rd part for sure (that might be the final one, but I'm not sure of yet).

I really think IM integration is not used enough in today web applications. Some people see it as a gimmick, but to me nothing could be farther from the truth.

Thanks for your comment</description>
		<content:encoded><![CDATA[<p>@Mislav,</p>
<p>I&#8217;m glad you like the articles. There will be a 3rd part for sure (that might be the final one, but I&#8217;m not sure of yet).</p>
<p>I really think IM integration is not used enough in today web applications. Some people see it as a gimmick, but to me nothing could be farther from the truth.</p>
<p>Thanks for your comment</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Introduction to XMPP and XMPP4R for Ruby Developers &#124; Computer &#38; Internet</title>
		<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-538</link>
		<author>Introduction to XMPP and XMPP4R for Ruby Developers &#124; Computer &#38; Internet</author>
		<pubDate>Tue, 12 Feb 2008 00:40:41 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-538</guid>
					<description>[...] XMPP4R to integrate with Instant Messaging systems. The first part is a basic overview, and the second part is a basic demo of creating an XMPP client. Frank expects to continue the series on his [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] XMPP4R to integrate with Instant Messaging systems. The first part is a basic overview, and the second part is a basic demo of creating an XMPP client. Frank expects to continue the series on his [&#8230;]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Don Park</title>
		<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-550</link>
		<author>Don Park</author>
		<pubDate>Sat, 22 Mar 2008 16:39:42 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-550</guid>
					<description>mangled resource names?
i connect with
jid = JID::new('me@gmail.com/yin')
client = Client::new(jid)
client.connect('talk.google.com')
client.auth(password)
it took a while to figure out how to connect to talk.google.com instead of gmail.com

and send with
    to = "me@gmail.com/yang"
    subject = "from yin to yang"
    body = "help"
    m = Message::new(to, body).set_type(:normal).set_id('1').set_subject(subject)
    puts "sending: #{m.inspect}"
    client.send m

i have a 'yang' version of the same program to receive the message. yang never gets the message and my pidgin IM program pops up with the "help" message from
me@gmail.com/yin04223891

do you know whats with the extra digits in the resource name?</description>
		<content:encoded><![CDATA[<p>mangled resource names?<br />
i connect with<br />
jid = JID::new(&#8217;me@gmail.com/yin&#8217;)<br />
client = Client::new(jid)<br />
client.connect(&#8217;talk.google.com&#8217;)<br />
client.auth(password)<br />
it took a while to figure out how to connect to talk.google.com instead of gmail.com</p>
<p>and send with<br />
    to = &#8220;me@gmail.com/yang&#8221;<br />
    subject = &#8220;from yin to yang&#8221;<br />
    body = &#8220;help&#8221;<br />
    m = Message::new(to, body).set_type(:normal).set_id(&#8217;1&#8242;).set_subject(subject)<br />
    puts &#8220;sending: #{m.inspect}&#8221;<br />
    client.send m</p>
<p>i have a &#8216;yang&#8217; version of the same program to receive the message. yang never gets the message and my pidgin IM program pops up with the &#8220;help&#8221; message from<br />
<a href="mailto:me@gmail.com/yin04223891">me@gmail.com/yin04223891</a></p>
<p>do you know whats with the extra digits in the resource name?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Nilu</title>
		<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-554</link>
		<author>Nilu</author>
		<pubDate>Thu, 10 Apr 2008 11:09:58 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-554</guid>
					<description>I was trying to implement a chat client using this tutorial but it seems that my messages do not get recieved. I am using a local host for this. The client seems to send the messages (at least it doesn't give me any errors) but when i run an another instance of the program and try to recieve messages, the messages do not show. Any ideas as to why this may be? Thank you in advance for any help</description>
		<content:encoded><![CDATA[<p>I was trying to implement a chat client using this tutorial but it seems that my messages do not get recieved. I am using a local host for this. The client seems to send the messages (at least it doesn&#8217;t give me any errors) but when i run an another instance of the program and try to recieve messages, the messages do not show. Any ideas as to why this may be? Thank you in advance for any help</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Frank</title>
		<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-555</link>
		<author>Frank</author>
		<pubDate>Thu, 10 Apr 2008 11:56:11 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-555</guid>
					<description>@Don Park,

Sorry for the late answer. The digits after the resource name is an auto-generated ID... you do not have control over it. I believe it gets assigned by your Jabber server (in this case, talk.google.com). 

Now about the problem you are facing, I realize I forgot to include something important in my article..shame on me. You have to subscribe to the other contact. I update the original post, look above.

@Nilu,

It is probably my fault for that again! I forgot to talk about the subscription part.. look at the end of this post... I wrote an update. I'm sorry about that</description>
		<content:encoded><![CDATA[<p>@Don Park,</p>
<p>Sorry for the late answer. The digits after the resource name is an auto-generated ID&#8230; you do not have control over it. I believe it gets assigned by your Jabber server (in this case, talk.google.com). </p>
<p>Now about the problem you are facing, I realize I forgot to include something important in my article..shame on me. You have to subscribe to the other contact. I update the original post, look above.</p>
<p>@Nilu,</p>
<p>It is probably my fault for that again! I forgot to talk about the subscription part.. look at the end of this post&#8230; I wrote an update. I&#8217;m sorry about that</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Nilu</title>
		<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-556</link>
		<author>Nilu</author>
		<pubDate>Thu, 10 Apr 2008 23:06:26 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-556</guid>
					<description>Thanks for the update! :D</description>
		<content:encoded><![CDATA[<p>Thanks for the update! <img src='http://www.rubyfleebie.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Nilu</title>
		<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-557</link>
		<author>Nilu</author>
		<pubDate>Thu, 10 Apr 2008 23:22:56 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-557</guid>
					<description>I also found out that Client class does not contain 'add_update_callback' the Rsoter::Helper class does...</description>
		<content:encoded><![CDATA[<p>I also found out that Client class does not contain &#8216;add_update_callback&#8217; the Rsoter::Helper class does&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Nilu</title>
		<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-602</link>
		<author>Nilu</author>
		<pubDate>Thu, 08 May 2008 10:28:34 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-602</guid>
					<description>You said that the callbacks are in a separate thread, so then how will the main thread (which is the client) actually receive the message? How would it communicate with the client? I don't seem to be able to receive messages, although i can send them successfully even when i use the roster.</description>
		<content:encoded><![CDATA[<p>You said that the callbacks are in a separate thread, so then how will the main thread (which is the client) actually receive the message? How would it communicate with the client? I don&#8217;t seem to be able to receive messages, although i can send them successfully even when i use the roster.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Leonardo Boiko</title>
		<link>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-628</link>
		<author>Leonardo Boiko</author>
		<pubDate>Wed, 25 Jun 2008 02:08:53 +0000</pubDate>
		<guid>http://www.rubyfleebie.com/im-integration-with-xmpp4r-part-2/#comment-628</guid>
					<description>@Nilu: I had the same problem as you.  Looking at the examples that came with the debian package libxmpp4r-ruby-doc, I found this:

  Thread.stop
  client.close

next to the end of the script, after you set your callbacks.  Works for me.  See echo_threaded.rb for more.</description>
		<content:encoded><![CDATA[<p>@Nilu: I had the same problem as you.  Looking at the examples that came with the debian package libxmpp4r-ruby-doc, I found this:</p>
<p>  Thread.stop<br />
  client.close</p>
<p>next to the end of the script, after you set your callbacks.  Works for me.  See echo_threaded.rb for more.</p>
]]></content:encoded>
				</item>
</channel>
</rss>
