Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
translate html google docs (File/Download as../HTML) to wikicode
Python
branch: master

This branch is 16 commits ahead of eleyine:master

readme.md

Open Courses

Google Docs to Wikicode Converter

Converts an html file produced by google docs to wikicode (add more?)

Usage instructions

  1. Obtain .html formatted Google Doc with File/Download as../HTML
  2. Run wikicode.py
  3. You will be prompted for the .html input file and the .txt output file to be created (Since we're betatesting, the input and output files are already set to save time. Scroll down to the bottom of "wikicodify.py" to change the file I/O to your convenience)

Status

To do

  • Create a web app that takes the url of the google doc and outputs the wikicode format
  • Parse html prior to conversion to delete empty tag-content. e.g. <span class="c3"> </span> or <h4></h4>. It is completely useless and fucks up the formatting.

About Open Courses

We need boilerplate text. Someone?

Something went wrong with that request. Please try again.