Foro de Xeoweb Foro de Posicionamiento y Buscadores
Aprendiendo a Promocionar Páginas Web.
Xeoweb :: Sindicar
 
 FAQFAQ   BuscarBuscar   MiembrosMiembros   Grupos de UsuariosGrupos de Usuarios   RegistrarseRegistrarse 
 PerfilPerfil   Entre para ver sus mensajes privadosEntre para ver sus mensajes privados   LoginLogin 
GoogleBot

 
Publicar nuevo tema   Responder al tema    Foros de discusión -> Foro Seo
Ver tema anterior :: Ver tema siguiente  
Autor Mensaje
lasarten
Todavía uso Altavista


Registrado: 24 Sep 2004
Mensajes: 55

MensajePublicado: Vie Nov 05, 2004 5:55 pm    Asunto: GoogleBot Responder citando

"Escuche" que hay un script que te avisa cada vez que el GoogleBot pasa por tu web.

¿Alguien sabe el nombre?
_________________
Música
Volver arriba
Ver perfil de usuario Enviar mensaje privado
hoboseo
Vivo en Xeoweb


Registrado: 02 Dic 2003
Mensajes: 6257
Ubicación: Galicia - España

MensajePublicado: Vie Nov 05, 2004 6:01 pm    Asunto: Responder citando

Bienvenido al foro,

En php puedes hacer algo así,

Cita:
function robots()
{
global $HTTP_SERVER_VARS;
if ((strstr($HTTP_SERVER_VARS['HTTP_USER_AGENT'],'Googlebot') ))
{
$texto="Google bot está aquí";
mail("tuemail@tuservidor.com","Google",$texto);
}
}

_________________
Xeoweb
Volver arriba
Ver perfil de usuario Enviar mensaje privado Visitar sitio web del autor
devilsoulblack
¿Qué es SEO?


Registrado: 26 Nov 2004
Mensajes: 3
Ubicación: Ecuador

MensajePublicado: Vie Nov 26, 2004 2:48 am    Asunto: usa esto Responder citando

usa el siguiente codigo

Código:
<?PHP
/************************************************************************/
/* PHP RobotVisit v1.0                                                  */
/* ===========================                                          */
/*                                                                      */
/*   Written by Steve Dawson - http://www.stevedawson.com               */
/*   Freelance Web Developer - PHP, MySQL, HTML programming             */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* but please leave this header and email format intact, thanks         */
/************************************************************************/

## This sends you an email when the following Search Engine spiders have visited your website.
## Googlebot - [Google] - www.google.com
## Alta Vita - [Scooter] - www.altavista.com
## Teoma - [Ask Jeeves/Teoma] - www.teoma.com
## Ask - [Ask Jeeves/Teoma] - www.ask.com
## Lycos - [Lycos_Spider_(T-Rex)] - www.lycos.com
## Inktomi - [Slurp] - www.inktomi.com
## Mirago - [HenryTheMiragorobot] - www.mirago.com
## AlltheWeb - [FAST-WebCrawler] - www.alltheweb.com
global $prefix, $db;
############## START OF CONFIG SECTION #############
## Change the following to suit your needs:
$EmailAddress = "tu@email.com"; ## NOTIFICATION EMAIL ADDRESS
############## END OF CONFIG SECTION #############

## No need to change anything below.
$today = date("F j, Y, g:i a"); ## GET THE TIME OF THE ROBOT VISIT
$header = "-----------------------------------------------------------------------------
     A SEARCH ENGINE ROBOT HAS VISITED YOUR WEBSITE
-----------------------------------------------------------------------------";
$footer = "------------------------------------------------------------------------------
RobotVisit v1.0 is written by Steve Dawson
Visit: www.stevedawson.com for more FREE scripts
------------------------------------------------------------------------------";

##  GOOGLE SEARCH ENGINE   
 if(eregi("Googlebot",$HTTP_USER_AGENT)) {
 global $header;
 global $footer;
 global $today;
  if ($QUERY_STRING != "")  {$GoogleLink = "http://".$SERVER_NAME.$PHP_SELF.'?'.$QUERY_STRING;}
else  {$GoogleLink = "http://".$SERVER_NAME.$PHP_SELF;}

$GoogleEmail = "
".$header."
Hi There,
The Search Engine robot Googlebot has been detected on your website.
Googlebot has visited http://$SERVER_NAME

Googlebot has crawled the page ".$GoogleLink."
Time of visit - ".$today."

Search Engine Link: http://www.google.com
".$footer."
";
         @mail("$EmailAddress", "Google Robot Visit", $GoogleEmail, "From: <Google Robot>$EmailAddress");       
   }
##   ALTAVISTA SEARCH ENGINE
 if(eregi("Scooter",$HTTP_USER_AGENT)) {
  global $header;
 global $footer;
 global $today;
  if ($QUERY_STRING != "")  {$AVLink = "http://".$SERVER_NAME.$PHP_SELF.'?'.$QUERY_STRING;}
else  {$AVLink = "http://".$SERVER_NAME.$PHP_SELF;}
$AVEmail = "
".$header."
Hi There,
The Search Engine robot Scooter has been detected on your website.
Scooter has visited http://$SERVER_NAME

Scooter has crawled the page ".$AVLink."
Time of visit - ".$today."

Search Engine Link: http://www.altavista.com
".$footer."
";
         @mail("$EmailAddress", "AltaVista Robot Visit", $AVEmail, "From: <Alta Vista>$EmailAddress");       
  }
## ALL THE WEB SEARCH ENGINE
 if(eregi("FAST-WebCrawler",$HTTP_USER_AGENT)) {
  global $header;
 global $footer;
 global $today;
  if ($QUERY_STRING != "")  {$FASTLink = "http://".$SERVER_NAME.$PHP_SELF.'?'.$QUERY_STRING;}
else  {$FASTLink = "http://".$SERVER_NAME.$PHP_SELF;}
$FASTEmail = "
".$header."
Hi There,
The Search Engine robot FAST-WebCrawler has been detected on your website.
FAST-WebCrawler has visited http://$SERVER_NAME

FAST-WebCrawler has crawled the page ".$FASTLink."
Time of visit - ".$today."

Search Engine Link: http://www.alltheweb.com
".$footer."
";
         @mail("$EmailAddress", "AllTheWeb Robot Visit", $FASTEmail, "From: <FAST Robot>$EmailAddress");       
  }                                                      
## ASK JEEVES - TEOMA                               
 if(eregi("Ask Jeeves/Teoma",$HTTP_USER_AGENT)) {
  global $header;
 global $footer;
 global $today;
  if ($QUERY_STRING != "")  {$ASKLink = "http://".$SERVER_NAME.$PHP_SELF.'?'.$QUERY_STRING;}
else  {$ASKLink = "http://".$SERVER_NAME.$PHP_SELF;}
$ASKEmail = "
".$header."
Hi There,
The Search Engine robot Ask Jeeves/Teoma has been detected on your website.
Ask Jeeves/Teoma has visited http://$SERVER_NAME

Ask Jeeves/Teoma has crawled the page ".$ASKLink."
Time of visit - ".$today."

Search Engine Link: http://www.ask.com & http://www.teoma.com
".$footer."
";
         @mail("$EmailAddress", "Ask Jeeves-Teoma Robot Visit", $ASKEmail, "From: <ASK/Teoma Robot>$EmailAddress");       
  }
 ##  INKTOMI DIRECTORY
  if(eregi("Slurp",$HTTP_USER_AGENT)) {
   global $header;
 global $footer;
 global $today;
  if ($QUERY_STRING != "")  {$SLURPLink = "http://".$SERVER_NAME.$PHP_SELF.'?'.$QUERY_STRING;}
else  {$SLURPLink = "http://".$SERVER_NAME.$PHP_SELF;}
$SLURPEmail = "
".$header."
Hi There,
The Search Engine robot Slurp has been detected on your website.
Slurp has visited http://$SERVER_NAME

Slurp has crawled the page ".$SLURPLink."
Time of visit - ".$today."

Search Engine Link: http://www.inktomi.com
".$footer."
";
         @mail("$EmailAddress", "Inktomi Robot Visit", $SLURPEmail, "From: <Inktomi Robot>$EmailAddress");       
  }
##  MIRAGO SEARCH ENGINE
   if(eregi("HenryTheMiragorobot",$HTTP_USER_AGENT)) {
    global $header;
 global $footer;
 global $today;
  if ($QUERY_STRING != "")  {$MiragoLink = "http://".$SERVER_NAME.$PHP_SELF.'?'.$QUERY_STRING;}
else  {$MiragoLink = "http://".$SERVER_NAME.$PHP_SELF;}
$MiragoEmail = "
".$header."
Hi There,
The Search Engine robot HenryTheMiragorobot has been detected on your website.
HenryTheMiragorobot has visited http://$SERVER_NAME

HenryTheMiragorobot has crawled the page ".$MiragoLink."
Time of visit - ".$today."

Search Engine Link: http://www.mirago.com
".$footer."
";
         @mail("$EmailAddress", "Mirago Robot Visit", $MiragoEmail, "From: <Mirago Robot>$EmailAddress");       
  }
##  LYCOS SEARCH ENGINE
   if(eregi("Lycos_Spider_(T-Rex)",$HTTP_USER_AGENT)) {
    global $header;
 global $footer;
 global $today;
  if ($QUERY_STRING != "")  {$LycosLink = "http://".$SERVER_NAME.$PHP_SELF.'?'.$QUERY_STRING;}
else  {$LycosLink = "http://".$SERVER_NAME.$PHP_SELF;}
$LycosEmail = "
".$header."
Hi There,
The Search Engine robot Lycos_Spider_(T-Rex) has been detected on your website.
Lycos_Spider_(T-Rex) has visited http://$SERVER_NAME

Lycos_Spider_(T-Rex) has crawled the page ".$LycosLink."
Time of visit - ".$today."

Search Engine Link: http://www.lycos.com
".$footer."
";
         @mail("$EmailAddress", "Lycos Robot Visit", $LycosEmail, "From: <Lycos Robot>$EmailAddress");       
  }
## For more free scripts visit - www.stevedawson.com
?>


lo haces por medio de un include Smile
Volver arriba
Ver perfil de usuario Enviar mensaje privado Enviar email Visitar sitio web del autor Yahoo Messenger MSN Messenger
Mostrar mensajes de anteriores:   
Publicar nuevo tema   Responder al tema    Foros de discusión -> Foro Seo Todas las horas son GMT
Respuesta Rápida y Acciones
 

 

Página 1 de 1


Cambiar a:  
Puede publicar nuevos temas en este foro
No puede responder a temas en este foro
No puede editar sus mensajes en este foro
No puede borrar sus mensajes en este foro
No puede votar en encuestas en este foro

 


Logo diseñado por iLevante
Powered by phpBB © 2001, 2009 phpBB Group