Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

To learn more about the converting functionalities, feel free to contact us.

Prerequisites

Installing Python interpreter

A Python interpreter, a program that understands the Python programming language, must be installed on your PC. If you do not have Python yetit, download it from its official website. Run the downloaded installer and follow its instructions.

When installing Pythonthe interpreter, select the Add Python Version to PATH checkbox. This will automatically deal with environment variables. If you miss this step, you will need to set these variables manually. This process is described below.

...

7. Click OK.

Installing Requests

  • Requests is an HTTP library. This package is used in the script to communicate with Koji.

  • When installing Requests, the beautifulsoup4 library is installed as well. It is

...

  • used to parse HTML.

To install Requests (and beautifulsoup4):

1. In the command prompt, run the following:

...

2. Extract the archive content to the directory with your HTML articles: make sure that MadCap_To_Koji_Converter.py and client.py are on the same level as your HTML files.

3. Open the command prompt and navigate to the directory with MadCap_To_Koji_Converter.py.

...