Forum Moderators: open
All my html pages validate at w3.org but when I change the extension of index.html to .shtml the validateor gives me this error...
"Sorry, I am unable to validate this document because its content type is application/octet-stream, which is not currently supported by this service."
Is there a standard "meta" type string I can use to bring the page into compliance, or does not supported *really* mean not supported?
What I use in the .html pages is.... (Changing the content type to shtml does not help).
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Jim
If you're uploading it, why not change the extension to *.html and then change it back when you're done validating it .. Otherwise I can't see why it shouldn't work if it's validating it online.
I can't say that I've run into this problem before, since I'm validating everything on my computer ..
Case in point: I had a page that was doing well on Google for a particular search. Then all of a sudden it vanished. No penalty, and it was still in the index. But it was not returned for that particular phrase any longer.
Turns out there was a small change in the code around that money phrase -- a class was added to a <b> tag -- and the page wasn't validated afterwards.
The situation? Somehow, the closing ">" got clipped and now all the following text looked like it was inside the tag.
<b class="new" My site's big money phrase was here.</b>
Googlebot had only one choice: ignore it. But a simple click on the validate button would have caught that.
Bots are like simple browsers - roughly version 2 or 3. They only do minimal error recovery. It simply pays to validate your pages ANYTIME you make an edit. You don't know what may be a problem for them.