summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/search.rb
AgeCommit message (Collapse)Author
2008-07-03search plugin: added a gcount function to return the number of results in a ↵Casey Link
google query
2008-06-30search plugin: fix gcalc regexpGiuseppe Bilotta
2008-03-23* plugins/search: thread, don't blockdmitry kim
2008-02-13search plugin: fix gcalcGiuseppe Bilotta
2007-09-12namespaces: move rbot-specific classes and modules from Irc::* to Irc::Bot::*Giuseppe Bilotta
2007-08-14search plugin: use single result format when a single hit is foundGiuseppe Bilotta
2007-07-07search plugin: add google define supportGiuseppe Bilotta
2007-07-07Fix Google Calculator regexp and ask for UTF-8 encoded resultsGiuseppe Bilotta
2007-05-23search plugin: truncate overlong lines when outputting first par in compact formGiuseppe Bilotta
2007-05-23search plugin: compactify results when only one of them is returnedGiuseppe Bilotta
2007-05-23search plugin: add support for uncyclopediaGiuseppe Bilotta
2007-04-08plugins: use CGI.escape instead of URI.escape where appropriate, remove some ↵Giuseppe Bilotta
checks for InvalidURIs that don't make sense anymore, irficy some more html
2007-04-07plugins: remove excess requires and Net::HTTP.version setupsGiuseppe Bilotta
2007-04-05search plugin: gcalc command thanks to epitronGiuseppe Bilotta
2007-04-01search plugin: let the user know when no body was found and no error was raisedGiuseppe Bilotta
2007-03-30*** (httputil) major rework, new caching implementation, unified requestDmitry Kim
processing + (httputil) post support, partial request support, other features - (httputil) removed partial_body() and get_cached() [merged into get()] * (plugins/, utils) minimal changes to accomodate for the new http_utils * (utils, ircbot) moved utils initialization into utils.rb * (tube.rb) (partially) accomodate for upstream site layout changes
2007-03-30- (utils.rb) removed http_get, since it's obsoletedDmitry Kim
+ (utils.rb) added @@bot class variable * (utils.rb) get_first_pars should return a value * (plugins) no need to pass http_util to the Utils.get_first_pars
2007-02-18Plugin header boilerplating.Giuseppe Bilotta
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.
2007-02-06dict plugin: options to set number of hits and first_pars which will be ↵Giuseppe Bilotta
displayed, similar to the ones found in search
2007-02-06Move code to get first par from a series of urls from search plugin to ↵Giuseppe Bilotta
Utils, and use it in dict plugin too
2007-02-06Move code to find and ircify first par from search plugin to utilsGiuseppe Bilotta
2007-02-06Move extensions to standard classes into a specific extends.rb util moduleGiuseppe Bilotta
2007-02-05search plugin now exploits the new sendmsg improvementsGiuseppe Bilotta
2007-02-04More search.rb first_par fixupsGiuseppe Bilotta
2007-02-04Improve 'first paragraph' detection in search plugin, and clean up ↵Giuseppe Bilotta
ircify_html method
2007-01-28Searches now can return the first paragraph of the first 'n' hits. Wikipedia ↵Giuseppe Bilotta
and Google searches can be configured separately both concerning number of hits returned and number of 'first paragraph' returned
2006-10-24Initial implementation of proper caching based on last-modified and etag ↵Giuseppe Bilotta
HTTP headers
2006-10-15When searching Wikipedia, strip 'Wikipedia, the free encyclopedia' from titlesGiuseppe Bilotta
2006-10-14Add Wikipedia searching to the search pluginGiuseppe Bilotta
2006-10-14Rename google plugin back to search in preparation for wikipedia supportGiuseppe Bilotta