Difference between revisions of "SportTracks Dailymile Plugin"

From Fellrnr.com, Running tips
Jump to: navigation, search
User:Fellrnr (User talk:Fellrnr | contribs)
m
User:Fellrnr (User talk:Fellrnr | contribs)
m
Line 3: Line 3:
 
==How to install the plugin==
 
==How to install the plugin==
 
* Install SportsTracks normally.
 
* Install SportsTracks normally.
* Download the plugin and save it on your hard drive. The file should save automatically as a '.st3plugin' file, but some browsers get confused and try to save it as a '.zip'. If that happens, rename the file to '.st3plugin'. The plugin is available at http://fellrnr.com/Utilities/FellrnrDailyMilePlugin/FellrnrDailyMilePlugin_2.1.0.st3plugin
+
* Download the plugin and save it on your hard drive. The file should save automatically as a '.st3plugin' file, but some browsers get confused and try to save it as a '.zip'. If that happens, rename the file to '.st3plugin'. The plugin is available at http://fellrnr.com/Utilities/FellrnrDailyMilePlugin/FellrnrDailyMilePlugin_2.1.1.st3plugin
 
* Double click the .st3plugin file to install.
 
* Double click the .st3plugin file to install.
 
* Check the plugin is installed correctly
 
* Check the plugin is installed correctly

Revision as of 06:29, 24 July 2012

An example of the analytics graph from the plugin.

This plugin performs training analytics, such as Running Efficiency, Training Monotony and Training Stress Balance, as well as publishing workouts from SportTracks to Dailymile and Runkeeper. This plugin is Shareware and can be purchased from Kagi.

1 How to install the plugin

  • Install SportsTracks normally.
  • Download the plugin and save it on your hard drive. The file should save automatically as a '.st3plugin' file, but some browsers get confused and try to save it as a '.zip'. If that happens, rename the file to '.st3plugin'. The plugin is available at http://fellrnr.com/Utilities/FellrnrDailyMilePlugin/FellrnrDailyMilePlugin_2.1.1.st3plugin
  • Double click the .st3plugin file to install.
  • Check the plugin is installed correctly
    • Start SportTracks
    • Click on settings
      settings.jpg
    • Click on plugins
      settings-plugins.jpg
    • Check that 'Fellrnr's DailyMile Plugin' is shown
      settings-plugins-dailymile.jpg

2 Viewing the analytics

  • Click on 'select view', then 'daily activity'
    SelectDailyActivity.jpg
  • Click on an activity to select it
  • Click on the drop down menu on the top right of the activity window and select 'Fellrnr Analytics'

SportTracksActivityAnalyticsMenu.jpg

  • You will then see the analytics of that workout

SportTracksActivityAnalytics.jpg

3 Viewing Analytics Report

  • Click on 'select view', then 'Activity Reports'

DailyMile Activity Reports.jpg

  • Click on the 'Fellrnr Analytics' button to display the graph of workout information. You can click on the various check boxes to display different information. The graph shows the workouts selected in the top window.

SportTracksTrainingAnalytics.jpg

4 Exporting Workouts to Dailymile.com (Easy Mode)

  • You must have a dailymile.com account setup
  • Start SportTracks if it's not already running
  • Click on 'select view', then 'daily activity'
    SelectDailyActivity.jpg
  • Click on an activity to select it for export
    • Multiple activities can be selected, but this may take a long time and dailymile.com limits the rate of uploads, so you may experience errors
  • Click on 'export' then 'Publish to Dailymile.com (easy)', then choose how you felt.

ExportEasy.jpg

  • The first time you use the plugin, a popup will ask you to log into dailymile.com and authorize the plugin. Logging on with your Facebook account causes problems - please log on directly.
    • This popup uses the browser settings for the HTTP proxy rather than the SportTracks settings. (Don't worry if that doesn't mean anything to you. You shouldn't have to worry about it.)
    • The authorization token is stored in the logbook, so different SportTracks users can have different dailymile.com accounts.
    • You can clear the authorization information by looking under the plugin specific settings.
  • A browser window should popup with your workout in Dailymile.com

5 Exporting Workouts to Dailymile.com (Advanced Mode)

  • You must have a dailymile.com account setup
  • Start SportTracks if it's not already running
  • Click on 'select view', then 'daily activity'
    SelectDailyActivity.jpg
  • Click on an activity to select it for export
    • Multiple activities can be selected, but this may take a long time and dailymile.com limits the rate of uploads, so you may experience errors
  • Click on 'export' then 'Publish to Dailymile.com (Advanced)', then choose how you felt.

ExportAdvanced.jpg

  • The first time you use the plugin, a popup will ask you to log into dailymile.com and authorize the plugin. Logging on with your Facebook account causes problems - please log on directly.
    • This popup uses the browser settings for the HTTP proxy rather than the SportTracks settings. (Don't worry if that doesn't mean anything to you. You shouldn't have to worry about it.)
    • The authorization token is stored in the logbook, so different SportTracks users can have different dailymile.com accounts.
    • You can clear the authorization information by looking under the plugin specific settings.
  • You will see a popup allowing you to customize the data exported to Dailymile.com. Note that you can get help by hovering your mouse over a field, as shown below.

DailyMile SportTracks Screenshot full.jpg

    • The plugin attempts to guess what the correct activity type is from the activity category in SportTracks as described below. (If you think it should make better guesses, let me know.) You can change the activity type. If you hit okay, your workout will be posted and a browser window will popup with your workout in Dailymile.com. Note that the text of your workout is in the windows clipboard, so you can paste it into another site such as Google+

6 Select Laps Dialog

This dialog allows you to select specific laps for publication. This is useful if you are doing interval training and only want to publish the work intervals.
SelectLaps.jpg

  • To select laps, click on a lap. Holding the control key will add to the selection, holding the shift key will select ranges.
  • Pressing "Select Odd" will select the odd numbered intervals. The selection can then be modified by clicking on laps with the control key pressed.
  • Pressing "Select Even" will select the even numbered intervals. The selection can then be modified by clicking on laps with the control key pressed.
  • Pressing "Guess Intervals" will look at the start and end heart rate to determine the work intervals. The 'interval threshold' is used to determine the work intervals. A lap will be selected if the finish heart rate is greater than the start heart rate by at least the threshold value. select the even numbered intervals. The selection can then be modified by clicking on laps with the control key pressed.

7 How SportTracks Activity Categories are mapped to Dailymile Activity Types

This plugin looks at the text of the SportTracks Activity Category and guesses the appropriate Dailymile Activity Type

  • If category contains "running" then Activity type is running
  • If category contains "cycling", "biking", or "bike" then Activity type is cycling
  • If category contains "swim" then Activity type is swimming
  • If category contains "walk" then Activity type is walking
  • Otherwise default Activity type to fitness

8 Missing Features

Some features are missing because they are not yet supported in the Dailymile.com API. These include

  • Max and average HR
  • Weather icon
  • Effort
  • Gear
  • Keywords

When these are added to the API, I will add support in the plugin.

9 Purchasing a License

The plugin will prompt you if you do not have a license with the message shown below.
BuyNow.jpg

Clicking Yes will bring up the online store in your browser and display the license dialog shown below.
PromptForLicense.jpg

Enter the license you received, taking care in case line breaks have been inserted in the license string. The license key should looks something like this (this is not a valid key!)

WWVIwMTEtz0xMLDMSywwSkZT,c08SIHlsBIzSGNGI7uOh5TDq4wc8GUW9BXJHz8sy0qJbax4yRFDRpwg3lgVN/GeZjfRWHnd0LzWFZVuaZZuFxNqYHwvN4TezuvEMUjaXE2hmt6Ad0+ROf7Q+5o6mHCFjSOldIwPr+Jukb2nLKgU1+6vFLlYI/Xb39+7PgEmLnEU=

9.1 Direct Purchase

Licenses are purchased via http://store.kagi.com/cgi-bin/store.cgi?storeID=6FHVC_LIVE which will provide you with a license key.

9.2 Manually entering the license key

The license key can be viewed and edited on the plugin settings page.

  • Click on settings
    settings.jpg
  • Click on plugins
    settings-plugins.jpg
  • Click on 'Fellrnr Daily Mile Settings', then 'Enter License...'
    DMPluginSettings.jpg
  • Enter license key in the dialog.
    PromptForLicense.jpg

10 Changing dailymile.com Accounts

If you change your account on dailymile.com, you'll need to clear the token that this plugin stores.

  • You may need to clear your Internet Explorer cookies, as this plugin uses the browser for authentication. Clearing the cookies is documented at http://support.microsoft.com/kb/278835
  • Start SportTracks
  • Click on settings
    settings.jpg
  • Select "Fellrnr Daily Mile Setting" and click on "Clear OAuth Token"
    ClearOAuth.JPG
  • You'll be prompted to log on next time you publish to dailymile.com

11 Facebook Authorization

There are a few problems with accessing Dailymile.com using Facebook credentials, and it is better to log in with an email address and password.

12 Support

For support, email plugin <at> fellrnr <dot> com.

13 Change History

  • 2.1.0
    • A major upgrade, adding more analytics
    • Add a view of the analytics without having to post the workout
    • Add a report of the analytics over time
  • 1.2.1
    • Add basic runkeeper.com support.
    • Fix some authentication issues with dailymile.com.
    • Performance improvements posting to dailymile.com.
    • Add more options to the advanced dialog.
  • 1.1.3
    • Add ability to post the GPS data to Dailymile.com.
    • Add a button to the advanced dialog to save the checked options as a future default.
    • Change menu so that you select 'felt' as part of the export.
    • Give the option to post workout using the current time rather than the start time of the workout. This is only available for workouts completed today.
    • Correct a bug that stops manually entered workouts from having a distance.
    • Use the smoothed heart rate and cadence data rather than raw values.
    • Default to all laps selected on the select laps dialog.