<?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 rubyurl</title>
    <link>http://www.robbyonrails.com/articles/tag/rubyurl</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>thoughts.sort_by{|t| t[:topic]}.collect </description>
    <item>
      <title>RubyURL meets Zombies!</title>
      <description>&lt;p&gt;Last Friday, Greg Borenstein sent me a link to &lt;a href="http://zombieurl.com"&gt;ZombieURL&lt;/a&gt; after it got launched. The folks at &lt;a href="http://bottlecaplabs.net/"&gt;Bottlecap Labs&lt;/a&gt; took &lt;a href="http://rubyurl.com"&gt;RubyURL&lt;/a&gt; and threw in Zombies&amp;#8230; the rest you&amp;#8217;ll have to see for yourself.&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;a href="http://zombieurl.com/Ssfl"&gt;don&amp;#8217;t click this link&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;There&amp;#8230; I warned you.&lt;/p&gt;


	&lt;p&gt;You can check out the source code for ZombieURL on GitHub&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;a href="http://github.com/bottlecaplabs/zombieurl/tree"&gt;http://github.com/bottlecaplabs/zombieurl/tree&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;You can also grab the underlying source code for RubyURL on GitHub.&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;a href="http://github.com/robbyrussell/rubyurl/tree/master"&gt;http://github.com/robbyrussell/rubyurl/tree/master&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;I&amp;#8217;d love to see what other fun things people come up with to do with RubyURL.&lt;/p&gt;
</description>
      <pubDate>Tue, 22 Apr 2008 11:43:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:70c2e909-d2f1-4ecc-8c28-7edcfef5784e</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2008/04/22/rubyurl-meets-zombies</link>
      <category>RubyURL</category>
      <category>ruby</category>
      <category>development</category>
      <category>zombies</category>
      <category>rubyurl</category>
      <category>github</category>
    </item>
    <item>
      <title>Launch your own RubyURL</title>
      <description>&lt;p&gt;A few weeks ago, I moved &lt;a href="http://rubyurl.com"&gt;RubyURL&lt;/a&gt; from subversion to git. During that process, I decided to use my invite to &lt;a href="http://github.com"&gt;GitHub&lt;/a&gt; and have decided to go ahead and open up the source code.&lt;/p&gt;


	&lt;p&gt;It&amp;#8217;s currently a whopping 92 &lt;span class="caps"&gt;LOC&lt;/span&gt; with a 1:2.5 code to spec ratio. (I had a goal to keep is below 100 &lt;span class="caps"&gt;LOC&lt;/span&gt;)&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;RubyURL on GitHub: &lt;a href="http://github.com/robbyrussell/rubyurl"&gt;http://github.com/robbyrussell/rubyurl&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;Public Clone &lt;span class="caps"&gt;URL&lt;/span&gt;: &lt;a href="git://github.com/robbyrussell/rubyurl.git"&gt;git://github.com/robbyrussell/rubyurl.git&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;Feel free to grab it and help contribute. This has served almost &lt;strong&gt;14 million&lt;/strong&gt; redirects since August 2007 and is running on a &lt;a href="http://planetargon.com/hosting.html"&gt;Rails Boxcar&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;To grab it with git.. run: &lt;code&gt;git clone git://github.com/robbyrussell/rubyurl.git&lt;/code&gt;.&lt;/p&gt;


	&lt;p&gt;Feel free to submit tickets to the &lt;a href="http://planetargon.lighthouseapp.com/projects/4059-rubyurl"&gt;Rubyurl ticket system&lt;/a&gt;.&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;a href="http://planetargon.lighthouseapp.com/projects/4059-rubyurl"&gt;http://planetargon.lighthouseapp.com/projects/4059-rubyurl&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;Enjoy!&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;&lt;span class="caps"&gt;UPDATE&lt;/span&gt;&lt;/strong&gt; Ryan McGeary was kind enough to be the first person to help track down a bug and &lt;a href="http://github.com/robbyrussell/rubyurl/commits/master"&gt;submit patches&lt;/a&gt;. :-)&lt;/p&gt;
</description>
      <pubDate>Sat, 01 Mar 2008 18:31:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:a1e839d1-4c9b-47d6-931c-b0559ea71539</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2008/03/01/launch-your-own-rubyurl</link>
      <category>RubyURL</category>
      <category>Ruby on Rails</category>
      <category>Programming</category>
      <category>PLANET ARGON</category>
      <category>rubyurl</category>
      <category>boxcar</category>
      <category>git</category>
      <category>subversion</category>
      <category>github</category>
      <category>open</category>
      <category>source</category>
      <category>rails</category>
      <category>rspec</category>
    </item>
    <item>
      <title>RubyURL through QuickSilver</title>
      <description>&lt;p&gt;When &lt;a href="http://chriszgriffin.com/"&gt;Chris Griffin&lt;/a&gt; saw &lt;a href="http://www.leancrew.com/all-this/2007/11/shortened_urls_with_quicksilve.html"&gt;this post&lt;/a&gt;, he wanted to do the same with &lt;a href="http://rubyurl.com"&gt;RubyURL&lt;/a&gt;. Since the ShortURL gem was broken, I didn&amp;#8217;t get a chance to dive into it. However, with the shorturl command now working again with RubyURL, we get QuickSilver and RubyURL working together really quickly.&lt;/p&gt;


	&lt;p&gt;First, you&amp;#8217;ll need a recent version of the ShortURL gem installed.&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;sudo gem install shorturl&lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;Then you will want to add the following to &lt;code&gt;~/Library/Scripts/rubyurl.scpt&lt;/code&gt;. You will need to create this file.&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
  #
  # Change accordingly if shorturl is not under /usr/bin/shorturl
  #
  set shorturl_cmd to "/opt/local/bin/shorturl" 

  tell application "Safari" 
      set original_url to URL of front document
  end tell

  set cmd to shorturl_cmd &amp;#38; " " &amp;#38; original_url

  set ruby_url to do shell script cmd
  set the clipboard to ruby_url as text
  beep
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;Then you can add this script to run through QuickSilver. For details, jump to the setup process on &lt;a href="http://www.leancrew.com/all-this/2007/11/long_and_shortened_url_scripts.html"&gt;this post&lt;/a&gt;.&lt;/p&gt;


&lt;div class="thumbnail"&gt;&lt;a href="http://skitch.com/robbyrussell/rpjk/rubyurl-quicksilver"&gt;&lt;img src="http://img.skitch.com/20080107-1uxg37c148kwe4cpm58m14ifwt.preview.jpg" alt="rubyurl quicksilver" /&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;This will make it much easier to paste RubyURLs into my Twitter client, &lt;span class="caps"&gt;IRC&lt;/span&gt;, etc.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ll try to post a more thorough tutorial soon, but wanted to share in the meantime.&lt;/p&gt;
</description>
      <pubDate>Sun, 06 Jan 2008 20:42:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:ee0e9bcc-6160-4913-b181-a5f4c95a7f68</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2008/01/06/rubyurl-through-quicksilver</link>
      <category>RubyURL</category>
      <category>quicksilver</category>
      <category>applescript</category>
      <category>rubyurl</category>
      <category>hack</category>
      <category>tip</category>
      <category>productivity</category>
    </item>
    <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>RubyURL bookmarklet 2.0</title>
      <description>&lt;p&gt;If you&amp;#8217;re using the bookmarklet for RubyURL, you will want to update it with the latest version as there was apparently &lt;a href="http://planetargon.lighthouseapp.com/projects/4059-rubyurl/tickets/6"&gt;a bug in the JavaScript&lt;/a&gt; and some URLs would fail to redirect properly. Thanks to the help of Jerome, this is now fixed.&lt;/p&gt;


	&lt;p&gt;So, head over to &lt;a href="http://rubyurl.com"&gt;RubyURL&lt;/a&gt; and update your bookmarket. Not sure what I&amp;#8217;m talking about? &lt;a href="http://www.screencast.com/t/PnKFZ0Ji"&gt;Watch the video&lt;/a&gt;.&lt;/p&gt;
</description>
      <pubDate>Tue, 28 Aug 2007 10:51:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:1c8bfbf8-00e7-45f8-b98b-791ae4e912e6</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2007/08/28/rubyurl-bookmarklet-2-0</link>
      <category>RubyURL</category>
      <category>bug</category>
      <category>bookmarklet</category>
      <category>ruby</category>
      <category>rubyurl</category>
    </item>
    <item>
      <title>RubyURL bookmarklet screencast</title>
      <description>&lt;p&gt;I wanted to give Jing a try&amp;#8230; so here goes my first screencast with it.&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://www.screencast.com/t/PnKFZ0Ji"&gt;&lt;img src="http://myskitch.com/robbyrussell/2007-08-08_2227-20070808-224057.jpg" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Enjoy!&lt;/p&gt;
</description>
      <pubDate>Thu, 09 Aug 2007 00:36:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:2538c877-6906-4ade-8834-7d8ca45faa61</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2007/08/09/rubyurl-bookmarklet-screencast</link>
      <category>RubyURL</category>
      <category>rubyurl</category>
      <category>screencast</category>
    </item>
    <item>
      <title>RubyURL: new design and code base</title>
      <description>&lt;p&gt;Yesterday evening, I deployed the new version of &lt;a href="http://rubyurl.com"&gt;RubyURL&lt;/a&gt;. This was a collaborative effort between &lt;a href="http://chriszgriffin.com/"&gt;Chris Griffin&lt;/a&gt; and I, which we&amp;#8217;re happy to finally push live.&lt;/p&gt;


	&lt;p&gt;There are a few things that we&amp;#8217;re going to push out in near future, such as an &lt;span class="caps"&gt;API&lt;/span&gt; and a new RubyGem.&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://www.flickr.com/photos/robbyrussell/1051199668/" title="Photo Sharing"&gt;&lt;img src="http://farm2.static.flickr.com/1331/1051199668_84a2781b5e.jpg" width="500" height="458" alt="RubyURL » Keep it short (and sweet)" /&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Chris volunteered to work on the new design and I did most of the programming in Ruby on Rails. When we worked on this, we really wanted to keep the process as simple as possible, despite &lt;a href="http://www.robbyonrails.com/articles/2007/07/16/rubyurl-2-0-on-the-horizon"&gt;some of the problems&lt;/a&gt; that the site has been having.&lt;/p&gt;


	&lt;p&gt;In the end, we have a Rails application that is only 85 lines of code and has a 1:2.3 code-to-spec ratio. I wanted to keep it under 100 lines of code. This means that there is some breathing room for further development.&lt;/p&gt;


	&lt;p&gt;We also tried out a beta account that I was given for &lt;a href="http://roundhaus.com/"&gt;RoundHaus&lt;/a&gt; for Subversion hosting. We had a really good experience using their service and were impressed by the plethora of useful features that came with the repository, such as continuous integration, rcov/code coverage stats, and twitter integration!.&lt;/p&gt;


	&lt;p&gt;If you find a bug, be sure to submit a ticket on the &lt;a href="http://planetargon.lighthouseapp.com/projects/4059-rubyurl/"&gt;RubyURL bug tracker&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;On a side note, we deployed this on a brand new &lt;a href="http://railsboxcar.com"&gt;Rails Boxcar&lt;/a&gt;, our new hosting solution that will be launched in the very near future. ;-)&lt;/p&gt;
</description>
      <pubDate>Wed, 08 Aug 2007 08:58:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:9306d9e7-32b5-4afc-ba15-46cc3bc8590a</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2007/08/08/rubyurl-new-design-and-code-base</link>
      <category>RubyURL</category>
      <category>Ruby on Rails</category>
      <category>Ruby</category>
      <category>Programming</category>
      <category>PLANET ARGON</category>
      <category>rubyurl</category>
      <category>design</category>
      <category>development</category>
      <category>launch</category>
      <category>boxcar</category>
      <category>rubyonrails</category>
      <category>rails</category>
    </item>
    <item>
      <title>RubyURL 2.0 on the horizon</title>
      <description>&lt;p&gt;&lt;a href="http://rubyurl.com"&gt;RubyURL&lt;/a&gt; was a project that I built about 2 1/2 years ago as a late night attempt to see what I could build and deploy with Ruby on Rails in a night. It&amp;#8217;s nearing 50,000 unique website links, has a Ruby gem that you can use with it, and rbot plugins.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ve rewritten it about three times in the past six months, to try out some new approaches, but haven&amp;#8217;t deployed with a new version as I&amp;#8217;ve been waiting for someone to help me with a new design. &lt;a href="http://chriszgriffin.com/"&gt;Chris&lt;/a&gt; has offered to help out and once we integrate his new design with it, we&amp;#8217;ll be launching it.&lt;/p&gt;


	&lt;p&gt;Everything is not great in RubyURL land though. It appears that it&amp;#8217;s become an easy target for comment spammers to abuse the site to generate rubyurls and paste those links in their spam comments. Several pissed off bloggers, forum administrators, and system administrators have emailed me to complain that I&amp;#8217;m spamming their site. Sadly, even with a basic disclaimer on the site, they still like to blame me for their spam. It&amp;#8217;s gotten common enough, that I&amp;#8217;ve written a template email that I respond with that explains how the site works and that I&amp;#8217;m not accountable for people posting links to my &lt;span class="caps"&gt;URL&lt;/span&gt; redirect tool.&lt;/p&gt;


	&lt;p&gt;You can see that it&amp;#8217;s popping up around the net via &lt;a href="http://www.google.com/search?q=rubyurl.com"&gt;a google search&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;So, I&amp;#8217;ve been trying to think of ways to make it easier for people to flag URLs as being abusive of the site. I&amp;#8217;ve not come up with any elegant solution that doesn&amp;#8217;t force the &lt;em&gt;good&lt;/em&gt; users of the site to have more steps in their process to create a basic RubyURL.&lt;/p&gt;


	&lt;p&gt;The ideal (and current) workflow:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;User navigates to http://rubyurl.com&lt;/li&gt;
		&lt;li&gt;User pastes in long url into text box/area&lt;/li&gt;
		&lt;li&gt;User submits form&lt;/li&gt;
		&lt;li&gt;User is provided with new (shortened) rubyurl&lt;/li&gt;
		&lt;li&gt;User copies the rubyurl and does what they want with it (generally&amp;#8230; pastes into IM, &lt;span class="caps"&gt;IRC&lt;/span&gt;, Email, etc.)&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;Some people have suggested using a user system to do this, but I really don&amp;#8217;t like that as a solution.&lt;/p&gt;


	&lt;p&gt;Another idea, which I built&amp;#8230; and later removed from my new version, involved having the original url load in a frame, and then provide a way for users to flag it as &amp;#8216;spam&amp;#8217;, &amp;#8216;nsfw&amp;#8217;, or &amp;#8216;dead&amp;#8217;. Then, we could provide the user with a warning that the following &lt;span class="caps"&gt;URL&lt;/span&gt; was flagged before, &lt;strong&gt;are you sure you want to continue?&lt;/strong&gt; I didn&amp;#8217;t like this as a solution in this way as it felt very obtrusive to have a rubyurl frame at the top of the browser window.&lt;/p&gt;


	&lt;p&gt;One person suggested a captcha to try and verify that the user is human, but there are problems with this.&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;I really dislike captchas. ;-)&lt;/li&gt;
		&lt;li&gt;This doesn&amp;#8217;t prevent spammers from using the ShortURL gem, which does everything via an &lt;span class="caps"&gt;API&lt;/span&gt;.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;In regards to the &lt;span class="caps"&gt;API&lt;/span&gt;, this could be enhanced by requiring that everyone register an email address to get an &lt;span class="caps"&gt;API&lt;/span&gt; key, but only solves the &lt;span class="caps"&gt;API&lt;/span&gt; abusers.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;m starting to brainstorm some solutions that specifically help the requests made through the web. I haven&amp;#8217;t checked the logs enough yet to verify it, but I have a strong suspicion that much of the abuse is happening through a web-based bot, not through ShortURL&amp;#8230; because Ruby developers are nicer than that. (I hope&amp;#8230;)&lt;/p&gt;


	&lt;p&gt;So, I am curious&amp;#8230; dear readers of my blog. How might you solve this problem without disrupting the user experience? Or, should I just stick with what I&amp;#8217;ve got going and find a better way to respond to pissed off bloggers who think I&amp;#8217;m spamming them?&lt;/p&gt;


	&lt;p&gt;Discuss&amp;#8230;&lt;/p&gt;
</description>
      <pubDate>Mon, 16 Jul 2007 22:23:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:ac491655-7a58-4921-8d48-6165a9fcb383</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2007/07/16/rubyurl-2-0-on-the-horizon</link>
      <category>RubyURL</category>
      <category>rubyurl</category>
      <category>rails</category>
      <category>spam</category>
      <category>design</category>
      <category>workflow</category>
      <category>question</category>
    </item>
    <item>
      <title>RubyURL hits 10k</title>
      <description>&lt;p&gt;Just happened to notice that &lt;a href="http://rubyurl.com"&gt;RubyURL&lt;/a&gt; passed the 10k mark recnetly. :-)&lt;/p&gt;


	&lt;p&gt;&lt;em&gt;&amp;#8220;10044 happy rubyurls to date&amp;#8221;&lt;/em&gt;&lt;/p&gt;


	&lt;p&gt;I think it&amp;#8217;s time for a rewrite and an &lt;span class="caps"&gt;API&lt;/span&gt;. :-)&lt;/p&gt;
</description>
      <pubDate>Sun, 15 Oct 2006 22:47:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:77ab3046-9298-4ab2-9edc-c9534edf9fee</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2006/10/15/rubyurl-hits-10k</link>
      <category>RubyURL</category>
      <category>rubyurl</category>
      <category>10k</category>
    </item>
    <item>
      <title>RubyURL... 5000+ urls in its first year</title>
      <description>&lt;p&gt;It seems that I missed the big &lt;strong&gt;5000&lt;/strong&gt; for &lt;a href="http://rubyurl.com"&gt;RubyURL&lt;/a&gt;. I just noticed that the front page is showing, &lt;em&gt;&amp;#8220;5171 happy rubyurls to date.&amp;#8221;&lt;/em&gt;&lt;/p&gt;


	&lt;p&gt;Oh the &lt;a href="http://www.robbyonrails.com/articles/2005/03/14/rubyurl-com-in-a-hour"&gt;memories&lt;/a&gt;...&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://rubyurl.com"&gt;http://rubyurl.com&lt;/a&gt;&lt;/p&gt;
</description>
      <pubDate>Tue, 11 Apr 2006 10:17:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:afdef160-d219-400f-a976-978fd33c7eb0</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2006/04/11/rubyurl-5000-urls-in-its-first-year</link>
      <category>rubyurl</category>
      <category>ruby</category>
    </item>
    <item>
      <title>RubyURL reaches 2000 URLs</title>
      <description>&lt;p&gt;Today, &lt;a href="http://rubyurl.com/"&gt;RubyURL&lt;/a&gt; reached &lt;strong&gt;two-thousand happy rubyurls!&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;That&amp;#8217;s right! 2,000!&lt;/p&gt;


	&lt;p&gt;The traffic has picked up a bit since a few &lt;a href="http://www.robbyonrails.com/articles/2005/09/13/rubyurl-meets-rbot"&gt;bots started to use it&lt;/a&gt; in &lt;span class="caps"&gt;IRC&lt;/span&gt; channels and with the &lt;a href="http://www.robbyonrails.com/articles/2005/07/22/rubyurl-this"&gt;easy browser toolbar feature&lt;/a&gt; is. It&amp;#8217;s cool to see people using it on the ruby-related mailing lists, and there seems to be quite a few people in Japan who use it to link to/from Japanese fetish sites (I won&amp;#8217;t ask what a &lt;strong&gt;green-tea-zipper-party&lt;/strong&gt; is&amp;#8230;). Whatever floats your boat. ;-)&lt;/p&gt;


	&lt;p&gt;In any event, &lt;strong&gt;&lt;span class="caps"&gt;HAPPY 2000&lt;/span&gt;!&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;Let&amp;#8217;s hit 10,000 before it becomes one year old! :-)&lt;/p&gt;


	&lt;p&gt;&lt;img src="http://www.robbyrussell.com/albums/Desktops/rubyurl2000.jpg" alt="" /&gt;&lt;/p&gt;


	&lt;h2&gt;&lt;a href="http://rubyurl.com/"&gt;http://rubyurl.com&lt;/a&gt;&lt;/h2&gt;
</description>
      <pubDate>Sun, 25 Sep 2005 15:35:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:ef9e62f6654ccc65b4cbff150f46b111</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2005/09/25/rubyurl-reaching-2000-urls</link>
      <category>RubyURL</category>
      <category>Ruby on Rails</category>
      <category>Ruby</category>
      <category>rubyurl</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>
  </channel>
</rss>
