Welcome to WebmasterWorld Guest from 54.196.232.162

Message Too Old, No Replies

What will googlebot do with this page?

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

Junior Member

10+ Year Member

joined:Oct 20, 2002
posts:104
votes: 0


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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 28, 2004
posts:1786
votes: 0


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

-Corey

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

Junior Member

10+ Year Member

joined:Aug 26, 2004
posts:182
votes: 0


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.