expand-tinyurl.rb

Path: lib/plugins/expand-tinyurl.rb
Last Update: Fri Oct 23 20:04:11 +0000 2009

Methods

Constants

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/]+))'}, ]

Public Instance methods

[Validate]