Skip to content

FixingInfobotParser

Nuno Nunes edited this page Nov 30, 2011 · 4 revisions

How best to fix the Infobot's parser

Option 1 - The easy way

Extend the Infobot's code in such a way that we override it's functionality where it makes sense.

Possible ways to do it, (none of which I've yet tried to evaluate as possible and/or desirable):

  1. use base Bot::BasicBot::Pluggable::Module::Infobot
  2. Create an additional module that "hijacks" the parsing function from the core module

Option 2 - The hard "macho" way

Just re-implement the Bot::BasicBot::Pluggable::Module::Infobot module from scratch.

Must-haves:

  • Maintain the current interface at all costs (may extend at will, of course)
Clone this wiki locally