A newer version of Simple Stats is currently available


Click here to download

Simple Stats is here!

This script allows you to analyze log files created by the JW FLV Player so they are easy to read.

OK so here is the deal. This script requires that you run the stats program by Will and then the Ruby Script to have a nice file generated for you. This software is issued without any warranties. Please do not use this script on any mission critical applications as it is still beta.

Planned Features

  • IP filtering to allow a single IP viewing history
  • PNG conversion of the SVG to allow more browsers to view the graph
  • Filtering of bad log info made by invalid entries
  • Dated log files
  • Please leave a comment if you have a feature request

Getting Started

We will all ready assume that you are familiar with the JW FLV Player and the Callback function that is used to generate a log file of views. If not Click Here.

  • Install Ruby If you all ready have Ruby installed you can skip this step (Mac OS X 10.2 and Higher have Ruby).
  • Download Simple Stats V .01
  • Unzip the file. You will have a folder with: SimpleStats.rb, xhtml.template, video_stats.php, and sub folder named SVG
  • To run from your desktop you will need to download your log file into the folder you just created

On Windows

  • Open your commands prompt and navigate to the folder you created
  • Type in: ruby SimpleStats.rb video_stats.log >today.log
  • By default the stats script creates a file called video_stats.log. If you change the file name you will need to modify the above command for it to work
  • The above command will generate a file called today.log in the directory of the original log file for you. It will also create a stats.html file. If you have Safari Beta 3 or the latest version of Firefox it will be able to view the SVG graph file created. If not it will be blank and just show the log results.

On Mac OS X

  • Open up terminal and navigate to the folder you created
  • Type in: ./SimpleStats.rb video_stats.log >today.log
  • The above command will generate a file called today.log in the directory of the original log file for you. It will also create a stats.html file. If you have Safari Beta 3 or the latest version of Firefox it will be able to view the SVG graph file created. If not it will be blank and just show the log results.

Programmers

Testers & Feedback

| Simple Stats Photo Gallery |

Simple Stats Example 1Simple Stats Example 2Simple Stats Example 3Simple Stats Example 4