How do I integrate BTWB with my affiliate website?

Gym admins may place BTWB "feeds" on their affiliate websites for a more integrated service. Their are multiple feed options to choose from. Admins can access the feed by clicking on the gym drop-down menu in the header, then by clicking on the "feeds" link.


You can choose from 6 different feeds. The "today" feed is our most popular. It will display the WODs you assigned and the results for them. Results are live to within 5-10 min.


Blow are instructions on how to add a feed to your website. They assume that you have basic PHP and HTML skills, and knowledge of how to add content to your affiliate site.

Step 1: Download Files

Step 2: Use Your Feed URL

Update line 5 of the btwb_atom.php with your gym's Today feed url. For example,

$feed->set_feed_url('PUT YOUR FEED URL HERE');

After these files are updated, you need to upload them to your server so that their path is at the root of your site. (e.g.

Step 3: Include Code

The following script needs to be placed in the html of your page:

<script type="text/javascript" src="" ></script>
<script type="text/javascript">
  jQuery(document).ready(function() {

Include the following code in your html where you want the wod(s) and results to display:

<div id="btwb_atom"></div>

Please let us know if you run into any problems or have additional questions.