Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
WYSIWYG editor that is 100% XHTML 1 Strict compliant
Old 01-21-2006, 04:52 PM WYSIWYG editor that is 100% XHTML 1 Strict compliant
Novice Talker

Posts: 5
Trades: 0
Is there any WYSIWYG editor that creates 100% XHTML 1 Strict compliant code?

I am evalluating dreamweaver 8 and it fails this test horribly.

I created a new XHTML 1 Strict page and wrote two lines. I used Shift+Enter to get to the second line (to the the <br> vs <br /> tag). I then made some text bold and change the color of other text.

I copied the code it created and it had 12 errors on the W3c XHTML validator.

It used the <strong> tag, it used the <font> tag and the color attribute, it did not put the text in a paragraph, it did not put the / in the <br> and <meta> tags.

Is there any other WYSIWYG editor that would create proper code? Or can dreamweaver be configured to make proper code?

Thanks.
helpmhost is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-22-2006, 02:23 AM
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
You should be able to tell Dreamweaver and most other editors to use xhtml instead of html for it's code. It's most likely in one of the options or preferences. I think I remember setting that up way back when I last used Dreamweaver. The <font> attribute has been deprecated so I'm not sure it will work with xhtml strict. I could be wrong about that though.

I don't use WYSIWYG editors myself anymore, but since most usually write poor html I would tend to doubt they could write 100% xhtml strict compliant code. Many developers still have trouble with it.

Is there a reason you need to use strict. You could try transitional instead of strict and maybe have a better chance of finding the editor you're looking for. Of all the WYSIWYG editors I've seen Dreamweaver was one of the better ones.

Like I said I really don't use WYSIWYG's, but I think it you want to have 100% standards compliant code you'll probably need to edit some of it by hand. You can easily use the WYSIWYG to generate your basic code and then use the validator to find the errors and fix them by hand.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 02-05-2006, 06:07 PM Re: WYSIWYG editor that is 100% XHTML 1 Strict compliant
Kaiman's Avatar
Extreme Talker

Posts: 237
Trades: 0
vangogh is right, you have to set up your Dreamweaver document to be XHTML Strict otherwise it will default to HTML Transistional. Dreamweaver is actually quite good at creating XHTML documents if set up correctly. If you are still looking for another editor then you might check out NVU or Style Master which both have XHTML support built in.

Kaiman

Storm King Design
Kaiman is offline
Reply With Quote
View Public Profile
 
Old 02-05-2006, 06:07 PM Re: WYSIWYG editor that is 100% XHTML 1 Strict compliant
Kaiman's Avatar
Extreme Talker

Posts: 237
Trades: 0
Whoops duplicate post, Sorry...

Last edited by Kaiman; 02-05-2006 at 06:09 PM..
Kaiman is offline
Reply With Quote
View Public Profile
 
Old 02-13-2006, 10:02 PM Re: WYSIWYG editor that is 100% XHTML 1 Strict compliant
Junior Talker

Posts: 4
Trades: 0
Kaiman and VanGogh, I'm afraid you are mistaken.

DreamWeaver will let you set the document type when you initially create the document, and it does have some settings for how certain of its WYSIWYG tools should behave, but generally speaking, this does not make DreamWeaver into a compliant WYSIWYG tool.

Almost universally, DreamWeavers WYSIWYG tools just produce the code they are set to produce, whether valid or invalid for the current DOCTYPE.

Generally, using almost any of DreamWeavers standard WYSIWYG tools will create invalid markup almost immediately. Macromedia really leaves it up to the user to write or maintain the validity of all markup. They do provide DreamWeaver with a basic validation ability, but it's not very reliable - it misses a lot of invalid markup.

I don't know of many valid WYSIWYG tools. There is XStandard (http://xstandard.com) which I've never used, it produces XHTML 1.1 valid markup. But I believe it's an IE plug-in. Also, though it is more of a conversion tool and not a full featured editor, the SiteGrinder Photoshop plug-in produces sites that are always XHTML 1.1 valid http://www.medialab.com/sitegrinder. (Disclosure: I wrote SiteGrinder)

Chris Perkins
Media Lab, Inc.
cperkins is offline
Reply With Quote
View Public Profile
 
Old 02-13-2006, 11:21 PM Re: WYSIWYG editor that is 100% XHTML 1 Strict compliant
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
You're right of course Chris. I don't think there is any WYSIWYG editor that will make your code completely compliant. Far too many developers can't even do that.

I guess I was just thinking about the DreamWeaver setting the right doctype and at least using lowercase tags and ensuring closing tags. A little more compliant, but like you said WYSIWYG editors are going to leave non-compliant code in there.

I think the only way to write completely compliant code is to know what that code is and tweak the code you get from your WYSIWYG. A good place to find your errors is http://validator.w3.org/ Once you know what's non-compliant it becomes much easier to make it compliant.

SiteGrinder looks like a pretty nice tool. I can imagine a lot of people finding it useful.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to WYSIWYG editor that is 100% XHTML 1 Strict compliant
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24481 seconds with 12 queries