SugarWOD can publish your workouts in several ways:
- To your gym's website with our Website Plug-in
- To any website (including your own) with an RSS feed
- To any website (including your own) with an embedded HTML page
This article discusses how to configure an HTML webpage. We have additional articles on installing the Website Plug-in and creating RSS Feeds.
You configure HTML pages in the SugarWOD website. First login, then:
- Turn on workout publishing on the RSS / HTML Settings page.
- Choose the number of days (into the past) you'd like to publish. Enter "0" if you only want to publish the current day's workouts. Enter "7" to publish the past 7 days of workouts.
- Choose the number of days (into the future) you'd like to publish. Enter "0" if you do not want any future workouts to be included. No matter your setting here, workouts will abide by the Whiteboard publishing settings.
- Choose the workout tracks that should be included in the feed.
- Choose the "HTML" format.
- Copy the URL.
The URL will look something like this:
https://www.sugarwod.com/public/api/v1/affiliates/YOUR-GYM-ID/workouts/days/7/html?tracks=["workout-of-the-day"]
Repeat steps 2-5 to create as many HTML pages as you need.
The URL that you copied in Step 5 can be used in many ways:
- As a stand-alone web page (not really recommended)
- Embedded in an <iframe> on your website
- Embedded using a website plug-in (e.g. Remote Content Shortcode for WordPress)
Comments
0 comments
Article is closed for comments.