Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 02-12-2006, 12:28 AM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,470
sde is on a distinguished road
XSLT and search engines

I was working with XSLT and wondering what the difference would be for search engine ranking between .xml and .html files.

Both pages could render the same to a user's browser, but would the engines favor a .html page? I can't think of many times I've got .xml pages in search results.

It seems like it would be easier for an engine to read through. Of course you could make it a .php page and set the content-type to text/xml, but I'm pretty sure they judge the content type by that and not the extension.

I'm just wondering if I were to launch a new site, if it would be smart to use xml/xsl or not.
sde is offline   Reply With Quote
Old 02-12-2006, 05:19 AM   #2 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 660
DJMaze is on a distinguished road
There are not many websites which run on xml+xslt.
Even XML usergroups use plain html , for example see http://www.sgml-ug.nl/

I only use XML for DocBook and DOM to generate other formats.
DJMaze is offline   Reply With Quote
Old 02-12-2006, 08:41 AM   #3 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,470
sde is on a distinguished road
seemed like a fun project to make a site purely xml/xslt with ajax calls for server stuff. i suppose you're banking on newer browsers though for everything to work right and would be taking a chance if hoping for good SEO.
sde is offline   Reply With Quote
Old 02-12-2006, 12:29 PM   #4 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 660
DJMaze is on a distinguished road
Yeah it would be fun though to see what happens. Not only the server load but also the client side of things. After all the client has to process the XML+XSLT.

But my main question is: Why should you, we have XHTML+CSS now?
DJMaze is offline   Reply With Quote
Old 02-12-2006, 06:50 PM   #5 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,470
sde is on a distinguished road
to answer your question, .. because i can. i've always learned a lot by finding a project to apply something i'm learning about to.

my question was about seo, .. not efficiency or good design. you're server load comment doesn't make sense to me though. what's the difference between serving an xhtml/css page vs xml/xslt to the server. nothing if the same amount of data is in the files.
sde is offline   Reply With Quote
Old 02-12-2006, 07:28 PM   #6 (permalink)
teknomage1
Jack of all trades
 
teknomage1's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Posts: 596
teknomage1 is on a distinguished road
Send a message via AIM to teknomage1
I think google, for instance, would go ahead and index it, but your rank would still be dependent upon the number of links pointing to you, so if people are scared to link to your .xml files, you MIGHT lose out.

Do a google search for 'gentoo' and the first hit is www.gentoo.org which is actually www.gentoo.org/index.xml .
__________________
Stop intellectual property from infringing on me
teknomage1 is offline   Reply With Quote
Old 02-12-2006, 08:56 PM   #7 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,470
sde is on a distinguished road
that's interesting, .. it's an html4 dtd when you view the source. i guess it's all xml if it's well formed enough.

you could get around the hesiation of people not wanting to click on a .xml file by just making it .php and forcing the header content type to text/xml.

it might be cool to launch 2 brand new similar domains with the same content except 1 xml and see what the comparison is between the 2 in the different search engines. any ranking takes time though and i don't have that kind of patients
sde is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 07:58 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting