2013-09-02 11:15:12 +02:00
|
|
|
#! /usr/bin/perl
|
2010-09-18 18:45:20 +02:00
|
|
|
#
|
|
|
|
# gatherstats.pl
|
|
|
|
#
|
|
|
|
# This script will gather statistical information from a database
|
|
|
|
# containing headers and other information from a INN feed.
|
|
|
|
#
|
|
|
|
# It is part of the NewsStats package.
|
|
|
|
#
|
2012-05-07 20:29:25 +02:00
|
|
|
# Copyright (c) 2010-2012 Thomas Hochstein <thh@inter.net>
|
2010-09-18 18:45:20 +02:00
|
|
|
#
|
|
|
|
# It can be redistributed and/or modified under the same terms under
|
|
|
|
# which Perl itself is published.
|
|
|
|
|
|
|
|
BEGIN {
|
|
|
|
our $VERSION = "0.01";
|
|
|
|
use File::Basename;
|
|
|
|
push(@INC, dirname($0));
|
|
|
|
}
|
|
|
|
use strict;
|
2013-09-02 11:15:12 +02:00
|
|
|
use warnings;
|
2010-09-18 18:45:20 +02:00
|
|
|
|
2013-09-01 17:52:21 +02:00
|
|
|
use NewsStats qw(:DEFAULT :TimePeriods ListNewsgroups ParseHierarchies ReadGroupList);
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
use DBI;
|
2012-05-07 20:29:25 +02:00
|
|
|
use Getopt::Long qw(GetOptions);
|
|
|
|
Getopt::Long::config ('bundling');
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
################################# Definitions ##################################
|
|
|
|
|
|
|
|
# define types of information that can be gathered
|
|
|
|
# all / groups (/ clients / hosts)
|
2012-05-07 20:29:25 +02:00
|
|
|
my %LegalStats;
|
|
|
|
@LegalStats{('all','groups')} = ();
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
################################# Main program #################################
|
|
|
|
|
|
|
|
### read commandline options
|
2012-05-07 20:29:25 +02:00
|
|
|
my ($OptCheckgroupsFile,$OptClientsDB,$OptDebug,$OptGroupsDB,$OptTLH,
|
|
|
|
$OptHostsDB,$OptMonth,$OptRawDB,$OptStatsType,$OptTest);
|
|
|
|
GetOptions ('c|checkgroups=s' => \$OptCheckgroupsFile,
|
|
|
|
'clientsdb=s' => \$OptClientsDB,
|
|
|
|
'd|debug!' => \$OptDebug,
|
|
|
|
'groupsdb=s' => \$OptGroupsDB,
|
|
|
|
'hierarchy=s' => \$OptTLH,
|
|
|
|
'hostsdb=s' => \$OptHostsDB,
|
|
|
|
'm|month=s' => \$OptMonth,
|
|
|
|
'rawdb=s' => \$OptRawDB,
|
|
|
|
's|stats=s' => \$OptStatsType,
|
|
|
|
't|test!' => \$OptTest,
|
|
|
|
'h|help' => \&ShowPOD,
|
|
|
|
'V|version' => \&ShowVersion) or exit 1;
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
### read configuration
|
2012-05-07 20:29:25 +02:00
|
|
|
my %Conf = %{ReadConfig($HomePath.'/newsstats.conf')};
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
### override configuration via commandline options
|
|
|
|
my %ConfOverride;
|
2012-05-07 20:29:25 +02:00
|
|
|
$ConfOverride{'DBTableRaw'} = $OptRawDB if $OptRawDB;
|
|
|
|
$ConfOverride{'DBTableGrps'} = $OptGroupsDB if $OptGroupsDB;
|
|
|
|
$ConfOverride{'DBTableClnts'} = $OptClientsDB if $OptClientsDB;
|
|
|
|
$ConfOverride{'DBTableHosts'} = $OptHostsDB if $OptHostsDB;
|
|
|
|
$ConfOverride{'TLH'} = $OptTLH if $OptTLH;
|
2010-09-18 18:45:20 +02:00
|
|
|
&OverrideConfig(\%Conf,\%ConfOverride);
|
|
|
|
|
|
|
|
### get type of information to gather, defaulting to 'all'
|
2012-05-07 20:29:25 +02:00
|
|
|
$OptStatsType = 'all' if !$OptStatsType;
|
|
|
|
&Bleat(2, sprintf("Unknown type '%s'!", $OptStatsType))
|
|
|
|
if !exists($LegalStats{$OptStatsType});
|
2010-09-18 18:45:20 +02:00
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
### get time period from --month
|
|
|
|
# get verbal description of time period, drop SQL code
|
|
|
|
my ($Period) = &GetTimePeriod($OptMonth);
|
|
|
|
&Bleat(2,"--month option has an invalid format - please use 'YYYY-MM' or ".
|
|
|
|
"'YYYY-MM:YYYY-MM'!") if (!$Period or $Period eq 'all time');
|
2010-09-18 18:45:20 +02:00
|
|
|
|
2010-11-01 21:45:35 +01:00
|
|
|
### reformat $Conf{'TLH'}
|
|
|
|
my $TLH;
|
|
|
|
if ($Conf{'TLH'}) {
|
|
|
|
# $Conf{'TLH'} is parsed as an array by Config::Auto;
|
|
|
|
# make a flat list again, separated by :
|
2012-05-27 13:56:06 +02:00
|
|
|
if (ref($Conf{'TLH'}) eq 'ARRAY') {
|
2010-11-01 21:45:35 +01:00
|
|
|
$TLH = join(':',@{$Conf{'TLH'}});
|
|
|
|
} else {
|
|
|
|
$TLH = $Conf{'TLH'};
|
|
|
|
}
|
|
|
|
# strip whitespace
|
|
|
|
$TLH =~ s/\s//g;
|
2012-05-27 13:58:32 +02:00
|
|
|
# add trailing dots if none are present yet
|
|
|
|
# (using negative look-behind assertions)
|
|
|
|
$TLH =~ s/(?<!\.):/.:/g;
|
|
|
|
$TLH =~ s/(?<!\.)$/./;
|
2010-11-01 21:45:35 +01:00
|
|
|
# check for illegal characters
|
2012-05-07 20:29:25 +02:00
|
|
|
&Bleat(2,'Config error - illegal characters in TLH definition!')
|
2012-05-27 14:00:14 +02:00
|
|
|
if ($TLH !~ /^[a-zA-Z0-9:+.-]+$/);
|
2012-05-27 13:58:32 +02:00
|
|
|
# escape dots
|
|
|
|
$TLH =~ s/\./\\./g;
|
2010-11-01 21:45:35 +01:00
|
|
|
if ($TLH =~ /:/) {
|
2012-05-07 20:29:25 +02:00
|
|
|
# reformat $TLH from a:b to (a)|(b),
|
2012-05-27 13:56:06 +02:00
|
|
|
# e.g. replace ':' by ')|('
|
2010-11-01 21:45:35 +01:00
|
|
|
$TLH =~ s/:/)|(/g;
|
|
|
|
$TLH = '(' . $TLH . ')';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2010-09-18 18:45:20 +02:00
|
|
|
### init database
|
|
|
|
my $DBHandle = InitDB(\%Conf,1);
|
|
|
|
|
|
|
|
### get data for each month
|
2012-05-07 20:29:25 +02:00
|
|
|
&Bleat(1,'Test mode. Database is not updated.') if $OptTest;
|
|
|
|
foreach my $Month (&ListMonth($Period)) {
|
2010-09-18 18:45:20 +02:00
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
print "---------- $Month ----------\n" if $OptDebug;
|
2010-09-18 18:45:20 +02:00
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
if ($OptStatsType eq 'all' or $OptStatsType eq 'groups') {
|
2012-05-27 15:53:29 +02:00
|
|
|
# read list of newsgroups from --checkgroups
|
|
|
|
# into a hash
|
|
|
|
my %ValidGroups = %{ReadGroupList(sprintf('%s-%s',$OptCheckgroupsFile,$Month))}
|
|
|
|
if $OptCheckgroupsFile;
|
|
|
|
|
2010-09-18 18:45:20 +02:00
|
|
|
### ----------------------------------------------
|
|
|
|
### get groups data (number of postings per group)
|
|
|
|
# get groups data from raw table for given month
|
2012-05-07 20:29:25 +02:00
|
|
|
my $DBQuery = $DBHandle->prepare(sprintf("SELECT newsgroups FROM %s.%s ".
|
|
|
|
"WHERE day LIKE ? AND NOT disregard",
|
|
|
|
$Conf{'DBDatabase'},
|
|
|
|
$Conf{'DBTableRaw'}));
|
|
|
|
$DBQuery->execute($Month.'-%')
|
|
|
|
or &Bleat(2,sprintf("Can't get groups data for %s from %s.%s: ".
|
|
|
|
"$DBI::errstr\n",$Month,
|
|
|
|
$Conf{'DBDatabase'},$Conf{'DBTableRaw'}));
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
# count postings per group
|
|
|
|
my %Postings;
|
|
|
|
while (($_) = $DBQuery->fetchrow_array) {
|
2013-08-11 01:47:32 +02:00
|
|
|
# get list of newsgroups and hierarchies from Newsgroups:
|
2012-05-07 20:29:25 +02:00
|
|
|
my %Newsgroups = ListNewsgroups($_,$TLH,
|
|
|
|
$OptCheckgroupsFile ? \%ValidGroups : '');
|
2010-09-18 18:45:20 +02:00
|
|
|
# count each newsgroup and hierarchy once
|
|
|
|
foreach (sort keys %Newsgroups) {
|
|
|
|
$Postings{$_}++;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
# add valid but empty groups if --checkgroups is set
|
2010-11-01 17:04:05 +01:00
|
|
|
if (%ValidGroups) {
|
|
|
|
foreach (sort keys %ValidGroups) {
|
|
|
|
if (!defined($Postings{$_})) {
|
2013-09-01 17:52:21 +02:00
|
|
|
# add current newsgroup as empty group
|
|
|
|
$Postings{$_} = 0;
|
|
|
|
warn (sprintf("ADDED: %s as empty group\n",$_));
|
|
|
|
# add empty hierarchies for current newsgroup as needed
|
|
|
|
foreach (ParseHierarchies($_)) {
|
|
|
|
my $Hierarchy = $_ . '.ALL';
|
|
|
|
if (!defined($Postings{$Hierarchy})) {
|
|
|
|
$Postings{$Hierarchy} = 0;
|
|
|
|
warn (sprintf("ADDED: %s as empty group\n",$Hierarchy));
|
2013-08-11 01:47:32 +02:00
|
|
|
};
|
|
|
|
};
|
2010-11-01 17:04:05 +01:00
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
2013-08-11 01:47:32 +02:00
|
|
|
|
2010-11-01 18:51:26 +01:00
|
|
|
# delete old data for that month
|
2012-05-07 20:29:25 +02:00
|
|
|
if (!$OptTest) {
|
|
|
|
$DBQuery = $DBHandle->do(sprintf("DELETE FROM %s.%s WHERE month = ?",
|
|
|
|
$Conf{'DBDatabase'},$Conf{'DBTableGrps'}),
|
|
|
|
undef,$Month)
|
|
|
|
or &Bleat(2,sprintf("Can't delete old groups data for %s from %s.%s: ".
|
|
|
|
"$DBI::errstr\n",$Month,
|
|
|
|
$Conf{'DBDatabase'},$Conf{'DBTableGrps'}));
|
2010-11-01 18:51:26 +01:00
|
|
|
};
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
print "----- GroupStats -----\n" if $OptDebug;
|
2010-09-18 18:45:20 +02:00
|
|
|
foreach my $Newsgroup (sort keys %Postings) {
|
2012-05-07 20:29:25 +02:00
|
|
|
print "$Newsgroup => $Postings{$Newsgroup}\n" if $OptDebug;
|
|
|
|
if (!$OptTest) {
|
2010-09-18 18:45:20 +02:00
|
|
|
# write to database
|
2012-05-07 20:29:25 +02:00
|
|
|
$DBQuery = $DBHandle->prepare(sprintf("INSERT INTO %s.%s ".
|
|
|
|
"(month,newsgroup,postings) ".
|
|
|
|
"VALUES (?, ?, ?)",
|
|
|
|
$Conf{'DBDatabase'},
|
|
|
|
$Conf{'DBTableGrps'}));
|
|
|
|
$DBQuery->execute($Month, $Newsgroup, $Postings{$Newsgroup})
|
|
|
|
or &Bleat(2,sprintf("Can't write groups data for %s/%s to %s.%s: ".
|
|
|
|
"$DBI::errstr\n",$Month,$Newsgroup,
|
|
|
|
$Conf{'DBDatabase'},$Conf{'DBTableGrps'}));
|
2010-09-18 18:45:20 +02:00
|
|
|
$DBQuery->finish;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
} else {
|
|
|
|
# other types of information go here - later on
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
### close handles
|
|
|
|
$DBHandle->disconnect;
|
|
|
|
|
|
|
|
__END__
|
|
|
|
|
|
|
|
################################ Documentation #################################
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
gatherstats - process statistical data from a raw source
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2012-05-27 15:53:29 +02:00
|
|
|
B<gatherstats> [B<-Vhdt>] [B<-m> I<YYYY-MM> | I<YYYY-MM:YYYY-MM>] [B<-s> I<stats] [B<-c> I<filename template>]] [B<--hierarchy> I<TLH>] [B<--rawdb> I<database table>] [B<-groupsdb> I<database table>] [B<--clientsdb> I<database table>] [B<--hostsdb> I<database table>]
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
=head1 REQUIREMENTS
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
See L<doc/README>.
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
|
|
|
This script will extract and process statistical information from a
|
|
|
|
database table which is fed from F<feedlog.pl> for a given time period
|
2010-09-19 13:32:12 +02:00
|
|
|
and write its results to (an)other database table(s). Entries marked
|
2012-05-07 20:29:25 +02:00
|
|
|
with I<'disregard'> in the database will be ignored; currently, you
|
|
|
|
have to set this flag yourself, using your database management tools.
|
|
|
|
You can exclude erroneous entries that way (e.g. automatic reposts
|
|
|
|
(think of cancels flood and resurrectors); spam; ...).
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
The time period to act on defaults to last month; you can assign
|
2012-05-07 20:29:25 +02:00
|
|
|
another time period or a single month via the B<--month> option (see
|
|
|
|
below).
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
By default B<gatherstats> will process all types of information; you
|
2012-05-07 20:29:25 +02:00
|
|
|
can change that using the B<--stats> option and assigning the type of
|
|
|
|
information to process. Currently that doesn't matter yet as only
|
|
|
|
processing of the number of postings per group per month is
|
|
|
|
implemented anyway.
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
Possible information types include:
|
|
|
|
|
|
|
|
=over 3
|
|
|
|
|
|
|
|
=item B<groups> (postings per group per month)
|
|
|
|
|
|
|
|
B<gatherstats> will examine Newsgroups: headers. Crosspostings will be
|
|
|
|
counted for each single group they appear in. Groups not in I<TLH>
|
|
|
|
will be ignored.
|
|
|
|
|
|
|
|
B<gatherstats> will also add up the number of postings for each
|
|
|
|
hierarchy level, but only count each posting once. A posting to
|
|
|
|
de.alt.test will be counted for de.alt.test, de.alt.ALL and de.ALL,
|
|
|
|
respectively. A crossposting to de.alt.test and de.alt.admin, on the
|
|
|
|
other hand, will be counted for de.alt.test and de.alt.admin each, but
|
|
|
|
only once for de.alt.ALL and de.ALL.
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
Data is written to I<DBTableGrps> (see L<doc/INSTALL>); you can
|
|
|
|
override that default through the B<--groupsdb> option.
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head2 Configuration
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
B<gatherstats> will read its configuration from F<newsstats.conf>
|
2010-09-18 18:45:20 +02:00
|
|
|
which should be present in the same directory via Config::Auto.
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
See L<doc/INSTALL> for an overview of possible configuration options.
|
2010-09-18 18:45:20 +02:00
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
You can override configuration options via the B<--hierarchy>,
|
|
|
|
B<--rawdb>, B<--groupsdb>, B<--clientsdb> and B<--hostsdb> options,
|
|
|
|
respectively.
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 3
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
=item B<-V>, B<--version>
|
2010-09-18 18:45:20 +02:00
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
Print out version and copyright information and exit.
|
2010-09-18 18:45:20 +02:00
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
=item B<-h>, B<--help>
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
Print this man page and exit.
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
=item B<-d>, B<--debug>
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
Output debugging information to STDOUT while processing (number of
|
|
|
|
postings per group).
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
=item B<-t>, B<--test>
|
2010-09-18 18:45:20 +02:00
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
Do not write results to database. You should use B<--debug> in
|
|
|
|
conjunction with B<--test> ... everything else seems a bit pointless.
|
2010-09-18 18:45:20 +02:00
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
=item B<-m>, B<--month> I<YYYY-MM[:YYYY-MM]>
|
2010-09-18 18:45:20 +02:00
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
Set processing period to a single month in YYYY-MM format or to a time
|
|
|
|
period between two month in YYYY-MM:YYYY-MM format (two month, separated
|
|
|
|
by a colon).
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
=item B<-s>, B<--stats> I<type>
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
Set processing type to one of I<all> and I<groups>. Defaults to all
|
|
|
|
(and is currently rather pointless as only I<groups> has been
|
|
|
|
implemented).
|
|
|
|
|
2012-05-27 15:53:29 +02:00
|
|
|
=item B<-c>, B<--checkgroups> I<filename template>
|
|
|
|
|
|
|
|
Check each group against a list of valid newsgroups read from a file,
|
|
|
|
one group on each line and ignoring everything after the first
|
|
|
|
whitespace (so you can use a file in checkgroups format or (part of)
|
|
|
|
your INN active file).
|
|
|
|
|
|
|
|
The filename is taken from I<filename template>, amended by each B<--
|
|
|
|
month> B<gatherstats> is processing, so that
|
|
|
|
|
|
|
|
gatherstats -m 2010-01:2010-12 -c checkgroups
|
2010-11-01 17:04:05 +01:00
|
|
|
|
2012-05-27 15:53:29 +02:00
|
|
|
will check against F<checkgroups-2010-01> for January 2010, against
|
|
|
|
F<checkgroups-2010-02> for February 2010 and so on.
|
2010-11-01 17:04:05 +01:00
|
|
|
|
2012-05-27 15:53:29 +02:00
|
|
|
Newsgroups not found in the checkgroups file will be dropped (and
|
|
|
|
logged to STDERR), and newsgroups found there but having no postings
|
2010-11-01 17:04:05 +01:00
|
|
|
will be added with a count of 0 (and logged to STDERR).
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
=item B<--hierarchy> I<TLH> (newsgroup hierarchy)
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
Override I<TLH> from F<newsstats.conf>.
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
=item B<--rawdb> I<table> (raw data table)
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
Override I<DBTableRaw> from F<newsstats.conf>.
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
=item B<--groupsdb> I<table> (postings per group table)
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
Override I<DBTableGrps> from F<newsstats.conf>.
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
=item B<--clientsdb> I<table> (client data table)
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
Override I<DBTableClnts> from F<newsstats.conf>.
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
=item B<--hostsdb> I<table> (host data table)
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
Override I<DBTableHosts> from F<newsstats.conf>.
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 INSTALLATION
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
See L<doc/INSTALL>.
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
|
|
|
Process all types of information for lasth month:
|
|
|
|
|
|
|
|
gatherstats
|
|
|
|
|
|
|
|
Do a dry run, showing results of processing:
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
gatherstats --debug --test
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
Process all types of information for January of 2010:
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
gatherstats --month 2010-01
|
2010-09-18 18:45:20 +02:00
|
|
|
|
2010-11-01 17:04:05 +01:00
|
|
|
Process only number of postings for the year of 2010,
|
2012-05-27 15:53:29 +02:00
|
|
|
checking against checkgroups-*:
|
2010-09-18 18:45:20 +02:00
|
|
|
|
2012-05-27 15:53:29 +02:00
|
|
|
gatherstats -m 2010-01:2010-12 -s groups -c checkgroups
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
=head1 FILES
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item F<gatherstats.pl>
|
|
|
|
|
|
|
|
The script itself.
|
|
|
|
|
|
|
|
=item F<NewsStats.pm>
|
|
|
|
|
|
|
|
Library functions for the NewsStats package.
|
|
|
|
|
|
|
|
=item F<newsstats.conf>
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
Runtime configuration file.
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 BUGS
|
|
|
|
|
|
|
|
Please report any bugs or feature requests to the author or use the
|
|
|
|
bug tracker at L<http://bugs.th-h.de/>!
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
|
|
|
=over 2
|
|
|
|
|
|
|
|
=item -
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
L<doc/README>
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
=item -
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
L<doc/INSTALL>
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
This script is part of the B<NewsStats> package.
|
|
|
|
|
|
|
|
=head1 AUTHOR
|
|
|
|
|
|
|
|
Thomas Hochstein <thh@inter.net>
|
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE
|
|
|
|
|
2012-05-07 20:29:25 +02:00
|
|
|
Copyright (c) 2010-2012 Thomas Hochstein <thh@inter.net>
|
2010-09-18 18:45:20 +02:00
|
|
|
|
|
|
|
This program is free software; you may redistribute it and/or modify it
|
|
|
|
under the same terms as Perl itself.
|
|
|
|
|
|
|
|
=cut
|