I Might Have MAde a Mistake Using MS Word as a Web Page Creator
September 10, 2007 11:38 PM   Subscribe

I created an MS Word document with a host of hyperlinks. When I saved it as a webpage, the links turned all wonky. Blocks of text beneath where I put the link showed up as linked to the URL. Blocks of text that should have been linked to one URL are instead linked to the previous URL. And now the Word file itself shows wonky formatting--every link connects to what should be the URL above it.

My friends, WTF? How do I fix this without going in a redoing every damn link (and there are roughly 100). I want to know what I did wrong, but more importantly how to fix it. My document has over 100 links, going in and fixing each one is not an option!
posted by LarryC to Computers & Internet (9 answers total)
 
Unfortunately, the simple answer is that MS Word produces monumentally awful HTML code. I'm sorry to say that "what you did wrong" was to use MS Word for this job.
posted by Steven C. Den Beste at 11:40 PM on September 10, 2007


Best answer: While SCDB is right, this
might be helpful.
posted by Roach at 12:06 AM on September 11, 2007 [2 favorites]


Best answer: OpenOffice can read MS Word .doc files pretty well. If you remembered to save in .doc before exporting to html, you can try it with OO and see if you get any better results.

If this doesn't work / is not an option, can you post a few examples of bad links from your broken html file? Maybe there is a search & replace that can solve your problems.

( I don't know if/how you can post html source here, please don't break Metafilter )
posted by the number 17 at 5:23 AM on September 11, 2007


The code is permanently screwed up. Use something simple like Notepad which will not add 100kb of useless code.
posted by JJ86 at 5:38 AM on September 11, 2007


Start again. Use a real html editor.
posted by ReiToei at 5:48 AM on September 11, 2007


Response by poster: Alas, I don't know HTML, and am not really interesting in learning how to hand code in Notepad for the 4-6 HTML documents I create each year. I will play around with some of the resources at Roach's link and see what happens.

Is there a word processing program that does a cleaner job at saving the occasional document as HTML?
posted by LarryC at 8:41 AM on September 11, 2007


Best answer: There are a lot of HTML editors. Microsoft's "FrontPage" works quite well. There are also various OS ones, of varying degrees of quality and capability.
posted by Steven C. Den Beste at 9:21 AM on September 11, 2007


Alas, I don't know HTML, and am not really interesting in learning how to hand code in Notepad for the 4-6 HTML documents I create each year.

Hyperlinks are really not at all hard to code:

<a href="URL">Link text</a>

URL = the full URL of the webpage being linked, including "http://" (e.g., http://metafilter.com)

Link text = the word or words in the document that should be the visible portion of the link

Aside from that, for a basic HTML doc you wouldn't need to know much... maybe the <p> tag for paragraph breaks, and <br> for line breaks.
posted by Artifice_Eternity at 11:33 AM on September 11, 2007


Response by poster: OK, opening the .doc file in Open Office and then saving as HTML worked--except for the last few links which I can easily enough fix by hand. What a relief!

Thanks all. And I solemnly promise never to use Word for anything but words again.
posted by LarryC at 12:34 PM on September 11, 2007


« Older :(   |   Shopping for clothes makes me wish I was fat Newer »
This thread is closed to new comments.