homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Google / Google SEO News and Discussion
Forum Library, Charter, Moderators: Robert Charlton & aakk9999 & brotherhood of lan & goodroi

Google SEO News and Discussion Forum

Will this piece of Javascript guarantee a freshtag?

 12:34 pm on Feb 25, 2005 (gmt 0)

It displays the date within a html page:

<script language="JavaScript">

var d = new Date()

document.write(d.getMonth() + 1)








 3:23 pm on Feb 25, 2005 (gmt 0)

I'm afraid not. A JavaScript enabled browser will add the date to the pahe after the content has been served; Googlebot will just be served the JavaScript and not the date.

To give Googlebot different content each day you need something server side, e.g. SSI/PHP/ASP/etc.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Google / Google SEO News and Discussion
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved