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.
|
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... |
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" yourmailyourmail.com
to the end of the command string above.
|
Thanks, the grep has been added to the front-page. http://blogoscoped.com |
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... |
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. :) |
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) |
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. |
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 |
Thanks for the info. You are right. Blogspot doesn't support PHP.
Thanks.
DRC |