Podalyzer

From Hexten

Jump to: navigation, search

Podalyzer is a perl script that analyses web server access logs and produces reports on podcast (mp3 and the like) downloads. Here is a sample report: http://singletrackworld.com/stats/.

Contents

[edit] Finding out more

There is a mailing list here for discussion of and questions about Podalyzer. When I post articles about Podalyzer they will appear here.

[edit] Manual pages

The manual page for Podalyzer is here and for Podfeeder here.

[edit] Downloads

Version Archive Date
0.9

podalyzer-0.9.tar.gz (26Kb)

24 May 2007

[edit] Installation

Downloading was the easy bit I'm afraid... Now you have to install a bunch of Perl modules that are required by Podalyzer.

[edit] Prerequisites

Podalyzer needs a recent version of Perl (5.8.3 or better). In addition you must

  • have a web server that produces log files in Common Log File or Extended Common Log File formats
  • have access to those log files
  • to run Podalyzer have the following Perl modules installed:
  • to have stats analysed by country have the following Perl modules installed:
  • to run Podfeeder have the following Perl modules installed:

[edit] Install Podalyzer and Podfeeder

Download the latest version of Podalyzer from http://hexten.net/podalyzer/. Extract the downloaded file:

$ tar zxf podalyzer-0.1.tar.gz

Optionally you can move podalyzer and podfeeder to a convenient directory on your path. That might go something like this...

$ cd podalyzer-0.1
$ mv podalyzer podfeeder ~/bin

...but the details will depend on your setup.

[edit] Install Perl Modules

The easiest way to install Perl modules is to use the CPAN interface like this:

$ perl -MCPAN -e shell
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support enabled

cpan> install GD::Graph
(lots of output deleted)
GD::Graph is up to date.
cpan> install HTML::Entities
(lots of output deleted)
HTML::Entities is up to date.
cpan> install Geo::IP
(lots of output deleted)
Geo::IP is up to date.
cpan> install XML::Parser
(lots of output deleted)
XML::Parser is up to date.
cpan> install LWP::UserAgent
(lots of output deleted)
LWP::UserAgent is up to date.
cpan> exit

Geo::IP is optional; if you don't install it reports will not analyse downloads by country.

Geo::IP, GD::Graph and XML::Parser all require external libraries to be installed. If you don't have those prerequisite libraries CPAN will fail to install the modules. Please consult the documentation for those modules for more information.

Once those modules have been successfully installed you should be ready to run Podalyzer and Podstats.

Personal tools
Mongers