DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Word to html  (Read 6,712 times)

rgdot

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 2,197
Word to html
« on: January 08, 2013, 03:53 PM »
I have googled various terms ("word to html", etc), I want to ask here too.

What's the cleanest or best way to convert word files to html? I am more concerned with retaining tabs, spaces, line breaks than images or shapes. 

There is also the issue than some of the word files are in landscape but the html shouldn't be really, so somehow I have push some content down or below (probably manually after conversion?)

kunkel321

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 626
    • Participated in NANY Challenge Once
Re: Word to html
« Reply #1 on: January 08, 2013, 05:13 PM »
No doubt you've tried all the "Save As..." option in Word.

rgdot

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 2,197
Re: Word to html
« Reply #2 on: January 08, 2013, 07:55 PM »
I have yes. Searching for options that would perhaps be cleaner or better. The doc file has left aligned and center aligned text for example, using Save As easily preserves the left aligns but centered ones not so much, I guess that's to be expected somewhat but still...

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Re: Word to html
« Reply #3 on: January 08, 2013, 08:26 PM »
Would this be usable? http://word-to-html.com/ (installs locally, I didn't test it though)
/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Re: Word to html
« Reply #4 on: January 08, 2013, 08:29 PM »
Or as an alternative:

Quote
Use Gmail to Convert Word Docs to HTML
If you have a MS Word doc that you want to convert to HTML, the last thing you’d ever use is the “Save as Web Page…” command in Word. Talk about terrible code! Instead, you can send the attachment to your Gmail account and use the “View as HTML” link. Once the page is displayed in your browser, go to “View Source” and copy the code. Most of it is very clean and quite useable.

Original link
/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)

rgdot

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 2,197
Re: Word to html
« Reply #5 on: January 08, 2013, 10:50 PM »
Don't think “View as HTML” option exists anymore.

Thanks for Word to html, will have to try it

rgdot

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 2,197
Re: Word to html
« Reply #6 on: January 09, 2013, 12:25 AM »
Will have to give Sites a try  :-\

Quote
HTML: We know that some users have used the older version of Google Docs as a lightweight HTML editor, especially for newsletters or to share with others. For this use, we encourage you to give Google Sites a try. It also allows easily sharing a group website.
http://support.google.com/drive/bin/answer.py?hl=en&answer=176442

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • Participated in NANY Challenge Four Times
Re: Word to html
« Reply #7 on: April 22, 2013, 01:23 PM »
What type of Word files? DOC or DOCX?
Надо было учиться, а не камни в школу бросать...
--
f0dder is my personal hero :)

Original address: https://www.donationcoder.com/forum/index.php?topic=33608.0