diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-02-18 14:27:43 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-02-18 14:27:43 +0000 |
commit | edd1cf77be07ae507014574141e920ad23eb164d (patch) | |
tree | ff4e21c5ba40f32d0713391c9a04dc90cb2742c2 /data/rbot/plugins/search.rb | |
parent | 1dc872c99dccc0c34cb15c4083b7a70d4266d635 (diff) |
Plugin header boilerplating.
New plugin.header file provided, to be used as model for the header of new plugins. Many existing plugins have been adjusted to provide the same info the same way. I might have misplaced some information, so please let me know if this is the case.
Also augmented a couple of copyright notices to include the 'rbot development team' alongside Tom Gilbert.
Diffstat (limited to 'data/rbot/plugins/search.rb')
-rw-r--r-- | data/rbot/plugins/search.rb | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/data/rbot/plugins/search.rb b/data/rbot/plugins/search.rb index becfafc2..3b7d6826 100644 --- a/data/rbot/plugins/search.rb +++ b/data/rbot/plugins/search.rb @@ -1,7 +1,18 @@ -# vim: set sw=2 et: +#-- vim:sw=2:et +#++ # -# TODO: use lr=lang_<code> or whatever is most appropriate to let google know -# it shouldn't use the bot's location to find the preferred language +# :title: Google and Wikipedia search plugin for rbot +# +# Author:: Tom Gilbert (giblet) <tom@linuxbrit.co.uk> +# Author:: Giuseppe "Oblomov" Bilotta <giuseppe.bilotta@gmail.com> +# +# Copyright:: (C) 2002-2005 Tom Gilbert +# Copyright:: (C) 2006 Tom Gilbert, Giuseppe Bilotta +# Copyright:: (C) 2006-2007 Giuseppe Bilotta + +# TODO:: use lr=lang_<code> or whatever is most appropriate to let google know +# it shouldn't use the bot's location to find the preferred language + require 'uri' Net::HTTP.version_1_2 |