On Fri, Jan 05, 2007 at 09:25:06AM +0100, Mihael Zadravec wrote:
>    so, what you are saying, is that if I would code website with xml,
>    search engines ( like google ), will not index the site as good as it
>    would if it would be coded with xhtml?

If you serve application/xml or text/html then AFAIK all search
engines will ignore it and you limit support to clients with XSLT
support.

If you serve application/xhtml+xml then AFAIK all search engines will
ignore it (although some might have added support since I last
checked) and you limit support to clients which support XHTML (which
does *not* include Internet Explorer 7 or earlier).

If you serve text/html then pretty much everything will be able to
cope.

In general, XML must not be served as text/html.

The main exception is that XHTML 1.0 can be served as text/html under
some circumstances, but last time anyone tried to find out what those
were, there was a large discussion on [EMAIL PROTECTED] but (as far as I
remember) no firm conclusions. The spec itself is unclear on the
subject, and Appendix C is ugly. Serving XHTML 1.0 as text/html is a
hack that depends on an incorrect implementation of HTML in clients in
the first place.

HTML 4.01 should only be served as text/html.

Of course, there is nothing stopping you from using a proprietary XML
format, or XHTML, or some other standard format that uses XML to
author and/or store you data in. You can transform it to HTML at some
point before the server delivers the data to the client.

-- 
David Dorward                                      http://dorward.me.uk



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to