Forum Moderators: open

Message Too Old, No Replies

GoLive 6 and valid HTML code

         

pmkpmk

1:33 pm on Nov 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

I'm working on a template for a CMS and decided to do it in GoLive. Now I'm using the HTML validator from w3c.org but regardless what settings I chose in GoLive it's always considered to be invalid. Neither one of the three HTML 4.1 settings works, nor the 3.2 setting.

Am I doing something wrong, or is GoLive not capable of creating proper HTML?

JohnHouston

6:48 am on Nov 21, 2003 (gmt 0)

10+ Year Member



Just purchased the "Creative Suite" from Adobe and it included GoLive...

I'll admit, I've never used the app but like you I was not impressed at all with the bloated code it creates (that's the reason it will not Validate...GL inserts proprietary tags).

GoLive's code-work WILL make an acceptable, viewable page but some of the tags can't/aren't recognized by the W3c validator but browsers have no problem and THEY are the ones that actually "validate" your work: The visitors.

The newer version of GL (I'm assuming Ver.6 does the same) offers a "Site" segment for creating/updating web sites. So, I created a "Site", complete with blank HTML/SHTML/PHP pages. Then copied my NoteTab codeworked pages into the GL app.

No more bloated code but all the "Conveniences" of a Fancy Shmancy application. Works like a charm!

pmkpmk

8:18 am on Nov 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well actually all I needed to do was a page template for a CMS. I got it working in the meantime. I did all the design work in GoLive, then took the actual code and fed it several times through TopStyle (non graphical HTML and CSS editor with internal "sweeping") and through the CSE HTML Validator Pro. Both are available as time-limited demo versions on the web, but that was enough for me.

The final validation was done with the w3c validator - and it just worked fine after several iterations.

Only that I have one piece of external, proprietary Javascript code in the page which refuses to validate. But all aspects I can take charge of now nicely validate.

bill

8:21 am on Nov 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



TopStyle also supports Tidy, which will do a nice job of cleaning up your code.

pmkpmk

1:27 pm on Nov 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yeah, tried that too. Maybe I got the settings wrong but after running Tidy the resulting page looked rather different from before :-)

bill

6:16 am on Nov 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



There are a lot of possible settings for Tidy which will make your initial configurations a bit more time consuming, but if you tweak them to the point that you're comfortable, then the results can be quite good. Just keep a copy of your original for comparison purposes.

Slone

6:59 am on Nov 25, 2003 (gmt 0)

10+ Year Member



In Go Live set the prefs, select Strip GoLives code from the source when Exporting the website.

Before you do that though.. select the coding your want for example: html 4.01 strict (THEN) rewrite source code again.

When you export the site you are left with the valid HTML 4.01. Quite simple. GoLive offers a lot of options to control your coding. Read your book :)

Hope that helps!

pmkpmk

8:41 am on Nov 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As I said above: I already managed by hand. However I *DID* set the code to "HTML 4.01" in GoLive, but the results still didn't verify. Only after manual intervention.

As for "read the book": it didn't come with one. It came as "CD-only" with a bundle of other software as "giveaway" from our ISP. And - YES - it had a valid serial-number!