navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

RE: Choose an encoding?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> RE: Choose an encoding?
Page: <<   < prev  1 [2]
 
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Choose an encoding? - 3/5/2007 12:45:09   
Is this the page that's currently on the web?

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Starhugger)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Choose an encoding? - 3/5/2007 12:52:16   
Ah Ha!

OK if it's your homepage that's on the web, open it in FP, click the code tab at the bottom.

Take out this line right at the top

<?xml version="1.0"?>

so the first line is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

seems to be a lot of people getting that line in their code at the moment, what's going on? Did you copy that from somewhere? and, why have you got that doctype in there? Your code is nowhere near XHTML1 valid.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to jaybee)
Starhugger

 

Posts: 534
Joined: 4/12/2005
Status: offline

 
RE: Choose an encoding? - 3/5/2007 13:34:21   
quote:

Ah Ha!

OK if it's your homepage that's on the web, open it in FP, click the code tab at the bottom.

Take out this line right at the top

<?xml version="1.0"?>

Huh?? I don't see that line anywhere. I even did a search of both my page in FP and in View Source from the online page (I know FP often puts stuff in the code when you upload it). T'ain't nowhere. Where did you see it?

I didn't upload the changed code page. It's just on my harddrive. But the original module in question is on my home page online, yes.

quote:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

seems to be a lot of people getting that line in their code at the moment, what's going on? Did you copy that from somewhere? and, why have you got that doctype in there? Your code is nowhere near XHTML1 valid.

Strict? I figured with all the gunk FP puts in (and with all my modifications making my pages such a dog's breakfast), my code couldn't be assumed to be "strict" anything. Yes, I'm sure I copied it from somewhere, probably a couple of years ago. Possibly from here. I remember discussing it here a long time ago. I desperately wish someone would come up with a utility that would take the code of a page, analyze it, and tell you exactly what DocType you need! I think W3C does something close but not exactly.

Anyway, changing the DocType doesn't change how FP handles the module (error on opening) or the external js file (error on preview).

SH

(in reply to jaybee)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Choose an encoding? - 3/5/2007 13:48:35   
FP does bring up a js message that you click continue and it works fine. We don't know why it does it. There's another thread about it on here somewhere.

As far as the xml bit, errr that's weird, it's gone. It was there honest. :)

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Starhugger)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Choose an encoding? - 3/5/2007 13:55:29   
Just as a test, for heavens sake don't upload the page as it may go nuts, take the doctype out and see of you still get the encoding problem.

Really with FP generated code you should be using HTML 4 transitional.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to jaybee)
Starhugger

 

Posts: 534
Joined: 4/12/2005
Status: offline

 
RE: Choose an encoding? - 3/5/2007 14:01:57   
quote:

As far as the xml bit, errr that's weird, it's gone. It was there honest. :)

Ya ya sure... :)

(in reply to jaybee)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Choose an encoding? - 3/5/2007 14:10:12   
Course there is one thing we haven't tried.

Uninstall FrontPage and reinstall the darn thing.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Starhugger)
Starhugger

 

Posts: 534
Joined: 4/12/2005
Status: offline

 
RE: Choose an encoding? - 3/5/2007 14:12:52   
quote:

Just as a test, for heavens sake don't upload the page as it may go nuts, take the doctype out and see of you still get the encoding problem.

Oh, that's one of the first things I tried. The only thing that seems to make the difference is if I remove the lunar phases module.

quote:

Really with FP generated code you should be using HTML 4 transitional.

Is that the DocType you suggested a few posts ago?

SH

(in reply to jaybee)
Starhugger

 

Posts: 534
Joined: 4/12/2005
Status: offline

 
RE: Choose an encoding? - 3/5/2007 14:17:34   
quote:

Course there is one thing we haven't tried.

Uninstall FrontPage and reinstall the darn thing.

Bite your tongue. :)

As soon as I have an extra hour I can spare... :) Also, a lot of the M$ website has been unavailable lately for some reason, so I would be a bit concerned that I wouldn't be able to get the patches and upgrades, even if I did have the time. Frankly, I doubt it would change this problem though.

I'm still hoping I'll hear back from the guy(s) who provide the module. (silly me)

SH

(in reply to jaybee)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Choose an encoding? - 3/5/2007 14:22:16   
Eh what? I post that much on here a few posts ago is shrouded in mystery.

Here's the deal, if you're going to use FP to generate your code then HTML4 transitional is the only doctype you can really use.

If you are willing to dive into the code and correct it then you can use the one you have but you'll need to run the page through the validator and correct all the errors. you currently have 111 on the home page because of that doctype.

As soon as you start hitting the FP buttons again then there will be more errors you'll need to correct. FP doesn't do XHTML unless you tweak a load of the settings. I don't have it on my machine any more to tell you which but RubyAim is a whizz with the settings.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Starhugger)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Choose an encoding? - 3/5/2007 14:23:47   
Right, I'm going to get something to eat and then I'm off down the gym to punch something.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to jaybee)
Starhugger

 

Posts: 534
Joined: 4/12/2005
Status: offline

 
RE: Choose an encoding? - 3/5/2007 14:27:36   
quote:

ORIGINAL: jaybee

Right, I'm going to get something to eat and then I'm off down the gym to punch something.

LOL (Glad it's not me :) ) Thanks very much for the help, Jaybee!

SH

(in reply to jaybee)
Page:   <<   < prev  1 [2]

All Forums >> Web Development >> Microsoft FrontPage Help >> RE: Choose an encoding?
Page: <<   < prev  1 [2]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts