Web Hosting Talk







View Full Version : Never do this!


Reptilian Feline
09-16-2002, 05:05 AM
I use 1stpage2000 for my webdesign needs, but it has no grammar check, only spellcheck. So, I decided to use MS Word 2002 to check the grammar. It worked fine, until I opened my files in 1stpage2000 again. I have NEVER seen so much junk code in my LIFE. And it removed my XMP tags as well in my tutorial. It took longer to remove the junk than it would have to copy and past just the text.

My advice: don't open and save any webpages in Word, ut destroys them!

Bannaz
09-16-2002, 08:08 AM
Which is why Dreamweaver and a dictionary come in handy.. ;)

Ultravox
09-16-2002, 08:14 AM
You should be confident about your language. :eek:

Reptilian Feline
09-16-2002, 08:15 AM
Well... I like to work directly in the code, and I needed the grammar correction bit, not spelling, which works fine in 1stpage2000. No matter how good your grammar is, you might miss a capital letter, a questionmark, a comma, put two periods after each other, and so on. Do dreamweaver check grammar?

ATST
09-16-2002, 08:29 AM
You have just discovered why we don't use html editors, because thay add tons of useless and/or redundant tags.
After you write something, take a break. Then when you look at it with fresh eyes, you will see your grammar mistakes. Alternatively, hire someone.
Those are the only ways I know of.

Reptilian Feline
09-16-2002, 08:37 AM
Well, ATST, you're right. Fresh eyes is good. Anyway, I'll write my stuff, and then copy just the text bits and see what Word marks as grammar errors, and then I fix that in the code. I just wanted to warn any one else trying to be "smart" and find a shortcut.

Just to tell you parts of what Word screwed up: I write mostly in Swedish, so Word is set to Swedish as default, but will automatically correct English when encountering words in English. In the beginning of the file there was the code for Swedish language, and in the beginning of EVERY paragraph was the tag for English. It also added tons of styles about the font and it's colour, etc. I thought Word would just read the html and not add any of it's own. Well, live and learn. I wish I was working on Linux and had a grammar deamon installed. ;)

Bannaz
09-16-2002, 08:45 AM
In Dreamweaver, press F10 and you get the entire coding for the page you are working on.

Ultravox
09-16-2002, 11:11 AM
By pressing F10 you can view the codes, but not the spell check or grammer check.
:confused:

akashik
09-16-2002, 04:25 PM
In Dreamweaver

Text > Check spelling

like a swiss army knife I tell you. :D

Greg Moore

Chicken
09-16-2002, 07:04 PM
Well, the only thing you could do is write the text in Word then copy and paste it to another program. Might work...

interactive
09-16-2002, 07:22 PM
heres what i do....just make your html,htm file whatever open it up with like IE, copy and paste the text over to word and check the spelling and grammer. fix what needs to be fixed you know? works good for me. course i just use notepad/phped for web dev'ing....another great msft blunder ;)

MikeMc
09-16-2002, 09:17 PM
Originally posted by Chicken
Well, the only thing you could do is write the text in Word then copy and paste it to another program. Might work...

This method works well if you use latin characters. But for other languages (type of characters) like arabic, greek, russian, chinese doesn't always work well. I had some problems...but maybe I was doing something wrong :)

peteny
09-16-2002, 09:42 PM
Why not make the whole page in Microsoft Word?

dreamrae.com
09-16-2002, 10:15 PM
hahahahahahahahaha

Acronym BOY
09-16-2002, 11:10 PM
Originally posted by peteny
Why not make the whole page in Microsoft Word?

Due to teh fact that it wont render properly on most browsers, lacks even basic html frameset complaince, let alone xhtml & css and the fact that notepad is a superior alternative offering you much better control than word can ever offer you.

emacs or vi?

Alturus
09-16-2002, 11:23 PM
In Dreamweaver: the X button closes it so you can code by hand and learn clean code, and have more control over your pages.

1 vote for vi here.

peteny
09-16-2002, 11:47 PM
Sure, notepad is much better.. But if your using microsoft word to edit the file, might as well screw up by just editing your html with it.. I personally use notepad and think its 100 times better than any editor such as Frontpage, etc..

Alturus
09-16-2002, 11:49 PM
Peteny, I suggest you check out www.textpad.com. Notepad is uber-1337, but this is even better, great syntax highlighting and file-management, with a host of other features to play with.

Reptilian Feline
09-17-2002, 03:03 AM
I haven't cleaned up all my pages yet, so here comes an examplpe of what Word replaced my normal pagestarting-code with. Remeber, this was normal html before I opened it and saved it in Word.

<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="tables2-filer/filelist.xml">
<title>Reptilian Feline - Tables - a tutorial</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>**</o:Author>
<o:Template>Normal</o:Template>
<o:LastAuthor>**</o:LastAuthor>
<o:Revision>2</o:Revision>
<o:TotalTime>3</o:TotalTime>
<o:Created>2002-09-13T12:52:00Z</o:Created>
<o:LastSaved>2002-09-13T12:55:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>185</o:Words>
<o:Characters>985</o:Characters>
<o:Company>**</o:Company>
<o:Lines>8</o:Lines>
<o:Paragraphs>2</o:Paragraphs>
<o:CharactersWithSpaces>1168</o:CharactersWithSpaces>
<o:Version>10.3501</o:Version>
</o:DocumentProperties>

Who needs all that?!:confused:

Anyway... I work in plain code, and will in the future copy and past the text to check any errors that might have crept inside. I mainly use the grammar check to find double periods and such, which can be really difficult to spot.

edit:The smilies aren't supposed to be there.

akashik
09-17-2002, 03:10 AM
that's just cruel... Word has gone and put smiley's through all your code!

:D

Greg Moore

F.N
09-17-2002, 04:47 AM
You do know that even M$ has release a "filter" for Word to "reduce" some of it junks. Also, I've heard "Tidy" is getting really good at tidying up Word's html.

Ask google where they are :D

Reptilian Feline
09-17-2002, 05:09 AM
One thing that bugs me, is that M$ advertice Word as a HTML-editor. And we have to put that in our books.:( (the ones about Word, PowerPoint, etc)

A "Tidy"-tool is perfect for those changing editors. I just went ahead and used Delete, Search, and Replace, my three trusted companions.:)

By the way... I did a search on Google about xmp-tags and what to use instead, and found a great tip! So I put <code> or <pre> around the tags and replace < with &lt; and > with &gt;. Works fine! More typing to do though, but worth it.:)