Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
Re: Unrecognized file format prolem with valid html, please help!
> I have a web application that for the real estate industry. Here is
> one of the sites using said application.
> the problem that i have is that google does not recognise the file
> format of this site
The HTTP response headers  contain:
Content-Type: text/HTML; Charset=ISO-8859-1
I suspect that may be the problem. I've never seen the content type
fields written in uppercase, they're usually written in lowercase. I
don't know if it's invalid or not to have it in uppercase (according to
the relevant RFCs: RFC 2616 (HTTP1.1), 2045 (MIME) or 2046 (Media
Types)), but perhaps google doesn't recognise it like that. Fix your
server to send:
Content-Type: text/html; charset=ISO-8859-1
Also, even though it is valid HTML, you should look into replacing all
those layout tables and presentational elements/attributes with CSS, and
use a DOCTYPE that doesn't trigger quirks mode  in browsers. You
should also use <p> instead of <br><br> to create seperate paragraphs.
eg. Write this:
<p>paragraph 1 ...</p>
</p>paragraph 2 ...</p>
paragraph 1 ...
paragraph 2 ...
 http://cgi.w3.org/cgi-bin/headers?url=http://www.wellsre.com /
http://GetFirefox.com/ Rediscover the Web
http://SpreadFirefox.com/ Igniting the Web