A Runner's log and a bit

May 30, 2011 at 01:49
filed under   |   2 comments (Leave a comment)

Share on RedditShare on FacebookShare on Google+Tweet about this on TwitterShare on StumbleUponPrint this page

[TOC]

Description

Log your runs and other activities. See your progress and statistics.

Screenshots

Summary (main) page Calendar view Training period details page Diagrams page

Conversions guide Detailed logs

Installation

You need a php-aware server to use this application:

  1. Put the source files in a directory on a web server
  2. Edit configure.inc to suit your needs.

Log file format

There are sample log files in the samples/ directory.

You record your runs in a simple text file like this:

# First two lines are ignored. You can put here notes and comments.
# Enter "date" "time" "duration" "distance" "type" "optional comments"
31.5.2011    18:30   50:00    9.5  N   Very windy
2.6.2011     10:00   50:00  11     R   "Race name"

Separate each field with a tab character, or the character you specify in the configuration file.

For other activities, each entry in a log can have any of the following formats:

Configuration

The following are configurable in configure.inc

log_file
Which log file to use. Eg "/home/user/mylogfile.csv"
extra_activities
Log files of extra activities that you want to appear on the calendar.
field_separator
What separates each field in the log file. Default is "tab".
lap_distance_m
The distance of a lap (as you record them) in meters. For example, you should put '1000' here if you want to record your running km.
goal
Distance goal for each month
record_categories
Distance categories for which you want to track record times.

calendar_order
Order of months in calendar page: 'reverse'/'normal'.

Demo

running @ demo

Download

Source: https://github.com/EelVex/Runner-s-log
git clone git://github.com/EelVex/Runner-s-log.git

File Description Size
Runner-s-log-(latest).tar.gz Source files ~1MB
No tips yet.
Be the first to tip!
Like this post? Tip me with bitcoin!

1FfUuhAziGXjUDfAYF45geKeXaHrvVLF7N

Share on RedditShare on FacebookShare on Google+Tweet about this on TwitterShare on StumbleUponPrint this page

2 comments

RSS / trackback

respond

  1. my personal running log — Vlachos Evangelos

    on August 17, 2011 at 20:18

    [...] my log, thanks to Eelvex running log app [...]

  2. vagelis

    on August 19, 2011 at 16:45

    Code suggestions for period.php (version 278bcb3):

    Bug 1 (count days on year change) in line 31, replace with :

    $total_days = date("z", $period[sizeof($period)-1]['datetime_stamp'] - $period[0]['datetime_stamp']))+2;

    Bug 2 (timeline days) lines 32-48, replace with :

    foreach ($period as $run) {
    $n++;
    $day++;
    $total_km += $run['distance'];
    $total_running_time += $run['time_total'];
    $mean_pace += $run['pace'];
    $mean_vo += $run['vo'];
    $the_date = date("d-m-Y",$run['datetime_stamp']);
    echo ''.$run['type_of_run'].''.sprintf("%04.1f",$run['distance'])."$n".week_stats($day, $period)."";

    if($day<=$total_days)
    for($i=0;$i<date("z", $period[$n]['datetime_stamp'] - $period[$n-1['datetime_stamp']);$i++) {
    echo "  $day".week_stats($day, $period)."";
    $day++;
    }
    }

    [Reply]

Real Time Analytics