Skip to content

Instantly share code, notes, and snippets.

@jdunne-kaplan
Created May 30, 2014 15:47
Show Gist options
  • Save jdunne-kaplan/aa44ba136587917dc636 to your computer and use it in GitHub Desktop.
Save jdunne-kaplan/aa44ba136587917dc636 to your computer and use it in GitHub Desktop.
Batch PPT Converter README

Batch PPT Converter

This is a commandline tool used to convert PPT or PPTX files in bulk to HTML5 presentations for import into KAPx.

The tool takes as input the path to a simple CSV file describing the locations of PPT or PPTX files to be converted. The CSV file may be of one or two columns, the first is the relative path to the PPT/PPTX input file, and the second is optionally the output folder to store the HTML5 converted assets to. If the second column is omitted, an output folder is assumed based on the name of the input PPT/PPTX file but replaced with a ".html" extension.

During operation, the tool will write to two output CSV files named after the input CSV file and stored in the same folder, "filename.completed.csv" and "filename.failed.csv". These keep track of which PPT/PPTX conversions have succeeded and failed, respectively. The intent is to be able to recover the batch process in case of random failures. These output files are not read by the converter tool so it is up to the end user to craft a new input CSV to feed to the tool based on the data available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment