An update on what's happening with the next version:
I've OOPed everything and split everything into modules and classes.
There will be the following modules:
NNTP - A slight extension to the standard Perl module
MySQL - Database functionality
Article - A class for formatting and processing usenet articles
vB224 - An interface to vBulletin, handling inserts, indexing etc
Config - Script configuration class
These modules will all be called from a single script that controls the program execution.
The forum module (vb224.pm) will have a standard interface that will allow different versions of vB (or even other forums) to be used by simply dropping in the correct module. Basicaly, this module will be passed an instance of the Article class.
This new version should still be a drop in replacement to newnews.pl.
I have completed the first cut of all modules except vB224 (although, I'm well on the way to finishing it). I'm away on vacation next week so I won't be working on it until I get back.
|