Help » Charts in Blog Posts

BROWSE HELP

Additional Help

Other Information

Please be safe, consult with your physician before beginning any
new fitness plan.

One of the ways you can customize your Sweat365 blog is to embed charts from your logbook into blog posts. Let’s say for example that you’re writing a blog post summary of your training activity for the last month, you may want to include a table of distances and time for various activities, and include a year to date chart of your activity.

Here are some quick instructions on how to accomplish this.

If you’d like to embed a logbook chart into your blog post you can use a logbook-chart template tag to do so. A “template tag” is similar to those used to include MapMyFitness routes. For example, to include a table of your activity from January 1st to January 31st, you would include the following text in your blog post:
{logbook-chart:activity start_date=2007-01-01 end_date=2007-31-01 sbr_only=0}

If you’d like to only include a summary of Swim/Bike/Run activity, then set the sbr_only attribute to 1, like this:
{logbook-chart:activity start_date=2007-01-01 end_date=2007-31-01 sbr_only=1}

If you just want a table, without a pie chart, you can use the following tag:
{logbook-table:activity start_date=2007-01-01 end_date=2007-31-01 sbr_only=0}

You can also include an year to date chart of weekly activity with the following tag:
{logbook-chart:weeklyview width=400 height=300}

Or you can include distance summaries for biking or running with one of the following tags:
{logbook-chart:weeklymiles width=400 height=300 activity=bike}
{logbook-chart:weeklymiles width=400 height=300 activity=run}

With the weekly charts, you can adjust the width and height to fit into your favorite blog theme. But generally a width of 400 and height of 300 looks best.

1 Comment: :

Charts in Blog Posts

April 28th, 2008 9:22 pm

thebine says:

Hi:

How do I post a countdown clock for my events? I’ve seen clocks on a couple of blogs and I wanted to incorporate one on my page

LEAVE A COMMENT:

News

Couple of New Features: Maps & Slide Shows

May 10, 2009 by Brad Hefta-Gaub

We’ve recently added a couple of new features to Sweat365.com to allow you to spruce up your journal entries even more. One feature allows you to add maps to your blog, and another allows you to embed Flickr slide shows. (more…)

Weekend for Wounded Warriors

May 1, 2009 by Brad Hefta-Gaub

No, this isn’t an article about Wounded Weekend Warriors, this is an article about the great athletic and personal accomplishments of our Wounded Warriors. This weekend several dedicated service personnel who have been wounded in battle are demonstrating their true courage and determination by completing the Third Annual White House to Light House Wounded Warrior Soldiers Ride. (more…)

News Archive