![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
"John Bokma" <john (AT) castleamber (DOT) com> wrote in message |
|
Is there a good reason why you want to use XHTML? Any reason why not? |
|
It's basicly plain HTML, give or take a few differences |
#2
| |||
| |||
|
|
Thanks Borek, This would mean my pages are no good at all then? Can I minimize the damage somehow or do I need to fall back on HTML, perhaps I can move on to... what? Also, you only mention IE, is this a problem that would excist in all browsers? |
#3
| |||||
| |||||
|
|
This would mean my pages are no good at all then? Can I minimize the damage somehow or do I need to fall back on HTML, perhaps I can move on to... what? |
|
Also, you only mention IE, is this a problem that would excist in all browsers? |
|
And how do searchengines react to this? The appear to be able to read my pages without a problem. Can I assume (and I will keep this simple, but I know it is not) that searchengines by default discard the bulk of all code between '<' and '>' so they are able index the content? |
|
How worried should I be? |

|
Why is XHTML still out there if the language is incompatible withmost browsers? |
All other browsers support
#4
| |||
| |||
|
|
On Thu, 12 Jan 2006 19:14:55 +0800, "Timmermans" steventimmermans (AT) yahoo (DOT) co.uk> wrote: Thanks Borek, This would mean my pages are no good at all then? Can I minimize the damage somehow or do I need to fall back on HTML, perhaps I can move on to... what? Also, you only mention IE, is this a problem that would excist in all browsers? You should be testing at least in FF anyway. BB http://www.crystal-liaison.com/david...ges/index.html kruse (AT) crystal-liaison (DOT) com Gifty! Shiny! BB! |
#5
| ||||||
| ||||||
|
|
On Thu, 12 Jan 2006 12:14:55 +0100, Timmermans steventimmermans (AT) yahoo (DOT) co.uk> wrote: This would mean my pages are no good at all then? Can I minimize the damage somehow or do I need to fall back on HTML, perhaps I can move on to... what? I don't think there is any serious damage done, but you may want to clean things up. Either revert to HTML, or switch entirely to XHTML - in the second case you'll have to do some tricks to support IE. |
|
My page (php) does the trick this way: ? // check if the client supports XHTML if (strpos($_SERVER[HTTP_ACCEPT],'application/xhtml+xml') !== false) // it does - inform it we will be serving XHTML header("Content-type: application/xhtml+xml"); else // it doesn't - lie that we will serve HTML header("Content-type: text/html"); ? Then I am sending XHTML - and it works OK. |
|
What I like in XHTML is that page MUST validate, othervise it will be not displayed (by decent browser, IE tries to display everything), that's why I am doing the trick. Also at the moment we started doing our pages, we were not aware of the IE limitation, later there was no time to convert all XHTML to HTML (things like /> tag closing). Also, you only mention IE, is this a problem that would excist in all browsers? No, AFAIK other browsers support XHTML correctly. |
|
And how do searchengines react to this? The appear to be able to read my pages without a problem. Can I assume (and I will keep this simple, but I know it is not) that searchengines by default discard the bulk of all code between '<' and '>' so they are able index the content? More or less. Most pages out there are so called tag soup, so search engines have to be able to deal with it. How worried should I be? None at all. If in doubt - look at the sources of Cat pages ![]() |
|
Why is XHTML still out there if the language is incompatible withmost browsers? The problem is not in XHTML, the problem is in one browser incompatible with everything else All other browsers supportit correctly. IE knows how to display XHTML pages, it just doesn't know it knows ![]() |
|
Best, Borek -- http://www.chembuddy.com/?left=pH-ca...right=pH-scale http://www.chembuddy.com/?left=pH-ca...=pH-definition |
#6
| ||||||
| ||||||
|
|
What you mean switch entirely to XHTML, you mean strickt? |
After reading your previous|
? // check if the client supports XHTML if (strpos($_SERVER[HTTP_ACCEPT],'application/xhtml+xml') !== false) // it does - inform it we will be serving XHTML header("Content-type: application/xhtml+xml"); else // it doesn't - lie that we will serve HTML header("Content-type: text/html"); ? Then I am sending XHTML - and it works OK. It doesn't change the typical XHTML tags within the body of the document though, does XHTML validate without question as HTML at all times then? |
|
I do not use php (?)... could I still copy and paste the above, is it standard? My page (www.maleisie.be/index.html) how much work does this page need to get it to display completely in XHTML? Dare I ask for a corrected copy (pretty please with sugar on top)? |
)|
Being unfamiliar with the term php, could you explain this? |
|
How worried should I be? None at all. If in doubt - look at the sources of Cat pages ![]() I can find these where? |
|
How practical. So what arguments I have not to give IE the boot? |
#7
| ||||
| ||||
|
|
Thanks Borek, This would mean my pages are no good at all then? Can I minimize the damage somehow or do I need to fall back on HTML, perhaps I can move on to... what? |
|
Also, you only mention IE, is this a problem that would excist in all browsers? |
|
And how do searchengines react to this? The appear to be able to read my pages without a problem. Can I assume (and I will keep this simple, but I know it is not) that searchengines by default discard the bulk of all code between '<' and '>' so they are able index the content? |
|
How worried should I be? Why is XHTML still out there if the language is incompatible with most browsers? |
#8
| ||||
| ||||
|
|
What I like in XHTML is that page MUST validate, othervise it will be not displayed (by decent browser, IE tries to display everything), |
|
that's why I am doing the trick. |
|
Why is XHTML still out there if the language is incompatible withmost browsers? The problem is not in XHTML, the problem is in one browser incompatible with everything else ![]() |
|
All other browsers support it correctly. IE knows how to display XHTML pages, it just doesn't know it knows ![]() |
#9
| |||
| |||
|
|
On Thu, 12 Jan 2006 16:18:27 +0100, Timmermans steventimmermans (AT) yahoo (DOT) co.uk> wrote: I do not use php (?)... could I still copy and paste the above, is it standard? My page (www.maleisie.be/index.html) how much work does this page need to get it to display completely in XHTML? Dare I ask for a corrected copy (pretty please with sugar on top)? Your page validates as it is - as we say in Poland "better is enemy of good". Your coding is OK and improving it doesn't make SEO sense (even if I am against using tables for formatting )Being unfamiliar with the term php, could you explain this? php is a scripting language used for pages generation. How worried should I be? None at all. If in doubt - look at the sources of Cat pages ![]() I can find these where? http://www.luckymojo.com/ Cat is known to produce badly coded pages, yet she generates great content - and that's enough to occupy very high positions for such competitive keywords like "sex" - something like #12. |
#10
| |||
| |||
|
|
Cat is known to produce badly coded pages, yet she generates great content - and that's enough to occupy very high positions for such competitive keywords like "sex" - something like #12. I'm wondering at this point what her rank might be if her site were made to validate. Say, by CW, who we know could do it. |
![]() |
| Thread Tools | |
| Display Modes | |
| |