2017 © Pedro Peláez
 

library awstatsparser

image

aaronvangeffen/awstatsparser

  • Friday, March 30, 2018
  • by AaronVanGeffen
  • Repository
  • 4 Watchers
  • 8 Stars
  • 468 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 2 Open issues
  • 6 Versions
  • 4 % Grown

The README.md

AwstatsParser

This package contains a series of classes to help read and merge Awstats data files. It includes an example that can be used to merge Awstats data files via a posix commandline., (*1)

Class description

The package contains three classes:, (*2)

  • AwstatsFromFile, used to read existing Awstats statistics from file;
  • AwstatsMerger, used to merges instances of AwstatsFile;
  • AwstatsFile, which is an abstract class used to generalise the two.

Merging files

The awmerge.php script included in the package may be used to easily merge Awstats data files from a shell. CLI arguments are the filenames to merge; the merged statistics file will be echoed to the output buffer (e.g. STDOUT) and can be piped., (*3)

Let’s give an example. Say you have two Awstats statistics files awstats062010.aaronweb.net.txt and awstats062010.projects.aaronweb.net.txt, and the AwParse script as awparse.php. Assuming php is the binary for php-cli, you’d merge these files by executing:, (*4)

$ php awparse.php awstats062010.www.aaronweb.net.txt awstats062010.projects.aaronweb.net.txt > awstats062010.aaronweb.net.txt

To do

  • Import mode: only add unique missing data, or merge all data
  • Prefixes and suffixes for URLs on import, i.e. adding /projects as a prefix

Contributing

Bug reports and pull requests are most welcome through Github. The repository is located at: https://github.com/AaronVanGeffen/AwstatsParser, (*5)

The Versions

30/03 2018

v1.2

1.2.0.0

  Sources   Download

30/03 2018

v1.0

1.0.0.0

  Sources   Download

30/03 2018

v1.1

1.1.0.0

  Sources   Download

04/05 2017

dev-master

9999999-dev https://github.com/AaronVanGeffen/AwstatsParser

A series of classes to help read and merge Awstats data files

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

statistics merge awstats

04/05 2017

v1.4

1.4.0.0 https://github.com/AaronVanGeffen/AwstatsParser

A series of classes to help read and merge Awstats data files

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

statistics merge awstats

04/02 2017

v1.3

1.3.0.0 https://github.com/AaronVanGeffen/AwstatsParser

A series of classes to help read and merge Awstats data files

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

statistics merge awstats