L2C2 / Convert-Word-Documents-to-HTML

Cleans up the otherwise-ugly output generated by Microsoft Word when you use the File -> Save As HTML option.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Convert Word Documents to HTML

Cleans up the otherwise-ugly output generated by Microsoft Word when you use the File -> Save As HTML option.

  • Removes uneccessary tags and attributes, such as inline CSS and extraneous IDs
  • Cleans up encoding problems and HTML entities
  • Balances tags to ensure valid HTML
  • Typesets everything via the Texturize engine
  • Converts Word's footnotes into a format compatible with Bootstrap's tooltips

Usage

  1. Export your document from Word by using the File -> Save As option.
  2. Modify convert.php to point to the file (or name it index.html and place it in the same folder as this script)
  3. Visit convert.php in your browser
  4. Copy and paste the output from the text area

Licenese

Licensed under the GNU General Public License Version 3 or later.

About

Cleans up the otherwise-ugly output generated by Microsoft Word when you use the File -> Save As HTML option.


Languages

Language:PHP 100.0%