Path: | lib/plugins/expand-tinyurl.rb |
Last Update: | Tue Feb 23 10:15:21 +0000 2010 |
URL_SHORTTERS | = | [ { :host => "tinyurl.com", :pattern => %r'(http://tinyurl\.com(/[\w/]+))' }, { :host => "is.gd", :pattern => %r'(http://is\.gd(/[\w/]+))' }, { :host => "bit.ly", :pattern => %r'(http://bit\.ly(/[\w/]+))' }, { :host => "ff.im", :pattern => %r'(http://ff\.im(/[-\w/]+))'}, { :host => "to.ly", :pattern => %r'(http://to\.ly(/[-\w/]+))'}, { :host => "j.mp", :pattern => %r'(http://j\.mp(/[\w/]+))' }, ] |