Index: what_would_seth_godin_do.php =================================================================== --- what_would_seth_godin_do.php (revision 42) +++ what_would_seth_godin_do.php (working copy) @@ -120,11 +120,16 @@ } } +//Skip Google bot - do not offer Google opportunity to sign to Your feed ;) +function skip_this_user_agent() { + return 0 != preg_match( "/Googlebot/", $_SERVER['HTTP_USER_AGENT'] ); +} + function wwsgd_message_filter($content = '') { global $wwsgd_visits, $wwsgd_settings, $wwsgd_messagedisplayed; - if ($wwsgd_messagedisplayed || is_feed()) + if ($wwsgd_messagedisplayed || is_feed() || skip_this_user_agent() ) { return $content; }