Forum Moderators: Robert Charlton & goodroi
Not an unreasonable question...as with XML you can actually write your own set of tags to describe your products/descrptions/content..
I would venture to say that, like with HTML, the bots will strip out the tags (anything between < and / > and simply index the text ... effectively ignoring what the tags say...
No doubt search engineers have already discussed the fact that people would look to "gain some sort of ranking advantage" by "keyword stuffing" their XML tags...
The fact that with XML/CSS combined....you bring the all important body text to closer to the top of a page... is a good reason to get this technology under your belt...it also can reduce the size of a page with all the off page formatting ...
XML is great server-side, but for the front end, stick to good old HTML (you can use XLST to switch XML to HTML).
However you should aim to design all your new sites in valid XHTML to work well in future and assistive technologies.
Look at [w3.org...] for example*, then look at the source code. Doing the transform server side and delivering (X)HTML to the client is safer, I agree.
* assuming a decent browser, ie Mozilla or Opera.
Look at [w3.org...]Yes, and look at that page in the SERPs: URL only, no snippet, no cache. What matters to Google (and the others) is the MIME type: if it is
Google will parse it as plain text and display it in the SERPs as an unknown format. If like the above page the MIME type istext/xmlorapplication/xmlthen it won't be parsed at all. So the original question - would it have any effect on rankings - is yes, it would destroy them.application/xhtml+xmlTry this search: filetype:xml test xml [google.com]
Some are seen as unknown, some are parsed and cached. Check the MIME types for each result (right-click, View Page Info in Firefox). Only
(standard HTML pages but just using an .xml file ending) ortext/html(which when viewed show the source code) pages have been parsed.text/plainIt's not a question of what the browsers can do (IE, Firefox, Opera and Safari can all read styled
pages) but what Googlebot can do - and Googlebot can't parse XML in any useful way.text/xmlHTML (or XHTML served as
) is the only way.text/html<added> See this thread [webmasterworld.com], especially message #2 ;) </added>
I do this with HTML and CSS using DIVs...