Ticket #9 (closed task: fixed)

Opened 5 years ago

Last modified 5 years ago

TLD Lookup

Reported by: tobias382 Owned by: Seldaek
Priority: low Component: plugins
Version: 1.5 Severity: normal
Keywords: Cc:

Description

When a user sends a message to a channel of the form '.%' where % is a  TLD, the bot retrieves the corresponding description of that TLD (its purpose or associated country) and sends a message back to the channel containing the TLD and its description.  This list may be helpful as a data source.

Change History

Changed 5 years ago by Seldaek

  • status changed from new to closed
  • resolution set to fixed

(In [9]) fixes #9

Changed 5 years ago by tobias382

Something to consider at some point is the possible addition of a configuration setting that affects how the TLD data used by this plugin is stored and retrieved. In its current implementation, a large array is stored in the class definition. This could be moved into an accompanying SQLite database and loaded either completely when the plugin is instantiated, completely when the first request arrives, or on a per-TLD basis as they're requested. This would allow users on older systems to keep memory usage minimal.

Changed 5 years ago by Seldaek

  • status changed from closed to reopened
  • resolution fixed deleted

TLD data should scraped from wikipedia at first run, and then stored in a SQLite db. This might be updated through some command .update .tldupdate or whatever.. To be defined.

Changed 5 years ago by Seldaek

  • owner changed from tobias382 to Seldaek
  • status changed from reopened to new

Changed 5 years ago by Seldaek

  • priority changed from normal to low

Changed 5 years ago by anonymous

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.