<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Unofficial Statement &#187; spark</title>
	<atom:link href="http://www.puneetgupt.com/category/spark/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.puneetgupt.com</link>
	<description>Startups, Internet, Technology, Finance</description>
	<lastBuildDate>Fri, 16 Apr 2010 03:25:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Experiments with im bot programming</title>
		<link>http://www.puneetgupt.com/technology/experiments-with-im-bot-programming/</link>
		<comments>http://www.puneetgupt.com/technology/experiments-with-im-bot-programming/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 13:33:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[gtalk bot]]></category>
		<category><![CDATA[im bot]]></category>
		<category><![CDATA[jabber bot]]></category>
		<category><![CDATA[lib jingle]]></category>
		<category><![CDATA[smack api]]></category>
		<category><![CDATA[spark]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[xmpp]]></category>

		<guid isPermaLink="false">http://www.puneetgupt.com/?p=4</guid>
		<description><![CDATA[All of today, I was trying to explore more on programming an im bot for gTalk. Most of the things work out of the box, if you are using a  library for xmpp, like smack, with the exception of file transfer. I did end up spending a considerable time on trying to send a [...]]]></description>
			<content:encoded><![CDATA[<p>All of today, I was trying to explore more on programming an im bot for gTalk. Most of the things work out of the box, if you are using a  library for xmpp, like <a href="http://www.igniterealtime.org/projects/smack/index.jsp">smack</a>, with the exception of file transfer. I did end up spending a considerable time on trying to send a file from an im bot to a user on gTalk.</p>
<p>It seems that file transfer between gTalk client (the one by google) and smack does not work, even though the gTalk server supports it. This is because the gTalk client uses the <a href="http://xmpp.org/extensions/xep-0166.html">jingle specification</a> for voice streaming, video streaming, and file-sharing sessions. Google uses and promotes, <a href="http://code.google.com/apis/talk/libjingle/index.html">libjingle</a>, a c++ library to achieve the same.</p>
<p>That said, file transfer on google talk servers can still work if one uses a third party client, like <a href="http://www.igniterealtime.org/downloads/index.jsp">spark.</a> There are many more freely available clients that one can use.</p>
<p><a href="http://www.igniterealtime.org/downloads/index.jsp">Smack</a>, the xmpp library from ignitedrealtime.org does seem to support jingle in some form or the other, but the same is not well documented and I could not find enough samples to make it work with google. It seems that there are some differences between google and ignited realtime&#8217;s implementation of jingle specifications as well.</p>
<p>I have the scaffoldings ready now, and will share them on this blog soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.puneetgupt.com/technology/experiments-with-im-bot-programming/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
