<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>opensoul.org - Tinder: Campfire API Changes</title>
  <id>tag:www.opensoul.org,2010:/2006/12/8/tinder-campfire-api/changes</id>
  <generator version="0.8.0" uri="http://mephistoblog.com">Mephisto Drax</generator>
  <link href="http://www.opensoul.org/2006/12/8/tinder-campfire-api/changes.xml" rel="self" type="application/atom+xml"/>
  <link href="/2006/12/8/tinder-campfire-api" rel="alternate" type="text/html"/>
  <updated>2008-06-19T23:27:42Z</updated>
  <entry xml:base="http://www.opensoul.org/">
    <author>
      <name>brandon</name>
    </author>
    <id>tag:www.opensoul.org,2008-06-19:450:6</id>
    <published>2006-12-08T06:02:00Z</published>
    <updated>2008-06-19T23:27:42Z</updated>
    <link href="http://www.opensoul.org/2006/12/8/tinder-campfire-api" rel="alternate" type="text/html"/>
    <title>Tinder: Campfire API</title>
<content type="html">&lt;p&gt;&lt;strong&gt;update&lt;/strong&gt;: &lt;a href=&quot;/2007/1/27/tinder-listening-is-just-as-important-as-speaking&quot;&gt;Tinder can listen&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;update&lt;/strong&gt;: Tinder is now available as a gem from rubyforge. Check out &lt;a href=&quot;http://rubyforge.org/projects/tinder&quot;&gt;http://rubyforge.org/projects/tinder&lt;/a&gt; for more information.&lt;/p&gt;


	&lt;p&gt;For a project that I&#8217;m currently working, the client wants to be able provide live chat to its users. So, instead of re-inventing the wheel, we decided to try to use &lt;a href=&quot;http://campfirenow.com&quot;&gt;Campfire&lt;/a&gt;.  The only problem is that I need to be able to create and destroy chat rooms automatically, and Campfire doesn&#8217;t have an &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;&lt;a href=&quot;http://caboo.se&quot;&gt;Caboo.se&lt;/a&gt; has done some work on a &lt;a href=&quot;http://www.caboo.se/articles/2006/04/14/meet-marshmallow-the-campfire-bot&quot;&gt;Campfire bot called Marshmallow&lt;/a&gt; but the code repository is unavailable.  And, it doesn&#8217;t seem to allow you to create and delete rooms.&lt;/p&gt;


	&lt;p&gt;So, introducing Tinder, an &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt; for interfacing with Campfire:&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;require 'rubygems'
require 'tinder'
campfire = Tinder::Campfire.new 'mysubdomain'
campfire.login 'myemail@example.com', 'mypassword'
room = campfire.create_room 'New Room', 'My new campfire room to test tinder'
room.speak 'Hello world!'
room.paste File.read(&amp;quot;path/to/your/file.txt&amp;quot;)
room.destroy&lt;/code&gt;&lt;/pre&gt;

	&lt;h3&gt;Install&lt;/h3&gt;


&lt;pre&gt;
gem install tinder
&lt;/pre&gt;

	&lt;p&gt;You can get the source from:&lt;/p&gt;


&lt;pre&gt;
git clone git://github.com/collectiveidea/tinder.git
&lt;/pre&gt;

	&lt;p&gt;Tinder can also be installed as a gem or a rails plugin.&lt;/p&gt;


&lt;pre&gt;
script/plugin install git://github.com/collectiveidea/tinder.git
&lt;/pre&gt;

	&lt;p&gt;Thanks to &lt;a href=&quot;http://continuousthinking.com&quot;&gt;Zach Dennis&lt;/a&gt; for the name. Feedback and patches are welcome!&lt;/p&gt;


&lt;p&gt;
&lt;br /&gt;
image courtesy of &lt;a href=&quot;http://www.tutorials.com/04/0438/04383.asp&quot;&gt;Tutorials.com&lt;/a&gt;
&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.opensoul.org/">
    <author>
      <name>brandon</name>
    </author>
    <id>tag:www.opensoul.org,2007-01-27:217:5</id>
    <published>2006-12-08T06:02:00Z</published>
    <updated>2007-01-27T06:36:05Z</updated>
    <link href="http://www.opensoul.org/2006/12/8/tinder-campfire-api" rel="alternate" type="text/html"/>
    <title>Tinder: Campfire API</title>
<content type="html">&lt;p&gt;&lt;strong&gt;update&lt;/strong&gt;: &lt;a href=&quot;/2007/1/27/tinder-listening-is-just-as-important-as-speaking&quot;&gt;Tinder can listen&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;update&lt;/strong&gt;: Tinder is now available as a gem from rubyforge. Check out &lt;a href=&quot;http://rubyforge.org/projects/tinder&quot;&gt;http://rubyforge.org/projects/tinder&lt;/a&gt; for more information.&lt;/p&gt;


	&lt;p&gt;For a project that I&#8217;m currently working, the client wants to be able provide live chat to its users. So, instead of re-inventing the wheel, we decided to try to use &lt;a href=&quot;http://campfirenow.com&quot;&gt;Campfire&lt;/a&gt;.  The only problem is that I need to be able to create and destroy chat rooms automatically, and Campfire doesn&#8217;t have an &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;&lt;a href=&quot;http://caboo.se&quot;&gt;Caboo.se&lt;/a&gt; has done some work on a &lt;a href=&quot;http://www.caboo.se/articles/2006/04/14/meet-marshmallow-the-campfire-bot&quot;&gt;Campfire bot called Marshmallow&lt;/a&gt; but the code repository is unavailable.  And, it doesn&#8217;t seem to allow you to create and delete rooms.&lt;/p&gt;


	&lt;p&gt;So, introducing Tinder, an &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt; for interfacing with Campfire:&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;require 'rubygems'
require 'tinder'
campfire = Tinder::Campfire.new 'mysubdomain'
campfire.login 'myemail@example.com', 'mypassword'
room = campfire.create_room 'New Room', 'My new campfire room to test tinder'
room.speak 'Hello world!'
room.paste File.read(&amp;quot;path/to/your/file.txt&amp;quot;)
room.destroy&lt;/code&gt;&lt;/pre&gt;

	&lt;h3&gt;Install&lt;/h3&gt;


	&lt;p&gt;You can get the source from:&lt;/p&gt;


&lt;pre&gt;
svn co http://source.collectiveidea.com/public/tinder/trunk
&lt;/pre&gt;

	&lt;p&gt;Tinder can also be installed as a gem or a rails plugin.&lt;/p&gt;


&lt;pre&gt;
script/plugin install http://source.collectiveidea.com/public/tinder/trunk
&lt;/pre&gt;

&lt;pre&gt;
gem install tinder
&lt;/pre&gt;

	&lt;p&gt;Thanks to &lt;a href=&quot;http://continuousthinking.com&quot;&gt;Zach Dennis&lt;/a&gt; for the name. Feedback and patches are welcome!&lt;/p&gt;


&lt;p&gt;
&lt;br /&gt;
image courtesy of &lt;a href=&quot;http://www.tutorials.com/04/0438/04383.asp&quot;&gt;Tutorials.com&lt;/a&gt;
&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.opensoul.org/">
    <author>
      <name>brandon</name>
    </author>
    <id>tag:www.opensoul.org,2007-01-24:214:4</id>
    <published>2006-12-08T06:02:00Z</published>
    <updated>2007-01-24T01:10:35Z</updated>
    <link href="http://www.opensoul.org/2006/12/8/tinder-campfire-api" rel="alternate" type="text/html"/>
    <title>Tinder: Campfire API</title>
<content type="html">&lt;p&gt;&lt;strong&gt;update&lt;/strong&gt;: Tinder is now available as a gem from rubyforge. Check out &lt;a href=&quot;http://rubyforge.org/projects/tinder&quot;&gt;http://rubyforge.org/projects/tinder&lt;/a&gt; for more information.&lt;/p&gt;


	&lt;p&gt;For a project that I&#8217;m currently working, the client wants to be able provide live chat to its users. So, instead of re-inventing the wheel, we decided to try to use &lt;a href=&quot;http://campfirenow.com&quot;&gt;Campfire&lt;/a&gt;.  The only problem is that I need to be able to create and destroy chat rooms automatically, and Campfire doesn&#8217;t have an &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;&lt;a href=&quot;http://caboo.se&quot;&gt;Caboo.se&lt;/a&gt; has done some work on a &lt;a href=&quot;http://www.caboo.se/articles/2006/04/14/meet-marshmallow-the-campfire-bot&quot;&gt;Campfire bot called Marshmallow&lt;/a&gt; but the code repository is unavailable.  And, it doesn&#8217;t seem to allow you to create and delete rooms.&lt;/p&gt;


	&lt;p&gt;So, introducing Tinder, an &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt; for interfacing with Campfire:&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;require 'rubygems'
require 'tinder'
campfire = Tinder::Campfire.new 'mysubdomain'
campfire.login 'myemail@example.com', 'mypassword'
room = campfire.create_room 'New Room', 'My new campfire room to test tinder'
room.speak 'Hello world!'
room.paste File.read(&amp;quot;path/to/your/file.txt&amp;quot;)
room.destroy&lt;/code&gt;&lt;/pre&gt;

	&lt;h3&gt;Install&lt;/h3&gt;


	&lt;p&gt;You can get the source from:&lt;/p&gt;


&lt;pre&gt;
svn co http://source.collectiveidea.com/public/tinder/trunk
&lt;/pre&gt;

	&lt;p&gt;Tinder can also be installed as a gem or a rails plugin.&lt;/p&gt;


&lt;pre&gt;
script/plugin install http://source.collectiveidea.com/public/tinder/trunk
&lt;/pre&gt;

&lt;pre&gt;
gem install tinder
&lt;/pre&gt;

	&lt;p&gt;Thanks to &lt;a href=&quot;http://continuousthinking.com&quot;&gt;Zach Dennis&lt;/a&gt; for the name. Feedback and patches are welcome!&lt;/p&gt;


&lt;p&gt;
&lt;br /&gt;
image courtesy of &lt;a href=&quot;http://www.tutorials.com/04/0438/04383.asp&quot;&gt;Tutorials.com&lt;/a&gt;
&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.opensoul.org/">
    <author>
      <name>brandon</name>
    </author>
    <id>tag:www.opensoul.org,2007-01-24:213:3</id>
    <published>2006-12-08T06:02:00Z</published>
    <updated>2007-01-24T01:09:02Z</updated>
    <link href="http://www.opensoul.org/2006/12/8/tinder-campfire-api" rel="alternate" type="text/html"/>
    <title>Tinder: Campfire API</title>
<content type="html">&lt;p&gt;&lt;strong&gt;update&lt;/strong&gt;: Tinder is now available as a gem from rubyforge. Check out &lt;a href=&quot;http://rubyforge.org/projects/tinder&quot;&gt;http://rubyforge.org/projects/tinder&lt;/a&gt; for more information.&lt;/p&gt;


	&lt;p&gt;For a project that I&#8217;m currently working, the client wants to be able provide live chat to its users. So, instead of re-inventing the wheel, we decided to try to use &lt;a href=&quot;http://campfirenow.com&quot;&gt;Campfire&lt;/a&gt;.  The only problem is that I need to be able to create and destroy chat rooms automatically, and Campfire doesn&#8217;t have an &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;&lt;a href=&quot;http://caboo.se&quot;&gt;Caboo.se&lt;/a&gt; has done some work on a &lt;a href=&quot;http://www.caboo.se/articles/2006/04/14/meet-marshmallow-the-campfire-bot&quot;&gt;Campfire bot called Marshmallow&lt;/a&gt; but the code repository is unavailable.  And, it doesn&#8217;t seem to allow you to create and delete rooms.&lt;/p&gt;


	&lt;p&gt;So, this evening I hacked together Tinder, an &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt; for interfacing with Campfire:&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;require 'rubygems'
require 'tinder'
campfire = Tinder::Campfire.new 'mysubdomain'
campfire.login 'myemail@example.com', 'mypassword'
room = campfire.create_room 'New Room', 'My new campfire room to test tinder'
room.speak 'Hello world!'
room.paste File.read(&amp;quot;path/to/your/file.txt&amp;quot;)
room.destroy&lt;/code&gt;&lt;/pre&gt;

	&lt;h3&gt;Install&lt;/h3&gt;


	&lt;p&gt;You can get the source from:&lt;/p&gt;


&lt;pre&gt;
svn co http://source.collectiveidea.com/public/tinder/trunk
&lt;/pre&gt;

	&lt;p&gt;Tinder can also be installed as a gem or a rails plugin.&lt;/p&gt;


&lt;pre&gt;
script/plugin install http://source.collectiveidea.com/public/tinder/trunk
&lt;/pre&gt;

&lt;pre&gt;
gem install tinder
&lt;/pre&gt;

	&lt;p&gt;Thanks to &lt;a href=&quot;http://continuousthinking.com&quot;&gt;Zach Dennis&lt;/a&gt; for the name. Feedback and patches are welcome!&lt;/p&gt;


&lt;p&gt;
&lt;br /&gt;
image courtesy of &lt;a href=&quot;http://www.tutorials.com/04/0438/04383.asp&quot;&gt;Tutorials.com&lt;/a&gt;
&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.opensoul.org/">
    <author>
      <name>brandon</name>
    </author>
    <id>tag:www.opensoul.org,2006-12-08:204:2</id>
    <published>2006-12-08T06:02:00Z</published>
    <updated>2006-12-08T06:12:41Z</updated>
    <link href="http://www.opensoul.org/2006/12/8/tinder-campfire-api" rel="alternate" type="text/html"/>
    <title>Tinder: Campfire API</title>
<content type="html">&lt;p&gt;For a project that I&#8217;m currently working, the client wants to be able provide live chat to its users. So, instead of re-inventing the wheel, we decided to try to use &lt;a href=&quot;http://campfirenow.com&quot;&gt;Campfire&lt;/a&gt;.  The only problem is that I need to be able to create and destroy chat rooms on automatically, and Campfire doesn&#8217;t have an &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;&lt;a href=&quot;http://caboo.se&quot;&gt;Caboo.se&lt;/a&gt; has done some work on a &lt;a href=&quot;http://www.caboo.se/articles/2006/04/14/meet-marshmallow-the-campfire-bot&quot;&gt;Campfire bot called Marshmallow&lt;/a&gt; but the code repository is unavailable.  And, it doesn&#8217;t seem to allow you to create and delete rooms.&lt;/p&gt;


	&lt;p&gt;So, this evening I hacked together Tinder, an &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt; for interfacing with Campfire:&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;campfire = Campfire.new 'mysubdomain'
campfire.login 'myemail@example.com', 'mypassword'
room = campfire.create_room 'New Room', 'My new campfire room to test tinder'
room.speak 'Hello world!'
room.destroy&lt;/code&gt;&lt;/pre&gt;

&lt;blockquote&gt;
    &lt;strong&gt;Warning&lt;/strong&gt;: the code is still &lt;span class=&quot;caps&quot;&gt;VERY&lt;/span&gt; raw!  I literally just threw it together tonight. No docs, no tests, no error handling, odd return values&#8230;
&lt;/blockquote&gt;

	&lt;p&gt;You can get the source from:&lt;/p&gt;


&lt;pre&gt;
svn co http://source.collectiveidea.com/public/tinder/trunk
&lt;/pre&gt;

	&lt;p&gt;Thanks to &lt;a href=&quot;http://continuousthinking.com&quot;&gt;Zach Dennis&lt;/a&gt; for the name. Feedback and patches are welcome!&lt;/p&gt;


&lt;p&gt;
&lt;br /&gt;
Tinder image courtesy of &lt;a href=&quot;http://www.tutorials.com/04/0438/04383.asp&quot;&gt;Tutorials.com&lt;/a&gt;
&lt;/p&gt;</content>  </entry>
</feed>
