Google Blogoscoped

Forum

Googlebot Alert

Richard@Home [PersonRank 1]

Wednesday, June 23, 2004
20 years ago

I advise not putting that code in your common page header/footer as you'll get a flood of emails as google spiders your site.

Philipp Lenssen [PersonRank 10]

20 years ago #

Yes, I think you should only put it on 1 or 2 central pages. I put it on my Google News page at http://blogoscoped.com/news.php just now and will see how that works. If you put it in a template that might be a bad idea...

Justin Flavin [PersonRank 10]

20 years ago #


grep "$(date +"%b %d")" access.log | grep "Googlebot" | wc -l

will show you how many times Googlebot has visited your site today.

you could put the open in a script that runs once a day – just add
   | mail -s "Number of googlebot visits" yourmail[put at-character here]yourmail.com

to the end of the command string above.

Philipp Lenssen [PersonRank 10]

20 years ago #

Thanks, the grep has been added to the front-page. http://blogoscoped.com

Julien Couvreur (Dumky) [PersonRank 0]

20 years ago #

Doesn't Google refresh its cache on a more frequent basis than it indexes it?
For me the cache is updated very frequently (maybe every day) and the index is only updated twice a month...

pk_synths [PersonRank 2]

20 years ago #

I dont think "index" is the best explaination and can lead to alot of confusion. Just because Google visits the page doesn't mean it will index it. Maybe "visited" or "crawled" would be a better description.

I think I'm just being picky. :)

Raqueeb Hassan [PersonRank 1]

20 years ago #

Thanks for the suggestion. Did you guys try that php code inside any html page hosted in blogspot.com?

Will that work? How do I embed php inside a html page?

Thanks.

Congo (DRC)

Philipp Lenssen [PersonRank 10]

20 years ago #

Raqueeb, Blogger.com/ Blogspot won't allow you to use any PHP code. PHP can deliver HTML pages, but HTML pages cannot understand PHP – the server must be configured to understand PHP, and Blogspot's server is not AFAIK. You need to find another host if you want those Googlebot alerts.

Juan [PersonRank 0]

20 years ago #

Hello,

I read that Google bot now uses IP range IP del tipo 64.68.82.*

and not the name Googlebot to ifdentify.

If this is true, how to ad IP del tipo 64.68.82.* to the script?

I would like to know how to edit it to add other user-agents

Also, the grep code goes just before the closcing tag?

Thanks

Raqueeb Hassan [PersonRank 1]

20 years ago #

Thanks for the info. You are right. Blogspot doesn't support PHP.

Thanks.

DRC

Forum home

Advertisement

 
Blog  |  Forum     more >> Archive | Feed | Google's blogs | About
Advertisement

 

This site unofficially covers Google™ and more with some rights reserved. Join our forum!