<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Robby on Rails: Tag rbot</title>
    <link>http://www.robbyonrails.com/articles/tag/rbot</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>thoughts.sort_by{|t| t[:topic]}.collect </description>
    <item>
      <title>ShortURL 0.8.4 released and gets a new mainainer... me!</title>
      <description>&lt;p&gt;Earlier today, Vincent Foley was kind enough to hand over maitenance of the the ShortURL project on RubyForge to me. He first released it back in 2005, which &lt;a href="http://www.robbyonrails.com/articles/2005/06/01/rubyurl-friendly-library"&gt;I blogged about&lt;/a&gt; as &lt;a href="http://rubyurl.com"&gt;RubyURL&lt;/a&gt; was the first shortening service that it supported (and is the default). Unfortunately, the release of RubyURL 2.0 broke backwards compatibility and Vincent wasn&amp;#8217;t maintaining it anymore. So, earlier, I decided to patch this and got a new version released that now works with the current RubyURL site.&lt;/p&gt;


	&lt;p&gt;While working on the code, I decided to extend the compatible services to include &lt;a href="http://moourl.com"&gt;moourl&lt;/a&gt; and &lt;a href="http://urltea.com"&gt;urlTea&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;These updates are available in ShortURL version 0.8.4.&lt;/strong&gt;&lt;/p&gt;


	&lt;h2&gt;Install the ShortURL gem&lt;/h2&gt;


	&lt;p&gt;Installation is a snap&amp;#8230; (like 99.7% of rubygems&amp;#8230;)&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
  ~ &amp;gt; sudo gem install shorturl                                                                                                                                                                                                           Password:

  Successfully installed shorturl-0.8.4
  1 gem installed
  Installing ri documentation for shorturl-0.8.4...
  Installing RDoc documentation for shorturl-0.8.4.  
&lt;/code&gt;&lt;/pre&gt;

	&lt;h2&gt;Using ShortURL&lt;/h2&gt;


	&lt;p&gt;The ShortURL gem provides the ShortURL library, which you can use from any Ruby application.&lt;/p&gt;


	&lt;h3&gt;Using the ShortURL library&lt;/h3&gt;


&lt;pre&gt;&lt;code&gt;
  ~ &amp;gt; irb                                                                                                                                                                                                                           
  irb(main):001:0&amp;gt; require 'rubygems'
  =&amp;gt; true
  irb(main):002:0&amp;gt; require 'shorturl'
  =&amp;gt; true
  irb(main):003:0&amp;gt; ShortURL.shorten( 'http://www.istwitterdown.com' )
  =&amp;gt; "http://rubyurl.com/P9w" 
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;As you can see&amp;#8230;it&amp;#8217;s really straight forward.&lt;/p&gt;


	&lt;p&gt;Let&amp;#8217;s try it with a few other services.&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
irb(main):004:0&amp;gt; ShortURL.shorten( 'http://www.istwitterdown.com', :moourl )
=&amp;gt; "http://moourl.com/fvoky" 
irb(main):005:0&amp;gt; ShortURL.shorten( 'http://www.istwitterdown.com', :tinyurl )
=&amp;gt; "http://tinyurl.com/2t3qmh" 
&lt;/code&gt;&lt;/pre&gt;

	&lt;h3&gt;Using the shorturl command-line tool&lt;/h3&gt;


	&lt;p&gt;Many people don&amp;#8217;t know that ShortURL provides a command-line tool, which you can use after installing the gem.&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
  ~ &amp;gt; shorturl http://istwitterdown.com                                                                                                                                                                                               
  http://rubyurl.com/Lwk
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;If you&amp;#8217;d like to see more services provided than the ones listed here, please submit &lt;a href="http://rubyforge.org/tracker/?atid=2896&amp;#38;group_id=732&amp;#38;func=browse"&gt;feature requests&lt;/a&gt; and/or &lt;a href="http://rubyforge.org/tracker/?atid=2895&amp;#38;group_id=732&amp;#38;func=browse"&gt;patches&lt;/a&gt; on the rubyforge project.&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;a href="http://rubyforge.org/projects/shorturl/"&gt;http://rubyforge.org/projects/shorturl/&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;


	&lt;h2&gt;ShortURL Documentation&lt;/h2&gt;


	&lt;p&gt;To see the latest documentation for the project, please visit:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;a href="http://rubyforge.org/projects/shorturl/"&gt;http://rubyforge.org/projects/shorturl/&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;My favorite part about this? My &lt;a href="http://www.robbyonrails.com/articles/2005/09/13/rubyurl-meets-rbot"&gt;rbot plugin for RubyURL&lt;/a&gt; works again!&lt;/p&gt;


&lt;div class="thumbnail"&gt;&lt;a href="http://skitch.com/robbyrussell/rpg4/rbot-and-rubyurl"&gt;&lt;img src="http://img.skitch.com/20080107-mhjgi5mqgbcfgygut426ee8b53.preview.jpg" alt="rbot and rubyurl" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family: Lucida Grande, Trebuchet, sans-serif, Helvetica, Arial; font-size: 10px; color: #808080"&gt;Uploaded with &lt;a href="http://plasq.com/"&gt;plasq&lt;/a&gt;&amp;#8217;s &lt;a href="http://skitch.com"&gt;Skitch&lt;/a&gt;!&lt;/span&gt;&lt;/div&gt;

	&lt;p&gt;Happy &lt;span class="caps"&gt;URL&lt;/span&gt;-shortening!&lt;/p&gt;
</description>
      <pubDate>Sun, 06 Jan 2008 18:49:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:5a4cc022-3fb9-4d4d-9d25-aa709a51c30e</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2008/01/06/shorturl-0-8-4-released-and-gets-a-new-mainainer-me</link>
      <category>RubyURL</category>
      <category>Ruby on Rails</category>
      <category>Ruby</category>
      <category>Programming</category>
      <category>rubyurl</category>
      <category>shorturl</category>
      <category>rbot</category>
      <category>gem</category>
      <category>rubyforge</category>
      <category>programming</category>
      <category>development</category>
    </item>
    <item>
      <title>To think that tumblin' was a thing of the past</title>
      <description>&lt;p&gt;I&amp;#8217;m digging the new friends feature on &lt;a href="http://tumblr.com"&gt;tumblr&lt;/a&gt;. If you&amp;#8217;re tumblin&amp;#8217;... consider adding me as a friend.&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;my tumblr: &lt;a href="http://robbyrussell.tumblr.com/"&gt;Robby See, Robby Share&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;Also, you should check out the &lt;a href=":http://caboose.tumblr.com"&gt;&lt;code&gt;#caboose&lt;/code&gt; tumblr&lt;/a&gt;, which court3nay setup the other day with a friendly &lt;span class="caps"&gt;IRC&lt;/span&gt; bot.&lt;/p&gt;
</description>
      <pubDate>Wed, 02 May 2007 13:18:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:1c7e9edd-c651-4a36-856c-aa46077e321c</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2007/05/02/to-think-that-tumblin-was-a-thing-of-the-past</link>
      <category>Off-Topic</category>
      <category>tumblr</category>
      <category>caboose</category>
      <category>irc</category>
      <category>rbot</category>
    </item>
    <item>
      <title>rbot as a server monitor</title>
      <description>&lt;p&gt;Most of you who know the &lt;a href="http://www.planetargon.com/"&gt;&lt;span class="caps"&gt;PLANET ARGON&lt;/span&gt;&lt;/a&gt; team&amp;#8230; know that we spend quite a bit of time on &lt;span class="caps"&gt;IRC&lt;/span&gt; interacting with our customes, clients, coworkers, and friends. Quite a bit of our coordination of projects, development, and support is handled via &lt;span class="caps"&gt;IRC&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;For example, all our &lt;span class="caps"&gt;SVN&lt;/span&gt; commits are processed in a private &lt;span class="caps"&gt;IRC&lt;/span&gt; channel where all &lt;a href="http://www.planetargon.com/"&gt;&lt;span class="caps"&gt;PLANET ARGON&lt;/span&gt;&lt;/a&gt; developers and our contractors meet and mingle. Hosting customers hang out in &lt;code&gt;#planetargon&lt;/code&gt; on &lt;strong&gt;irc.freenode.net&lt;/strong&gt; and play with our &lt;span class="caps"&gt;IRC&lt;/span&gt; Bot &lt;strong&gt;argonbot&lt;/strong&gt;.&lt;/p&gt;


	&lt;p&gt;This morning&amp;#8230; I decided that I wanted to  follow the teams advice and start making argonbot even more useful. So, I setup instances of DRb running on every server that we host clients and customers on&amp;#8230; and now we can using argonbot to help manage our servers and allow our customers to help us monitor them!&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_ruby "&gt;&lt;span class="number"&gt;08&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt;&lt;span class="number"&gt;51&lt;/span&gt; &lt;span class="punct"&gt;&amp;lt;&lt;/span&gt; &lt;span class="ident"&gt;robbyonrails&lt;/span&gt;&lt;span class="punct"&gt;&amp;gt;&lt;/span&gt; &lt;span class="char"&gt;?a&lt;/span&gt;&lt;span class="ident"&gt;rgon&lt;/span&gt;&lt;span class="punct"&gt;-&lt;/span&gt;&lt;span class="ident"&gt;moon&lt;/span&gt; &lt;span class="ident"&gt;xenon&lt;/span&gt; &lt;span class="ident"&gt;uptime&lt;/span&gt;
&lt;span class="number"&gt;08&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt;&lt;span class="number"&gt;51&lt;/span&gt; &lt;span class="punct"&gt;&amp;lt;&lt;/span&gt; &lt;span class="ident"&gt;argonbot&lt;/span&gt;&lt;span class="punct"&gt;&amp;gt;&lt;/span&gt; &lt;span class="ident"&gt;xenon&lt;/span&gt; &lt;span class="ident"&gt;uptime&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt;  &lt;span class="number"&gt;10&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt;&lt;span class="number"&gt;51&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt;&lt;span class="number"&gt;38&lt;/span&gt; &lt;span class="ident"&gt;up&lt;/span&gt; &lt;span class="number"&gt;79&lt;/span&gt; &lt;span class="ident"&gt;days&lt;/span&gt;&lt;span class="punct"&gt;,&lt;/span&gt; &lt;span class="number"&gt;20&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt;&lt;span class="number"&gt;34&lt;/span&gt;&lt;span class="punct"&gt;,&lt;/span&gt;  &lt;span class="number"&gt;5&lt;/span&gt; &lt;span class="ident"&gt;users&lt;/span&gt;&lt;span class="punct"&gt;,&lt;/span&gt;  &lt;span class="ident"&gt;load&lt;/span&gt; &lt;span class="ident"&gt;average&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt; &lt;span class="number"&gt;1.03&lt;/span&gt;&lt;span class="punct"&gt;,&lt;/span&gt; &lt;span class="number"&gt;1.05&lt;/span&gt;&lt;span class="punct"&gt;,&lt;/span&gt; &lt;span class="number"&gt;1.00&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;Stop by and meet the world famous argonbot! You can even use our &lt;a href="http://www.planetargon.com/chat.html"&gt;web-based &lt;span class="caps"&gt;IRC&lt;/span&gt; client&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;I love DRb.&lt;/strong&gt;&lt;/p&gt;
</description>
      <pubDate>Fri, 03 Feb 2006 11:01:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:2276f24c-d522-4c86-b8d5-ec86c4bf4006</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2006/02/03/rbot-as-a-server-monitor</link>
      <category>rbot</category>
      <category>ruby</category>
      <category>planetargon</category>
    </item>
    <item>
      <title>The svn+rbot plugin, so far</title>
      <description>&lt;p&gt;&lt;a href="http://www.bleything.net/blog/"&gt;Ben Bleything&lt;/a&gt; and I have put &lt;a href="http://www.robbyonrails.com/articles/2005/09/15/the-bizarre-love-triangle-of-rbot-subversion-and-drb"&gt;the plugin that we made&lt;/a&gt; up in our &lt;a href="http://www.pdxruby.org/"&gt;&lt;span class="caps"&gt;PDX&lt;/span&gt;.rb&lt;/a&gt; subversion repository. You can check it out &lt;a href="http://svn.pdxruby.org/repos/pdxrbot/"&gt;here&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Requires &lt;a href="http://linuxbrit.co.uk/rbot/"&gt;rbot&lt;/a&gt; and &lt;a href="http://subversion.tigris.org/"&gt;subversion&lt;/a&gt;.&lt;/p&gt;


Example:
&lt;code&gt;
&lt;pre&gt;
&amp;lt; pdxrbot&amp;gt; robbyrussell * pdxrbot:/ [45] - Quick addition of the two author names :-)
&amp;lt; pdxrbot&amp;gt; robbyrussell * www:/ [5] - removing the logfiles from svn
&amp;lt; pdxrbot&amp;gt; ben * pdxrbot:/ [46] - Fix the post-commit hook so that relative paths get expanded
&amp;lt; pdxrbot&amp;gt; robbyrussell * www:/ [6] - ignoring the files in /log/ that end in .log
&lt;/pre&gt;
&lt;/code&gt;

	&lt;p&gt;&lt;strong&gt;&lt;span class="caps"&gt;UPDATE&lt;/span&gt;&lt;/strong&gt; This is what it spits back now. :-)&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_ruby "&gt; &lt;span class="punct"&gt;&amp;lt;&lt;/span&gt; &lt;span class="ident"&gt;pdxrbot&lt;/span&gt;&lt;span class="punct"&gt;&amp;gt;&lt;/span&gt; &lt;span class="ident"&gt;svn&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;commit&lt;/span&gt;&lt;span class="punct"&gt;(&lt;/span&gt; &lt;span class="ident"&gt;pdxrbot&lt;/span&gt;&lt;span class="punct"&gt;,&lt;/span&gt; &lt;span class="punct"&gt;{&lt;/span&gt; &lt;span class="symbol"&gt;:author&lt;/span&gt; &lt;span class="punct"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="punct"&gt;'&lt;/span&gt;&lt;span class="string"&gt;robbyrussell&lt;/span&gt;&lt;span class="punct"&gt;',&lt;/span&gt; &lt;span class="symbol"&gt;:rev&lt;/span&gt; &lt;span class="punct"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="number"&gt;67&lt;/span&gt;&lt;span class="punct"&gt;,&lt;/span&gt; &lt;span class="symbol"&gt;:log&lt;/span&gt; &lt;span class="punct"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="punct"&gt;'&lt;/span&gt;&lt;span class="string"&gt;another test of color/syntax...more&lt;/span&gt;&lt;span class="punct"&gt;'&lt;/span&gt; &lt;span class="punct"&gt;}&lt;/span&gt; &lt;span class="punct"&gt;)&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;Yes&amp;#8230; the bot now responds with a subversion commit&amp;#8230;and we made it look like ruby code! syntax colors and all!&lt;/p&gt;
</description>
      <pubDate>Thu, 15 Sep 2005 14:02:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:0b9168ff51017ca251d55ba6913e585b</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2005/09/15/the-svn-rbot-plugin-so-far</link>
      <category>Ruby</category>
      <category>Programming</category>
      <category>ruby</category>
      <category>rbot</category>
    </item>
    <item>
      <title>the bizarre love triangle of rbot, subversion, and drb</title>
      <description>&lt;p&gt;In our pursuit to get stuff ready for the &lt;a href="http://www.pdxruby.org/"&gt;&lt;span class="caps"&gt;PDX&lt;/span&gt;.rb&lt;/a&gt; hackfest this weekend, &lt;a href="http://www.bleything.net/blog/"&gt;Ben Bleything&lt;/a&gt; and I decided that it would be a cool idea to get &lt;a href="http://linuxbrit.co.uk/rbot/"&gt;rbot&lt;/a&gt; to monitor the groups subversion repositories.&lt;/p&gt;


	&lt;p&gt;We asked around a few &lt;span class="caps"&gt;IRC&lt;/span&gt; channels and people had different ways of handling this. The easy route looked to be to parse a &lt;span class="caps"&gt;RSS&lt;/span&gt; feed from Trac. (boring!)&lt;/p&gt;


	&lt;p&gt;So, in an effort to make it interesting and allow for a little creativity with rbot-&lt;del&gt;and potentially open the doors to other ideas&lt;/del&gt;-we opted to build 2 pieces. One would be a &lt;code&gt;post-commit&lt;/code&gt; script that would run after a &lt;code&gt;svn commit&lt;/code&gt; and the other would be a new plugin in rbot, which started an instance of &lt;a href="http://raa.ruby-lang.org/project/druby"&gt;DRb&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;The basic idea&amp;#8230;&lt;/p&gt;


	&lt;p&gt;rbot starts drb on start&lt;/p&gt;


	&lt;p&gt;svn commit  calls drb client, sends notifcation&lt;/p&gt;


	&lt;p&gt;Yes! I managed to sneak DRb somewhere else that it probably didn&amp;#8217;t &lt;strong&gt;need&lt;/strong&gt; to be. It was actually a good way to figure out how to properly tame the crazy lion that is DRb. It&amp;#8217;s so sexy, but I am so afraid that it will scratch me if I get too close. It scratched a little tonight, but then the kind folks in #ruby-lang gave me a band-aid and I was on my way. Guess what? I tamed the lion!&lt;/p&gt;


	&lt;p&gt;The sad part is that I got the thing to properly work about 25 seconds after Ben logged off of &lt;span class="caps"&gt;IRC&lt;/span&gt; and here I am a few horus later amusing myself with test svn commits and telling the whole world. That&amp;#8217;s right&amp;#8230; he&amp;#8217;s sleeping&amp;#8230; and dreaming about how the lion is still out to attack him and you all know that the lion is nicely tucked away.&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_ruby "&gt;&lt;span class="constant"&gt;Thread&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;new&lt;/span&gt; &lt;span class="punct"&gt;{&lt;/span&gt; 
  &lt;span class="comment"&gt;# the lion is here &lt;/span&gt;
&lt;span class="punct"&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;We couldn&amp;#8217;t have the lion holding the rbot in a headlock the whole time.&lt;/p&gt;


	&lt;p&gt;So, the lion is nice and it is our new friend. We now have instant notifications of when our repositories get commits in &lt;strong&gt;#pdx.rb&lt;/strong&gt;.&lt;/p&gt;


	&lt;p&gt;Once we get it to format everything nice and pretty (color-wise), we&amp;#8217;ll make it available for all of you rbot and subversion folks.&lt;/p&gt;
</description>
      <pubDate>Thu, 15 Sep 2005 01:27:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:79306f0a597c85ff785b06fbe687bf80</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2005/09/15/the-bizarre-love-triangle-of-rbot-subversion-and-drb</link>
      <category>Ruby</category>
      <category>Programming</category>
      <category>rbot</category>
      <category>subversion</category>
      <category>ruby</category>
    </item>
    <item>
      <title>RubyURL meets rbot</title>
      <description>&lt;p&gt;I was asked to submit the small plugin that I created for &lt;a href="http://linuxbrit.co.uk/rbot/"&gt;rbot&lt;/a&gt; so that we can do fun stuff like this in #pdx.rb (irc.freenode.net).&lt;/p&gt;


&lt;code&gt;
&lt;pre&gt;
21:42 &amp;lt; robbyonrails&amp;gt; ?help rubyurl
21:42 &amp;lt; pdxrbot&amp;gt; rubyurl &amp;lt;your long url&amp;gt;
21:43 &amp;lt; robbyonrails&amp;gt; ?rubyurl http://www.google.com/
21:43 &amp;lt; pdxrbot&amp;gt; Your RubyURL: http://rubyurl.com/hbGjx
&lt;/pre&gt;
&lt;/code&gt;

	&lt;p&gt;It&amp;#8217;s nothing complex and uses the plugin example as a foundation. I just popped in my &lt;a href="http://shorturl.rubyforge.org/"&gt;ShortURL&lt;/a&gt; requires and modified what it replies with.&lt;/p&gt;


	&lt;p&gt;We&amp;#8217;re almost at 2,000 unique URLs in &lt;a href="http://rubyurl.com/"&gt;RubyURL&lt;/a&gt;. :-)&lt;/p&gt;


	&lt;p&gt;You can pick up the &lt;a href="http://www.linuxbrit.co.uk/rbot/ticket/32"&gt;plugin here&lt;/a&gt; in the trac for rbot. I don&amp;#8217;t know if it will be accepted in the default plugins or not, but you can download the file there and start using it today!&lt;/p&gt;


	&lt;p&gt;Have fun!&lt;/p&gt;
</description>
      <pubDate>Tue, 13 Sep 2005 21:48:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:2cb564cba1ff3b1110a5770dbb874bd7</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2005/09/13/rubyurl-meets-rbot</link>
      <category>RubyURL</category>
      <category>Ruby</category>
      <category>Programming</category>
      <category>rubyurl</category>
      <category>rbot</category>
    </item>
    <item>
      <title>rbot is cool</title>
      <description>&lt;p&gt;This weekend, I found myself helping the &lt;a href="http://www.pdxruby.org/"&gt;Portland Ruby Brigade&lt;/a&gt; get setup with a &lt;a href="http://lists.pdxruby.org/mailman/listinfo/pdxruby"&gt;new mailing list&lt;/a&gt; and while in our &lt;span class="caps"&gt;IRC&lt;/span&gt; channel (&lt;strong&gt;#pdx.rb&lt;/strong&gt; on freenode), I was reminded that we never setup a bot in the channel. So, I went and tried to get Eggdrop running but didn&amp;#8217;t like that the configuration file is a whopping &lt;strong&gt;1342 lines long&lt;/strong&gt;. Seriously&amp;#8230; it&amp;#8217;s long. I am a busy person right now and this was instantly a turn-off. So, i looked around for ruby based ones&amp;#8230; found a few python ones and found &lt;a href="http://linuxbrit.co.uk/rbot/"&gt;rbot&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;yes&amp;#8230; a ruby-based irc bot!&lt;/p&gt;


	&lt;p&gt;&lt;span class="caps"&gt;SVN&lt;/span&gt; checked it out&amp;#8230; added the few deps and the configuration file&amp;#8230;&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_ruby "&gt;
&lt;span class="punct"&gt;---&lt;/span&gt; 
&lt;span class="ident"&gt;irc&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;nick&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt; &lt;span class="ident"&gt;pdxrbot&lt;/span&gt;
&lt;span class="ident"&gt;core&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;address_prefix&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt;
  &lt;span class="punct"&gt;-&lt;/span&gt; &lt;span class="punct"&gt;&amp;quot;&lt;/span&gt;&lt;span class="string"&gt;?&lt;/span&gt;&lt;span class="punct"&gt;&amp;quot;&lt;/span&gt;
&lt;span class="ident"&gt;irc&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;user&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt; &lt;span class="ident"&gt;pdxruby&lt;/span&gt;
&lt;span class="ident"&gt;server&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;name&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt; &lt;span class="ident"&gt;irc&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;freenode&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;net&lt;/span&gt;
&lt;span class="ident"&gt;auth&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;password&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt; &lt;span class="punct"&gt;******&lt;/span&gt;
&lt;span class="ident"&gt;irc&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;join_channels&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt;
  &lt;span class="punct"&gt;-&lt;/span&gt; &lt;span class="punct"&gt;&amp;quot;&lt;/span&gt;&lt;span class="string"&gt;#pdx.rb&lt;/span&gt;&lt;span class="punct"&gt;&amp;quot;&lt;/span&gt;       
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;Yes! &lt;span class="caps"&gt;YAML&lt;/span&gt;!&lt;/p&gt;


	&lt;p&gt;It ran right away&amp;#8230;and I was sold. Nice work. (and only about 1330 lines less of configuration!)&lt;/p&gt;


	&lt;p&gt;So, it was up and running and then I looked at the plugins api. (&lt;strong&gt;huge grin&lt;/strong&gt;)&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ve added two plugins to the #pdx.rb bot already. One for rubyurl (uses shorturl) and one that shows the last 5 entry titles from the planet rubyonrails site. :-)&lt;/p&gt;


	&lt;p&gt;We&amp;#8217;re already scheming how we&amp;#8217;ll make it work with meeting reminders, subversion, and other random fun. I&amp;#8217;m quite impressed so far.&lt;/p&gt;


	&lt;p&gt;Check it out &lt;a href="http://linuxbrit.co.uk/rbot/"&gt;here&lt;/a&gt;&lt;/p&gt;
</description>
      <pubDate>Sun, 11 Sep 2005 17:17:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:fa8857af734aed588a84d402c1cafe55</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2005/09/11/rbot-is-cool</link>
      <category>Ruby</category>
      <category>Programming</category>
      <category>ruby</category>
      <category>irc</category>
      <category>bot</category>
      <category>rbot</category>
    </item>
  </channel>
</rss>
