<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>El Tramo | SleekXMPP</title>
  <subtitle>Remko Tronçon's Homepage</subtitle>
  <link href="http://el-tramo.be/blog/tag/sleekxmpp/feed/" rel="self" type="application/rss+xml"/>
  <link href="http://el-tramo.be/"/>
  <updated>2011-12-30T17:00:29+01:00</updated>
  <id>http://el-tramo.be/</id>
  <author>
    <name>Remko Tronçon</name>
    <uri>http://el-tramo.be/about/</uri>
  </author>
  
  <entry>
    <title>“XMPP: The Definitive Guide” Code Examples</title>
    <author>
      <name>Remko Tronçon</name>
      <uri>http://el-tramo.be/about/</uri>
    </author>
    <link href="http://el-tramo.be/blog/xmpp-tdg-code"/>
    <updated>2009-07-13T00:00:00+02:00</updated>
    <id>http://el-tramo.be/blog/xmpp-tdg-code</id>
    <content type="html">Although the primary focus of &lt;a href=&quot;http://oreilly.com/catalog/9780596521264/&quot;&gt;&lt;em&gt;XMPP: The Definitive Guide&lt;/em&gt;&lt;/a&gt; is explaning the XMPP protocol and all its extensions through text and illustrations, we also included a few Python code examples to help people get started with implementing their own ideas. In fact, we devoted a whole chapter to building an XMPP application, starting out with a simple bot implementation, but gradually extending the application into a full server component. For people who want to try this out for themselves, we’re releasing the &lt;a href=&quot;/git/xmpp-tdg/snapshot/xmpp-tdg-master.zip&quot;&gt;source code of all code examples&lt;/a&gt;, including a &lt;a href=&quot;/git/xmpp-tdg/tree/code/EchoBot&quot;&gt;simple echo bot&lt;/a&gt;, and different variants of the &lt;a href=&quot;/git/xmpp-tdg/tree/code/CheshiR&quot;&gt;CheshiR microblogging platform XMPP interface&lt;/a&gt;.

&lt;!--more--&gt;

All examples are built using the lightweight &lt;a href=&quot;http://code.google.com/p/sleekxmpp/&quot;&gt;SleekXMPP&lt;/a&gt; Python XMPP library. In fact, SleekXMPP is so lightweight that we included a version in the source bundle, making it even easier to get started implementing your own bots and components.

Do bear in mind that these examples only serve illustrative purposes for the book, so don’t expect very robust code. Although making this code fail-safe is not really our primary goal (since that would involve a lot of code that would only distract the reader), we &lt;em&gt;do&lt;/em&gt; welcome bug reports or fixes.

The code examples are available as a &lt;a href=&quot;/git/xmpp-tdg/snapshot/xmpp-tdg-master.zip&quot;&gt;source package&lt;/a&gt;, or directly from the &lt;a href=&quot;/git/xmpp-tdg&quot;&gt;Git repository&lt;/a&gt; (mirrored on &lt;a href=&quot;http://github.com/remko/xmpp-tdg&quot;&gt;GitHub&lt;/a&gt;). We will soon put a link to the package on &lt;a href=&quot;http://oreilly.com/catalog/9780596521264/&quot;&gt;the book’s webpage&lt;/a&gt;.
</content>
  </entry>
  
</feed>

