tinyurl.rb

Path: lib/plugins/tinyurl.rb
Last Update: Mon Sep 07 20:42:47 +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]