tinyurl.rb

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

Constants

SHORTURL_MAKERS = [ { :host => "tinyurl.com", :format => '/api-create.php?url=%s' }, { :host => "is.gd", :format => '/api.php?longurl=%s' }, ]
TINYURL_HOOK_COMMANDS = [:update, :reply]
URI_REGEXP = URI.regexp(%w(http https ftp))

[Validate]