Congratulations! You’ve now prepared your first one-pager with the One-Pager Chords ODT template šŸŽ‰

Let’s confirm it’s ready to be exported

In case you haven’t done so yet, make sure to run the automagic reformat macro to guarantee that your document can be exported the One-Pager Chords XML file format.

Double-check that Python is running

Before exporting your one-pager, confirm you can run Python on your machine.

Download the export script

The Python script used to export the ODT file is available in the One-Pager Chords repository. If you’re familiar with Git, feel free to clone the repository.

Else, simply download the script! If you’re not familiar with running commands, the easiest is to put that script in the same folder as your ODT one-pager (e.g. on your Desktop)

You’re all set! Let’s go šŸš€

From here, converting your one-pager is as simple as running this command:

python3 xml_content_import.py "Artist - Title.odt"

Let’s break it down:

  1. To run this command, you need to open a terminal (e.g. search for the “Terminal” app and start it)
  2. In the terminal, you need to navigate to the folder where you placed the script. Assuming it’s on your Desktop, type the following command in the Terminal and press Enter:
    • Windows: cd %userprofile%\Desktop
    • Mac & Linux: cd ~/Desktop
  3. Now, just copy the command mentioned above and paste it in the terminal
  4. Replace the Artist - Title.odt part with the name of you one-pager
    • If the name of your one-pager contains spaces, don’t forget to include the " around the name
    • Even if you don’t see a .odt at the end of the name of your one-pager in the file explorer, make sure to add the .odt suffix when you type the command
    • šŸ’” Tip: After you started typing the name of your one-pager, press the Tab key and the Terminal should write the rest of the name for you
  5. You’re good to go, just press Enter to run the script!

After you press Enter, should see the following—except with the name of your one-pager:

Importing Artist - Title.odt -> Artist - Title.xml

It means this worked! Your One-Pager Chords XML file is now in the same folder and its name ends with .xml.