Googlebot and Document.Write 180
With JavaScript/AJAX being used to place dynamic content in pages, I was wondering how Google indexed web page content that was placed in a page using the JavaScript "document.write" method. I created a page with six unique words in it. Two were in the plain HTML; two were in a script within the page document; and two were in a script that was externally sourced from a different server. The page appeared in the Google index late last night and I just wrote up the results.
Nonsense words? (Score:5, Funny)
zonkdogfology is a real word: Serious question now - is the author of the article worried that the ensuing slashdot discussion will mention all his other nonsense words? I've no doubt slashdotters will find & mention the other words here, polluting google's index....
Google Pigeon technolog (Score:3, Funny)
Re:Nonsense words? (Score:4, Funny)
It's a perfectly cromulent word, and it's use embiggens all of us.
If you want to see (Score:4, Funny)
If you want to see through a search engine's eyes, open the page in Lynx [browser.org]. The funniest part about showing that method to another developer is when they think Lynx is broken because the page is empty. "It didn't load. How do I refresh the page? This browser sucks." Heh. Endless fun.
(method does not account for image crawlers)
Re:How does document.write mess up your DOM tree? (Score:4, Funny)
One of the most clever uses of document.write I've seen was something like: document.write("<--") YOU NEED JAVSCRIPT FOR THIS PAGE document.write("-->")