Welcome to WebmasterWorld Guest from 107.20.20.39

Message Too Old, No Replies

What will googlebot do with this page?

   
7:28 pm on Apr 15, 2005 (gmt 0)

10+ Year Member



Our coder has come up with a new javascript framework to display pages. It displays pages very fast and is compatible with any javascript enabled browser.

BUT how will googlebot handle this? We currently enjoy a good SERP, but it is my understanding that google completely ignores anything javascript. What can we do without having to put the whole page in <noscript> tags (thus losing the fast load time)?

file.html
---------

<html><head>
<script src="file.js" type="text/javascript"></script>
</head><body>

<script>
w(cm("This text is bold and in a table"));
</script>

</body></html>

file.js
-------

function cm(t) {return "<table><tr><td><b>"+t+"</b></td></tr></table>";}
function w(o){document.write(o);}
3:14 am on Apr 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Most of the time - SEs ignore JS because it is a client side language

-Corey

4:07 am on Apr 16, 2005 (gmt 0)

10+ Year Member



I strongly recommend staying away from JS for anything crucial. The engines hate it and it causes many browser and client side issues.

It is fine for look and feel issues but use a more sophisticated scripting language like PHP for functionality.