Welcome to the North American Subaru Impreza Owners Club Thursday March 28, 2024
Home Forums Images WikiNASIOC Products Store Modifications Upgrade Garage
NASIOC
Go Back   NASIOC > NASIOC Miscellaneous > Off-Topic

Welcome to NASIOC - The world's largest online community for Subaru enthusiasts!
Welcome to the NASIOC.com Subaru forum.

You are currently viewing our forum as a guest, which gives you limited access to view most discussions and access our other features. By joining our community, free of charge, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is free, fast and simple, so please join our community today!

If you have any problems with the registration process or your account login, please contact us.







* As an Amazon Associate I earn from qualifying purchases. 
* Registered users of the site do not see these ads. 
Reply
 
Thread Tools Display Modes
Old 02-27-2004, 03:44 PM   #1
Jessie James
Scooby Specialist
 
Member#: 2072
Join Date: Aug 2000
Chapter/Region: MAIC
Location: Out of my mind
Default 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>
Notice that this code, above, spits out ONE WORD - "Medium" - is that the stupidest thing you have ever seen or what?

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.
Jessie James is offline   Reply With Quote
Sponsored Links
* Registered users of the site do not see these ads.
Old 02-27-2004, 03:47 PM   #2
WagonMonster
Scooby Guru
 
Member#: 3781
Join Date: Jan 2001
Vehicle:
2023 Ioniq6
Green

Default

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>
WagonMonster is offline   Reply With Quote
Old 02-27-2004, 03:48 PM   #3
sorbee711
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

Default

Most editors like Dreamweaver also have a clean up word HTML function, though its far from perfect.
sorbee711 is offline   Reply With Quote
Old 02-27-2004, 03:54 PM   #4
beethoven
Scooby Newbie
 
Member#: 6654
Join Date: May 2001
Chapter/Region: MWSOC
Location: Wis-Con-sin
Vehicle:
2006 Odyssey

Default

Do you want to keep the formatting?
beethoven is offline   Reply With Quote
Old 02-27-2004, 03:54 PM   #5
Jessie James
Scooby Specialist
 
Member#: 2072
Join Date: Aug 2000
Chapter/Region: MAIC
Location: Out of my mind
Default

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?
Jessie James is offline   Reply With Quote
Old 02-27-2004, 03:55 PM   #6
Jessie James
Scooby Specialist
 
Member#: 2072
Join Date: Aug 2000
Chapter/Region: MAIC
Location: Out of my mind
Default

Quote:
Originally posted by beethoven
Do you want to keep the formatting?
Ah, yes, that is somewhat important, as well as the images.
Jessie James is offline   Reply With Quote
Old 02-27-2004, 03:56 PM   #7
beethoven
Scooby Newbie
 
Member#: 6654
Join Date: May 2001
Chapter/Region: MWSOC
Location: Wis-Con-sin
Vehicle:
2006 Odyssey

Default

It's not like Word puts out bad HTML. It just uses CSS for formatting.
beethoven is offline   Reply With Quote
Old 02-27-2004, 03:56 PM   #8
aod
Scooby Newbie
 
Member#: 7121
Join Date: Jun 2001
Chapter/Region: MWSOC
Location: D2F.1 = D2F.2, D2F.3 = D2F.4
Default

Welcome to Microsoft.
aod is offline   Reply With Quote
Old 02-27-2004, 03:57 PM   #9
aod
Scooby Newbie
 
Member#: 7121
Join Date: Jun 2001
Chapter/Region: MWSOC
Location: D2F.1 = D2F.2, D2F.3 = D2F.4
Default

Quote:
Originally posted by beethoven
It's not like Word puts out bad HTML. It just uses CSS for formatting.


I think that might be the funniest thing I've read all day.

"It's a feature."
aod is offline   Reply With Quote
Old 02-27-2004, 03:58 PM   #10
Jessie James
Scooby Specialist
 
Member#: 2072
Join Date: Aug 2000
Chapter/Region: MAIC
Location: Out of my mind
Default

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.
Jessie James is offline   Reply With Quote
Old 02-27-2004, 04:00 PM   #11
beethoven
Scooby Newbie
 
Member#: 6654
Join Date: May 2001
Chapter/Region: MWSOC
Location: Wis-Con-sin
Vehicle:
2006 Odyssey

Default

Quote:
Originally posted by RS25.com
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.
I don't understand how you plan on keeping the formatting by taking out the styles. The XML is mainly used for metadata, IIRC.
beethoven is offline   Reply With Quote
Old 02-27-2004, 04:06 PM   #12
Jessie James
Scooby Specialist
 
Member#: 2072
Join Date: Aug 2000
Chapter/Region: MAIC
Location: Out of my mind
Default

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>
I can live with that. Thanks for getting me thinking about XML, I just searched Google for Word export "without XML" and found a match right away.

W00t! Now I can go home!
Jessie James is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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

All times are GMT -4. The time now is 06:20 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Powered by Searchlight © 2024 Axivo Inc.
Copyright ©1999 - 2019, North American Subaru Impreza Owners Club, Inc.

As an Amazon Associate I earn from qualifying purchases.

When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission
Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.