As of HeavySet 2018.8 you are able to import routines written in plain text.
Upon opening HeavySet the app will check your pasteboard for potential routines copied there. If it detects what could be routines you will be presented an alert showing the pasteboard content that could be routines and offers the option to install them.
If this fails to detect your routines but you are sure they are copied to the pasteboard you can perform this step manually by tapping the Import button shown below.
In the following video I demonstrate how to share routines from the app and how to import them back into the app.
The syntax for importing via text is quite loose which allows us to option of writing our routines out in a text editor and then importing these into the app rather than use the editors.
Below I will outline the details of the syntax. As example can be seen below:
## Full Body B
/3 Day Routine
A. Overhead Press, 3 sets, 8-12 reps, 3:30 rest
B. Leg Curl, 3 sets, 8-12 reps, 3:00 rest
C. Seated Calf Raise (Smith), 3 sets, 8-12 reps, 3:00 rest
D1. Cable Bicep Curl, 3 sets, 8-12 reps, 1:20 rest
D2. Pushdowns, 3 sets, 8-12 reps, 1:20 rest
The only requirement for plain text import is that a routine name must start with two hash symbols, a space, followed by the name. For example:
## Full Body
Routine path structure can be maintained. To do so you may optionally include a path after the routine name. Paths consist of the folder names separated by slashes. Paths must start with a slash. For example:
/Wendler 531/Week 1
Folder names that contain slashes will not work with this syntax, so bear that in mind.
Routine colors may also be added. Be sure to add a hexcode in the format #RRGGBB after the routine name but before the exercises.
Exercises are added as a list. Each line is split into parts separated by commas. The first part is used as the exercise name. The simplest form of this would be:
As the lines are split into parts after each comma this does mean exercise names may not contain commas when importing via text.
It is possible to create super sets using the text import. To create a superset you should include group names (a single letter with an optional number) before the exercise names. For example:
A1. Bench Press
A2. Barbell Row
B. Overhead Press
The group names are for user readability only. The group names are not sorted during import, so if you renamed the first group in the example as group C if would not be ordered before group B after import. The previous could be rewritten as follows and still import as the same routine:
C. Bench Press
C. Barbell Row
You can add all the same exercise parameters via text import as you can within the editor. These are added to the exercises after a comma. Exercise parameters are case insensitive. For example:
A. Bench Press, 3-4 sets, 10 reps, rest 1:30
Valid options are:
- Rep range
- Training max update.
If an exercise parameter includes the word 'set' the importer will then look for a range within the text. Example ranges are as follows:
This import max sets: 3, min sets: 3 and max sets: 4, min sets: 3 respectively.
If an exercise parameter includes the word 'rep' the importer will then look for a range within the text. Example ranges are as follows:
This import max reps: 5, min reps: 8 and max reps: 12, min reps: 3 respectively.
If an exercise parameter includes the text 'int' the importer will then look for a integer or decimal value. Valid intensity values could include:
If an exercise value includes the text 'rpe', the importer will then look for an integer or decimal value. Valid RPE values could include.
If an exercise value includes the text 'tempo', the importer will then look for an integer value or 1-4 digits. Valid tempo values could include.
If an exercise value includes the text 'rest', the importer will then look for an integer value optionally followed by a colon and another integer value. If no colon is detected then the value is considered to be seconds, if there is a colon the value is minutes:seconds. Valid rest values could include
90 seconds rest
3 min rest
The last example would ignore the word min and consider the rest to be measured in seconds.
Training max update method
Lastly, if the exercise parameter includes the word 'update' the importer will then look for a set of predefined values. These include:
From HeavySet version 2019.1 it's possible to add some addtional meta data to the import file that will allow some custom branding to be displayed with the imported routines. This is perfect for trainers that wish to provide their clients with routines and want to provide some additional information.
Non-upgraded users will only be able to perform routines that have been exported from HeavySet. Files that have been created by hand will appear locked. If you create your routines by hand and want non-upgraded users to try them you will need to import the routines into the app and export them again. You should add your meta data once this has been done.
The attributes can be added:
- Folder name (required)
- Image (aspect ratio of 4:1)
- Description text (may contain URLs)
The syntax must follow these rules:
- It must appear above the routines in the file.
- The meta data starts and ends with a line containing ---
- There must be a line starting folder: followed by the name of the base folder you want the routines to appear in.
- You may optionally have a line starting with image: followed by the URL of the image.
- You may optionally have a line starting with color: or colour: followed by a hexidecial colour code in the following format #RRGGBB
- Lines that do not start with the above keywords are added to the description text.
Here is an example:
folder: Runloop Full Body
Perform Mon/Wed/Fri. Stop each set one rep before failure. Increase weight 5% the following week once you exceed rep range.
More details: https://www.runloop.com
The result of which looks like this: