|
|
 |
12-23-2007, 12:09 PM
|
#1 of 10
|
|
Member
Location: Mt. Washington Valley, NH
Join Date: Jul 1999
Local Time: 03:01 AM
Local Date: 12-04-2008
Posts: 1,351
|
HELP! Need program to format MS Word doc into HTML
I have a HUGE Microsoft Word Document that I'm going to post on the forum. (It's the 2007 Film & Television Necrology [Obituaries]).
Much of the text in the ms word doc is either in bold, in italics, or in both. I would love to find a way to automatically format the text so that when I paste it into the post, it is formatted for HTML like this:
(b)bold(/b) and (i)italics(/i). (used () instead of [] so you could see what I mean.)
If I can find a way to do this, it would save me hours, yes hours, of posting.
I tried the feature in MS Word "Save as a web page" but this didn't seem to work.
Is there something in MS Word that will do this for me, or does anyone know of a third party program that will?
Thanks in advance!
__________________________________________
Jean Louise, Jean Louise stand up; Your father's passing.
__________________________________________
My DVD Collection
|
|
|
12-25-2007, 01:00 AM
|
#2 of 10
|
|
Member
Join Date: Aug 1997
Local Time: 02:01 AM
Local Date: 12-04-2008
Posts: 2,878
|
Re: HELP! Need program to format MS Word doc into HTML
OpenOffice.org maybe? I know it can properly create PDF files, but I haven't tried saving as html.
|
|
|
01-10-2008, 10:35 AM
|
#3 of 10
|
|
Jay
Member
Location: NJ
Join Date: Mar 1999
Local Time: 02:01 AM
Local Date: 12-04-2008
Posts: 7,967
|
Re: HELP! Need program to format MS Word doc into HTML
Not sure if I understand but sounds like you want to post something in a VBB forum (like the HTF). HTML or webpage uses < > > not [ ] and [/ ] so when you save the file in MS Word as a webpage, you'll get the fonts with the <> tags and not [] tags of vBB.
I doubt this is feasible but if you can save the file as an .HTM file and then open it up as a raw text file, you can see if you can global find and replace the <>s with []s and [/ ]s However, you'll probably find a lot of other HTML crap that you don't need that MSWord will put in there to save as a webpage...
Maybe do a search for macros that might already have been written perhaps....
Jay
You are the crispy noodle in the vegetarian salad of life
|
|
|
01-10-2008, 01:02 PM
|
#4 of 10
|
|
Member
Join Date: Mar 2001
Local Time: 02:01 AM
Local Date: 12-04-2008
Posts: 5,162
|
Re: HELP! Need program to format MS Word doc into HTML
As Jay was getting at, you need to clarify your goals.
Word will produce a function HTML document; save it out and load it into IE or Firefox to see. But if you mean to post it into a web forum editor, then you don't want HTML, but the formatting code that forum requires.
And if the forum has the right tool, you can simply copy/paste, like I did below.
Bold
Italic bold
Normal
|
|
|
01-10-2008, 06:41 PM
|
#5 of 10
|
|
Member
Join Date: Apr 1999
Local Time: 11:01 PM
Local Date: 12-03-2008
Posts: 3,337
|
Re: HELP! Need program to format MS Word doc into HTML
Quote:
|
you'll probably find a lot of other HTML crap that you don't need that MSWord will put in there to save as a webpage
|
He could try the -clean option with HTML TIDY. Then do the replacing of the brackets, if necessary.
|
|
|
01-10-2008, 07:21 PM
|
#6 of 10
|
|
John Rice
Member
Location: Colorado
Join Date: Jun 2000
Local Time: 12:01 AM
Local Date: 12-04-2008
Posts: 8,489
|
Re: HELP! Need program to format MS Word doc into HTML
As already said, your example indicates bb type formatting, not HTML. they aren't quite the same. These days a lot of forums have formatting that you can just copy and paste, so long as the forum software is fairly current and you use a decent browser (ex. NOT IE).
They flutter behind you, your possible pasts.
Some bright-eyed and crazy, some frightened and lost.
|
|
|
01-10-2008, 11:52 PM
|
#7 of 10
|
|
Member
Location: Mt. Washington Valley, NH
Join Date: Jul 1999
Local Time: 03:01 AM
Local Date: 12-04-2008
Posts: 1,351
|
Re: HELP! Need program to format MS Word doc into HTML
I guess HTML was the incorrect term. I wanted to post a MS Word doc here in HTF and save the bold and italics formatting. I say "wanted to" as the post I needed to transfer has already been done. I ended up having to go into the post and add the bold and italic formatting by hand, each word at a time.
DaveF, how did you do your example you put in your reply? I could use it for next year.
Thanks.
__________________________________________
Jean Louise, Jean Louise stand up; Your father's passing.
__________________________________________
My DVD Collection
|
|
|
01-12-2008, 12:57 AM
|
#8 of 10
|
|
Parker Clack
Owner
Location: KC MO
Join Date: Jul 1997
Local Time: 01:01 AM
Local Date: 12-04-2008
Posts: 38,844
|
Re: HELP! Need program to format MS Word doc into HTML
Dave:
Write the word file with the bold and italicized text already in the document. For example [ b]Person's name[/b ] (without the spaces) and [i ]word you want to italicize here [ /i] (again without the spaces) and then just cut and paste.
Also, instead of one big file split this up over 3 or 4. If you ever need help all you have to do is ask.
Parker
|
|
|
01-12-2008, 12:28 PM
|
#9 of 10
|
|
Member
Join Date: Mar 2001
Local Time: 02:01 AM
Local Date: 12-04-2008
Posts: 5,162
|
Re: HELP! Need program to format MS Word doc into HTML
Quote:
|
Originally Posted by Dave Hahn
I guess HTML was the incorrect term. I wanted to post a MS Word doc here in HTF and save the bold and italics formatting. I say "wanted to" as the post I needed to transfer has already been done. I ended up having to go into the post and add the bold and italic formatting by hand, each word at a time.
DaveF, how did you do your example you put in your reply? I could use it for next year.
Thanks.
|
I just did a copy/paste from Word into this editor. It preserved the formatting.
Hrm. On a PC with Windows XP and Firefox, I was able to copy/paste formatted text directly into here. Now, on my Mac with Firefox, it doesn't work. I don't know the difference.
Bold
Italic
Underline
Normal
|
|
|
01-13-2008, 02:05 PM
|
#10 of 10
|
|
Member
Location: Mt. Washington Valley, NH
Join Date: Jul 1999
Local Time: 03:01 AM
Local Date: 12-04-2008
Posts: 1,351
|
Re: HELP! Need program to format MS Word doc into HTML
Quote:
|
Write the word file with the bold and italicized text already in the document. For example [ b]Person's name[/b ] (without the spaces) and [i ]word you want to italicize here [ /i] (again without the spaces) and then just cut and paste.
|
Parker,
I did just that last year, but I decided that it would be easier to use the forum's editing tools this time around. With two quick actions of the mouse, I can format a word into bold or italics, using brackets takes seven key-strokes. I suppose the smart thing to do is to insert the formatting using brackets as I go; then I wouldn't be faced with having to do it all at once.
DaveF
I tried to copy and pasted from MS Word into the forum's editor, several times with no success. I'm using MS Office 2002, MS XP Home Edition, and Firefox.
__________________________________________
Jean Louise, Jean Louise stand up; Your father's passing.
__________________________________________
My DVD Collection
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
| |