Forum Moderators: open
Technically, you could use a simple document.write JavaScript. Write a script with a txt editor and save it as "script_1.js" in a "js" folder at root level of your site. It would look like this :
<!-- hide from older browser
document.write("How are you my friend?")
//-->
Then, you could call this script from where you want it to be executed on page.
<script type="text/javascript" language="JavaScript" src="js/script_1.js"></script>
You could repeat this operation for every string of text you need on your pages.
You can have 2 potential problems with this technique :
1- Visitors who disabled JavaScript on their browsers wont see the added text (8% of them, and rising).
2- A competitor could snitch you. Avoid it in highly competive environnement.
You can have better results with cloaking. Please visit the cloaking forum [webmasterworld.com] for more info. The best discussions are kept in it's library [webmasterworld.com].
Enjoy!
that is funny. usually poeple rather want to hide content from humans but want to show it to spiders in order to optimise for their keywords without producing some quality text about it.
i got your point about keyword-density though - from my experience kw-density has not that huge importance for a good ranking (esp. in google) but it's known that pages with too much source-code generally tend to rank worse.
i personally wouldn't go for the javascript solution, as you heard you will loose a couple of % of your audience plus the report problem plus we don't know exactly if or when robots will interpret js.
what about offering a normal page with very short text and putting a "more..." link under each paragraph leading to another page. you keep your first page small and poeple who want to read more will follow the links.
websites with many small and quality content pages usually get better rankings and more traffic.
p.s.: cloaking is something - i would personally keep my hands off in order to sleep better. :)