|
|
|
|
Thread Tools | Display Modes |
02-27-2004, 03:44 PM | #1 |
Scooby Specialist
Member#: 2072
Join Date: Aug 2000
Chapter/Region:
MAIC
Location: Out of my mind
|
Is there a way to make Word export to HTML in a simple format?
I have a somewhat large document in Word that I would like to export to HTML. Unfortuantely, when I use Word's built in Save As HTML function, it gets insane and spits out over 25,000 lines of HTML that mostly look like this:
Code:
<div style='mso-element:frame;mso-element-frame-width:.6in;mso-element-frame-height: 11.3pt;mso-element-wrap:auto;mso-element-anchor-vertical: page;mso-element-anchor-horizontal: page;mso-element-left:302.45pt;mso-element-top:203.05pt'> <table cellspacing=0 cellpadding=0 hspace=0 vspace=0 width=57 height=15> <tr> <td valign=top align=left height=15 style='padding-top:0in;padding-right: 0in;padding-bottom:0in;padding-left:0in'> <p class=MsoNormal align=right style='text-align:right;mso-pagination:none; tab-stops:.25in .5in;mso-layout-grid-align:none;text-autospace:none; mso-element:frame;mso-element-frame-width:.6in;mso-element-frame-height:11.3pt; mso-element-wrap:auto;mso-element-anchor-vertical: page;mso-element-anchor-horizontal: page;mso-element-left:302.45pt;mso-element-top:203.05pt'><span style='font-size:9.5pt;color:black'>Medium</span></p> </td> </tr> </table> </div> Is there any way to get it to just spit out the raw, basic, simple HTML? This crap is totally not needed.
* Registered users of the site do not see these ads.
Last edited by Jessie James; 02-27-2004 at 03:50 PM. |
02-27-2004, 03:47 PM | #2 |
Scooby Guru
Member#: 3781
Join Date: Jan 2001
Vehicle:2023 Ioniq6 Green |
just copy and paste the text into notepad and put the appropriate html around it
<html> <head> <title>Untitled</title> </head> <body> <p>Paragraph</p> <p>Paragraph</p> <p>Paragraph</p> <p>Paragraph</p> </body> </html> |
02-27-2004, 03:48 PM | #3 |
Scooby Specialist
Member#: 14259
Join Date: Jan 2002
Chapter/Region:
NESIC
Location: Shrewsbury, MA
Vehicle:OT, we're a-holes b/c we are bored at work |
Most editors like Dreamweaver also have a clean up word HTML function, though its far from perfect.
|
02-27-2004, 03:54 PM | #4 |
Scooby Newbie
Member#: 6654
Join Date: May 2001
Chapter/Region:
MWSOC
Location: Wis-Con-sin
Vehicle:2006 Odyssey |
Do you want to keep the formatting?
|
02-27-2004, 03:54 PM | #5 |
Scooby Specialist
Member#: 2072
Join Date: Aug 2000
Chapter/Region:
MAIC
Location: Out of my mind
|
Problem about notepad an inserting HTML is that the documents are hundreds of pages long, so that is too much work.
Copying to Wordpad, then saving as RTF, then opening in Word and saving as HTML cut it down to 10,700 lines though. That's a 50% reduction. I don't have dreamweaver. Or any other good tools. Any other thoughts? |
02-27-2004, 03:55 PM | #6 | |
Scooby Specialist
Member#: 2072
Join Date: Aug 2000
Chapter/Region:
MAIC
Location: Out of my mind
|
Quote:
|
|
02-27-2004, 03:56 PM | #7 |
Scooby Newbie
Member#: 6654
Join Date: May 2001
Chapter/Region:
MWSOC
Location: Wis-Con-sin
Vehicle:2006 Odyssey |
It's not like Word puts out bad HTML. It just uses CSS for formatting.
|
02-27-2004, 03:56 PM | #8 |
Scooby Newbie
Member#: 7121
Join Date: Jun 2001
Chapter/Region:
MWSOC
Location: D2F.1 = D2F.2, D2F.3 = D2F.4
|
Welcome to Microsoft.
|
02-27-2004, 03:57 PM | #9 | |
Scooby Newbie
Member#: 7121
Join Date: Jun 2001
Chapter/Region:
MWSOC
Location: D2F.1 = D2F.2, D2F.3 = D2F.4
|
Quote:
I think that might be the funniest thing I've read all day. "It's a feature." |
|
02-27-2004, 03:58 PM | #10 |
Scooby Specialist
Member#: 2072
Join Date: Aug 2000
Chapter/Region:
MAIC
Location: Out of my mind
|
Yeah, and it combines CSS with XML which gets crazy. I hate it. It's just silly because it makes the document much larger than it needs to be, and then the pages take a long time to load. On the local network (100mbs) it takes almost 30 seconds to load for me. Imagine someone outside my network, or god forbid on dial up, trying to download this.
|
02-27-2004, 04:00 PM | #11 | |
Scooby Newbie
Member#: 6654
Join Date: May 2001
Chapter/Region:
MWSOC
Location: Wis-Con-sin
Vehicle:2006 Odyssey |
Quote:
|
|
02-27-2004, 04:06 PM | #12 |
Scooby Specialist
Member#: 2072
Join Date: Aug 2000
Chapter/Region:
MAIC
Location: Out of my mind
|
Formatting is not an issue, as I already have a stylesheet for the site. Getting it down in size is.
Guess what I found!!! http://www.microsoft.com/downloads/d...displaylang=EN Strips all formatting from Word converted HTML documents. Made my previous one word into this: Code:
<div> <table cellspacing=0 cellpadding=0 hspace=0 vspace=0 width=57 height=15> <tr> <td valign=top align=left height=15> <p align=right>Medium</p> </td> </tr> </table> </div> W00t! Now I can go home! |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there any way to post an embedded video using the html code from the website? | Neek | Off-Topic | 7 | 08-21-2009 04:14 PM |
Is there a way for my AVIC-D3 to pick up my cell phone calls? | subenerd | Car Audio, Video & Security | 10 | 07-09-2008 05:32 PM |
Is there a way to make my Computer DVD player Read all regions | NiteKids | Off-Topic | 6 | 12-08-2004 04:59 PM |
Is there any way to make the side markers blink and stay on constantly? | 96Lconversion | Interior & Exterior Modification | 29 | 06-23-2001 01:15 AM |
Is there a way to make my RS raise up with a button like my friend's Legacy? | scootr | Brakes, Steering & Suspension | 3 | 12-18-2000 06:35 PM |